debug cleanups from synthesis
This commit is contained in:
parent
093c51e625
commit
57bff22430
@ -173,7 +173,7 @@ module ide_disk(clk, reset,
|
||||
always @(ide_state or ide_write_req or ide_read_req or
|
||||
lba or offset or wc or start or
|
||||
ata_done or ata_out or
|
||||
buffer_in)
|
||||
buffer_in or buffer_in_hold)
|
||||
begin
|
||||
ide_state_next = ide_state;
|
||||
|
||||
|
||||
10
rtl/pdp8.v
10
rtl/pdp8.v
@ -594,7 +594,10 @@ module pdp8(clk, reset, initial_pc, pc_out, ac_out,
|
||||
|
||||
3'b101: // SINT
|
||||
begin
|
||||
$display("SINT: UI %b, state %b", UI, state);
|
||||
`ifdef debug
|
||||
$display("SINT: UI %b, state %b",
|
||||
UI, state);
|
||||
`endif
|
||||
if (UI)
|
||||
interrupt_skip = 1;
|
||||
end
|
||||
@ -802,7 +805,10 @@ $display("user iot: set UI");
|
||||
|
||||
3'b101: // SINT
|
||||
begin
|
||||
$display("SINT: UI %b, state %b", UI, state);
|
||||
`ifdef debug
|
||||
$display("SINT: UI %b, state %b",
|
||||
UI, state);
|
||||
`endif
|
||||
// if (UI)
|
||||
// interrupt_skip = 1;
|
||||
end
|
||||
|
||||
@ -131,12 +131,12 @@ module pdp8_io(clk, brgclk, reset, iot, state, mb,
|
||||
rf_io_selected ? rf_io_data_avail :
|
||||
1'b0;
|
||||
|
||||
//`ifdef debug_ints
|
||||
`ifdef debug
|
||||
always @(*)
|
||||
if (io_interrupt)
|
||||
$display("io: io_interrupt: %b %b %b",
|
||||
kw_io_interrupt, tt_io_interrupt, rf_io_interrupt);
|
||||
//`endif
|
||||
`endif
|
||||
|
||||
assign io_interrupt = kw_io_interrupt |
|
||||
tt_io_interrupt |
|
||||
|
||||
@ -1117,7 +1117,9 @@ module pdp8_rf(clk, reset, iot, state, mb,
|
||||
else
|
||||
if (set_buffer_addr)
|
||||
begin
|
||||
`ifdef debug
|
||||
$display("set-buffer-addr; clean, disk-addr %o, %t", disk_addr[19:8], $time);
|
||||
`endif
|
||||
buffer_dirty <= 1'b0;
|
||||
buffer_disk_addr[19:8] <= disk_addr[19:8];
|
||||
end
|
||||
|
||||
@ -124,7 +124,7 @@ module pdp8_tt(clk, brgclk, reset,
|
||||
|
||||
// combinatorial
|
||||
always @(state or iot or io_select or mb or
|
||||
rx_int or tx_int or io_data_in or rx_data)
|
||||
rx_int or tx_int or tx_busy or io_data_in or rx_data)
|
||||
begin
|
||||
// sampled during f1
|
||||
io_skip = 1'b0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user