KestrelComputer / polaris

RISC-V RV64IS-compatible processor for the Kestrel-3
Mozilla Public License 2.0
21 stars 9 forks source link

Missing bus error signals on I port #24

Open sam-falvo opened 7 years ago

sam-falvo commented 7 years ago

If any error happens when fetching an instruction, we must preserve PC, not IA, in the mepc register. We take the trap only if no IRQ is pending. If another trap is pending from the execute stage, give it priority, since it came earlier in the program.