end
wr <= 0;
rd <= 0;
+`ifdef isim
address <= 16'bxxxxxxxxxxxxxxxx; // Make it obvious if something of type has happened.
wdata <= 8'bxxxxxxxx;
+`endif
state <= `STATE_EXECUTE;
end
`STATE_EXECUTE: begin
`include "allinsns.v"
`undef EXECUTE
default:
+ begin
+ address <= {7'h78,opcode}; // Have the CPU tell you F0xx if something's gone wrong.
$stop;
+ end
endcase
state <= `STATE_WRITEBACK;
end