mirror of
https://github.com/sxpert/hp-saturn
synced 2024-12-24 21:59:33 +01:00
add nice message for rom on CONFIGURE command
This commit is contained in:
parent
175c1a48d0
commit
e9e7a6a5f0
1 changed files with 5 additions and 4 deletions
|
@ -164,10 +164,11 @@ always @(posedge i_clk) begin
|
|||
`ifdef SIM
|
||||
$write("ROM-GX-R %0d: [%d] ", i_phase, i_cycle_ctr);
|
||||
case (last_cmd)
|
||||
`BUSCMD_PC_READ: $write("PC_READ <= rom[%5h]: %h", local_pc, imm_nibble);
|
||||
`BUSCMD_DP_READ: $write("DP_READ <= rom[%5h]: %h", local_dp, imm_nibble);
|
||||
`BUSCMD_LOAD_PC: $write("LOAD_PC - pc %5h, %h pos %0d", local_pc, i_bus_nibble_in, addr_pos_ctr);
|
||||
`BUSCMD_LOAD_DP: $write("LOAD_DP - dp %5h, %h pos %0d", local_dp, i_bus_nibble_in, addr_pos_ctr);
|
||||
`BUSCMD_PC_READ: $write("PC_READ <= rom[%5h]: %h", local_pc, imm_nibble);
|
||||
`BUSCMD_DP_READ: $write("DP_READ <= rom[%5h]: %h", local_dp, imm_nibble);
|
||||
`BUSCMD_LOAD_PC: $write("LOAD_PC - pc %5h, %h pos %0d", local_pc, i_bus_nibble_in, addr_pos_ctr);
|
||||
`BUSCMD_LOAD_DP: $write("LOAD_DP - dp %5h, %h pos %0d", local_dp, i_bus_nibble_in, addr_pos_ctr);
|
||||
`BUSCMD_CONFIGURE: $write("CONFIGURE - rom is not configurable");
|
||||
default: $write("last_command %h nibble %h - UNHANDLED", last_cmd, i_bus_nibble_in);
|
||||
endcase
|
||||
if (addr_pos_ctr == 4) begin
|
||||
|
|
Loading…
Reference in a new issue