riscv / riscv-fast-interrupt

Proposal for a RISC-V Core-Local Interrupt Controller (CLIC)
https://jira.riscv.org/browse/RVG-63
Creative Commons Attribution 4.0 International
245 stars 49 forks source link

fix exception_handler pseudocode #354

Closed dansmathers closed 1 year ago

dansmathers commented 1 year ago

For issue #347, add XLEN/8 forced alignment and fix missing brace in pseudo-code

kasanovic commented 1 year ago

For clarity Sail pseudo-code should calculate masked epc once in inhv then clause, then use this value for both validity check and instruction fetch.

dansmathers commented 1 year ago

closing. attempting a better pseudo-code fix with pull #363