From 50581d5a94730b33e2ca1b7f7371f502ef9263c6 Mon Sep 17 00:00:00 2001 From: diego Date: Fri, 17 Apr 2020 10:15:22 -0500 Subject: [PATCH] Wrong fixed value --- tests/arch/common/dynamic_part_select/reversed.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/arch/common/dynamic_part_select/reversed.v b/tests/arch/common/dynamic_part_select/reversed.v index 6ef0e10be..5b0a77c11 100644 --- a/tests/arch/common/dynamic_part_select/reversed.v +++ b/tests/arch/common/dynamic_part_select/reversed.v @@ -7,7 +7,7 @@ module reversed #(parameter WIDTH=256, SELW=2) localparam SLICE = WIDTH/(SELW**2); always @(posedge clk) begin - dout[(1024-ctrl*sel)-:SLICE] <= din; + dout[(WIDTH-ctrl*sel)-:SLICE] <= din; end endmodule -- 2.30.2