laforest / Octavo

Verilog FPGA Parts Library. Old Octavo soft-CPU project.
http://fpgacpu.ca/
Other
73 stars 14 forks source link

Detect no-op to raise Annul #47

Closed laforest closed 5 years ago

laforest commented 10 years ago

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.