diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/arch/common/dynamic_part_select/reversed.v | 2 |
1 files changed, 1 insertions, 1 deletions
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 |