raster/ram_fifo: correct misspelling

This commit is contained in:
Peter McGoron 2022-12-17 09:56:57 -05:00
parent f536a41784
commit 3612148ee1
1 changed files with 2 additions and 2 deletions

View File

@ -43,9 +43,9 @@ reg [FIFO_DEPTH_WID-1:0] write_ptr = 0;
always @ (posedge WCLK) begin always @ (posedge WCLK) begin
if (rst) begin if (rst) begin
write_ptr <= 0; write_ptr <= 0;
if (write_enable) begin end else if (write_enable) begin
memory[write_ptr] <= write_dat; memory[write_ptr] <= write_dat;
wite_dat <= writr_dat + 1; write_ptr <= write_ptr + 1;
end end
end end