mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 22:27:21 -04:00
[processor_check] minor fix
This commit is contained in:
parent
03dd4dc963
commit
c3a44c7327
1 changed files with 1 additions and 1 deletions
|
@ -599,7 +599,7 @@ int main() {
|
|||
// number of traps we are expecting + expected instruction word of last illegal instruction
|
||||
uint32_t invalid_instr;
|
||||
if (neorv32_cpu_csr_read(CSR_MISA) & (1<<CSR_MISA_C)) { // C extension enabled
|
||||
tmp_a += 17;
|
||||
tmp_a += 18;
|
||||
invalid_instr = 0x08812681; // mtinst: pre-decompressed; clear bit 1 if compressed instruction
|
||||
}
|
||||
else { // C extension disabled
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue