aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordiego <diego@symbioticeda.com>2020-04-17 10:15:22 -0500
committerdiego <diego@symbioticeda.com>2020-04-17 10:15:22 -0500
commit50581d5a94730b33e2ca1b7f7371f502ef9263c6 (patch)
treeef55dc05fe1ec9d0f0c6388e125c27428e2a2887 /tests
parent87910732f15c900cbd752158258a8af12720d277 (diff)
downloadyosys-50581d5a94730b33e2ca1b7f7371f502ef9263c6.tar.gz
yosys-50581d5a94730b33e2ca1b7f7371f502ef9263c6.tar.bz2
yosys-50581d5a94730b33e2ca1b7f7371f502ef9263c6.zip
Wrong fixed value
Diffstat (limited to 'tests')
-rw-r--r--tests/arch/common/dynamic_part_select/reversed.v2
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