fix some bugs and pass lint check
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user