hp-saturn/opcodes/8[45]n_ST_EQ_[01]_n.v

22 lines
436 B
Coq
Raw Normal View History

2019-02-07 22:54:06 +01:00
/******************************************************************************
* 84n ST=0 n
* 85n ST=1 n
*/
`include "decstates.v"
`DEC_ST_EQ_0_N: begin
ST[nibble] <= 0;
decstate <= `DEC_START;
`ifdef SIM
2019-02-08 11:15:16 +01:00
$display("%05h ST=0\t%h", inst_start_PC, nibble);
`endif
end
`DEC_ST_EQ_1_N: begin
ST[nibble] <= 1;
decstate <= `DEC_START;
`ifdef SIM
2019-02-08 11:15:16 +01:00
$display("%05h ST=1\t%h", inst_start_PC, nibble);
`endif
end