update debugger

This commit is contained in:
Raphael Jacquot 2019-03-04 19:15:44 +01:00
parent 6964b72df1
commit f502451548

View file

@ -534,27 +534,7 @@ always @(posedge i_clk) begin
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