add nice message for rom on CONFIGURE command

This commit is contained in:
Raphael Jacquot 2019-03-15 10:20:21 +01:00
parent 175c1a48d0
commit e9e7a6a5f0

View file

@ -168,6 +168,7 @@ always @(posedge i_clk) begin
`BUSCMD_DP_READ: $write("DP_READ <= rom[%5h]: %h", local_dp, 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_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_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); default: $write("last_command %h nibble %h - UNHANDLED", last_cmd, i_bus_nibble_in);
endcase endcase
if (addr_pos_ctr == 4) begin if (addr_pos_ctr == 4) begin