Fixed time csr handling

This commit is contained in:
2019-06-28 20:58:02 +02:00
parent d93c2feec4
commit 7f06bba239
6 changed files with 26 additions and 5 deletions

View File

@ -103,7 +103,7 @@ void ${coreDef.name.toLowerCase()}::reset(uint64_t address) {
reg.PC=address;
reg.NEXT_PC=reg.PC;
reg.trap_state=0;
reg.machine_state=0x0;
reg.machine_state=0x3;
reg.icount=0;
}