From e8fc1d013a5fa31aada5093fd9e12f4753a31b76 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Fri, 10 Nov 2023 01:19:01 -0600 Subject: rtl/gfx: replace duplicated pipes with gfx_pipes --- rtl/gfx/gfx_pipes.sv | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'rtl/gfx/gfx_pipes.sv') 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 -- cgit v1.2.3