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:
Sven Stucki 2015-11-02 13:35:48 +01:00
parent 286b82146c
commit b99a8b90ba

View file

@ -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