From: diego Date: Fri, 17 Apr 2020 15:15:22 +0000 (-0500) Subject: Wrong fixed value X-Git-Tag: working-ls180~611^2^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50581d5a94730b33e2ca1b7f7371f502ef9263c6;p=yosys.git Wrong fixed value --- 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