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

@@ -59,7 +59,6 @@ module RGB_to_RAM #(
if (reset) begin
write_en <= 0;
data_write <= 0;
cnt <= 0;
fifo_data <= 0;
data_cache <= 0;
end
@@ -76,7 +75,7 @@ module RGB_to_RAM #(
SEND_R: begin
in_que <= 0;
fifo_data <= {8'b0, data_cache[3 * COLOR_DEPTH - 1:16]}
fifo_data <= {8'b0, data_cache[3 * COLOR_DEPTH - 1:16]};
nextState <= SEND_GB;
end
@@ -88,4 +87,4 @@ module RGB_to_RAM #(
end
end
endmodule
endmodule