ibex icon indicating copy to clipboard operation
ibex copied to clipboard

Is register CSR_MIE implemented ?

Open vit82 opened this issue 7 years ago • 1 comments

When accessing CSR_MIE register with the assembly code (rv32emc architecture) li t0, (0x00000001)<<11 csrrs zero, mtvec, t0 the following simulation error message is received: " Illegal instruction (core 0) at PC 0x00000090: 0x3042a073" In contrast the line csrrs zero, mtvec, t0 works well. Simulation shows the signal ibex_core.id_stage_i.illegal_csr_insn_i being high when error message occurs. Also inspection of the files ibex_cs_registers.sv and ibex_defines.sv doesn't show anything related to SCR_MIE. Is register CSR_MIE implemented in RTL?

vit82 avatar Oct 11 '19 16:10 vit82

Alright, it seems in the newer RTL version commit (master/566e73c) SCR_MIE register was added.

vit82 avatar Oct 11 '19 16:10 vit82