diff --git a/saturn_hp48gx_rom.v b/saturn_hp48gx_rom.v index 84f3ad2..bc475e6 100644 --- a/saturn_hp48gx_rom.v +++ b/saturn_hp48gx_rom.v @@ -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