Re:Show HN: A pipelined RISC-V processor written in VHDL
by inforichland on Tuesday July 28, 2015 @09:05PM
(#9965679)
Exactly, that's how I would (hopefully will soon) implement it as well; it takes a few extra cycles but avoids extra overhead.
Basically, detect a few cases in Decode, pass the rest of the instruction down the pipeline to the commit(memory) stage, and let the commit stage detect exceptions and redirect the PC as required.