mirror of
https://github.com/sxpert/hp-saturn
synced 2024-12-24 21:59:33 +01:00
update debugger
This commit is contained in:
parent
6964b72df1
commit
f502451548
1 changed files with 0 additions and 20 deletions
|
@ -533,28 +533,8 @@ always @(posedge i_clk) begin
|
|||
o_debug_cycle <= 1'b0;
|
||||
end
|
||||
end
|
||||
|
||||
/* not in debug mode, output the phase */
|
||||
// if (i_clk_en && !o_debug_cycle) begin
|
||||
// o_char_send <= ~o_char_send;
|
||||
// case (i_phase)
|
||||
// 2'd0: o_char_to_send <= "0";
|
||||
// 2'd1: o_char_to_send <= "1";
|
||||
// 2'd2: o_char_to_send <= "2";
|
||||
// 2'd3: o_char_to_send <= "3";
|
||||
// endcase
|
||||
// o_char_valid <= 1'b1;
|
||||
// end
|
||||
|
||||
if (i_bus_read_valid) begin
|
||||
// $write("#### %c ####", hex[i_bus_nibble_in]);
|
||||
o_char_send <= ~o_char_send;
|
||||
o_char_to_send <= hex[i_bus_nibble_in];
|
||||
o_char_valid <= 1'b1;
|
||||
end
|
||||
|
||||
/* clear the char clock enable */
|
||||
// if (write_out && o_char_valid && i_serial_busy) begin
|
||||
if (o_char_valid) begin
|
||||
o_char_valid <= 1'b0;
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue