aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40/arith_map.v
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-27 09:54:04 -0800
committerGitHub <noreply@github.com>2020-01-27 09:54:04 -0800
commitaf8281d2f5e3945a8bb93dd7c7400aafb29af3b8 (patch)
tree36afb76914bb8c2e4e03b1002aa696fd9d16768b /techlibs/ice40/arith_map.v
parent07a12ebd4ff12c8016809eacad4551246fa4b316 (diff)
parentb1787615514f84c83c27d08011427e90c9bd0f4a (diff)
downloadyosys-af8281d2f5e3945a8bb93dd7c7400aafb29af3b8.tar.gz
yosys-af8281d2f5e3945a8bb93dd7c7400aafb29af3b8.tar.bz2
yosys-af8281d2f5e3945a8bb93dd7c7400aafb29af3b8.zip
Merge pull request #1656 from YosysHQ/eddie/ice40_abc9_warnings
ice40: reduce ABC9 internal fanout warnings with a param for CI->I3
Diffstat (limited to 'techlibs/ice40/arith_map.v')
-rw-r--r--techlibs/ice40/arith_map.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/techlibs/ice40/arith_map.v b/techlibs/ice40/arith_map.v
index 00a07247b..ed4140e44 100644
--- a/techlibs/ice40/arith_map.v
+++ b/techlibs/ice40/arith_map.v
@@ -49,13 +49,14 @@ module _80_ice40_alu (A, B, CI, BI, X, Y, CO);
// A[1]: 1100 1100 1100 1100
// A[2]: 1111 0000 1111 0000
// A[3]: 1111 1111 0000 0000
- .LUT(16'b 0110_1001_1001_0110)
+ .LUT(16'b 0110_1001_1001_0110),
+ .I3_IS_CI(1'b1)
) carry (
.A(AA[i]),
.B(BB[i]),
.CI(C[i]),
.I0(1'b0),
- .I3(C[i]),
+ .I3(1'bx),
.CO(CO[i]),
.O(Y[i])
);