mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
Raise an illegal instruction exception for ecall/scall instructions.
Those instructions are no yet supported by the (exception) controller and have been ignored until now. By causing an exception, they can at least be handled in software if needed in the future.
This commit is contained in:
parent
286b82146c
commit
b99a8b90ba
1 changed files with 1 additions and 0 deletions
|
@ -513,6 +513,7 @@ module riscv_decoder
|
|||
begin
|
||||
// environment (system) call
|
||||
// TODO: Handle in controller
|
||||
illegal_insn_o = 1'b1;
|
||||
end
|
||||
|
||||
32'h00_10_00_73: // ebreak
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue