From 5ce8b885a48381227603be59d9b8ac2971a9312b Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Fri, 25 Oct 2024 01:08:57 +0200 Subject: [PATCH] hsdaoh_core: correct indentation --- common/hsdaoh/hsdaoh_core.v | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/common/hsdaoh/hsdaoh_core.v b/common/hsdaoh/hsdaoh_core.v index 8bafc62..f238e81 100644 --- a/common/hsdaoh/hsdaoh_core.v +++ b/common/hsdaoh/hsdaoh_core.v @@ -41,19 +41,18 @@ always @(posedge clk_pixel) begin end else if ((cx < screen_width) && (cy < screen_height)) begin if (fifo_read_en && !fifo_empty) begin - // regular output of FIFO data - hdmi_data <= {data_in[15:0], 8'h00}; + // regular output of FIFO data + hdmi_data <= {data_in[15:0], 8'h00}; - // increment line payload counter - line_word_cnt <= line_word_cnt + 1'b1; - end else begin - // output idle counter - hdmi_data <= {idle_counter[15:8], idle_counter[7:0], 8'h00}; - - // increment idle counter - idle_counter <= idle_counter + 1'b1; - end + // increment line payload counter + line_word_cnt <= line_word_cnt + 1'b1; + end else begin + // output idle counter + hdmi_data <= {idle_counter[15:8], idle_counter[7:0], 8'h00}; + // increment idle counter + idle_counter <= idle_counter + 1'b1; + end end else line_word_cnt <= 16'h0000; @@ -81,7 +80,7 @@ always @(posedge clk_pixel) begin // start FIFO readout if (!fifo_empty) - fifo_read_en = 1'b1; + fifo_read_en = 1'b1; end if (cx == 0) begin