From a1135fc271f503bdc85508211c12201a38c646b8 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Fri, 27 Oct 2023 05:02:31 -0600 Subject: rtl/gfx: fix linear combiner --- rtl/gfx/horizontal_fold.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtl/gfx/horizontal_fold.sv') diff --git a/rtl/gfx/horizontal_fold.sv b/rtl/gfx/horizontal_fold.sv index ee56098..f244b55 100644 --- a/rtl/gfx/horizontal_fold.sv +++ b/rtl/gfx/horizontal_fold.sv @@ -44,7 +44,7 @@ module horizontal_fold genvar i; generate - for (i = 1; i < `FLOATS_PER_VEC; ++i) begin: stages + for (i = 1; i < `FP_ADD_STAGES; ++i) begin: stages always_ff @(posedge clk) if (!stall) queued[i] <= queued[i - 1]; -- cgit v1.2.3