fix some bugs and pass lint check

This commit is contained in:
2024-05-13 11:29:03 +08:00
parent d9d6f039d2
commit 6111180f7a
10 changed files with 253 additions and 32 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ module chanels_to_RGB #(
input [IN_DEPTH - 1:0] data_in [2:0], // 0:R 1:G 2:B
//
input data_que; //
input data_que, //
output reg out_en,
output reg [3 * OUT_DEPTH - 1:0] data_out
);
@@ -42,7 +42,7 @@ module chanels_to_RGB #(
end
// FIFO
assign out_en <= (data_que && !fifo_empty) ? 1 : 0;
assign out_en = (data_que && !fifo_empty) ? 1 : 0;
async_fifo #(
.DSIZE(3 * OUT_DEPTH),
@@ -64,4 +64,4 @@ module chanels_to_RGB #(
.rinc(out_en)
);
endmodule
endmodule