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

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