laforest / Octavo

Verilog FPGA Parts Library. Old Octavo soft-CPU project.

Home Page:http://fpgacpu.ca/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detect no-op to raise Annul

laforest opened this issue · comments

Currently, an annulled instruction gets turned into a no-op, by convention the all-zero instruction.

We should enable the reverse mapping: if the instruction is a no-op, then raise Annul.

The detector would be a set of all-zero detectors, with the sub-signal of D == 0 used to disable writes to A/B, enforcing the "read-only" behaviour of address 0.