summaryrefslogtreecommitdiff
path: root/rtl/gfx/gfx_pipes.sv
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-10 01:19:01 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-10 01:48:40 -0600
commite8fc1d013a5fa31aada5093fd9e12f4753a31b76 (patch)
tree9edf30f5ecc1ac96682b567b7267a3c327bf4025 /rtl/gfx/gfx_pipes.sv
parent40b59e4cd26b7a3a6d0ff14d8480c172ce3fa845 (diff)
rtl/gfx: replace duplicated pipes with gfx_pipes
Diffstat (limited to '')
-rw-r--r--rtl/gfx/gfx_pipes.sv3
1 files changed, 1 insertions, 2 deletions
diff --git a/rtl/gfx/gfx_pipes.sv b/rtl/gfx/gfx_pipes.sv
index 55ebd19..09b1d43 100644
--- a/rtl/gfx/gfx_pipes.sv
+++ b/rtl/gfx/gfx_pipes.sv
@@ -13,12 +13,11 @@ module gfx_pipes
assign out = pipes[DEPTH - 1];
- integer i;
always_ff @(posedge clk)
if (!stall) begin
pipes[0] <= in;
- for (i = 1; i < DEPTH; ++i)
+ for (integer i = 1; i < DEPTH; ++i)
pipes[i] <= pipes[i - 1];
end