aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40/cells.box
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-04-17 11:10:20 -0700
committerEddie Hung <eddie@fpgeh.com>2019-04-17 11:10:20 -0700
commitc1ebe51a75ef8ce47d6b1406fa87b15bd8f97760 (patch)
tree1be2238ddc2e0ae0991df823e807a5baa820ab49 /techlibs/ice40/cells.box
parenta7632ab3326c5247b8152a53808413b259c13253 (diff)
downloadyosys-c1ebe51a75ef8ce47d6b1406fa87b15bd8f97760.tar.gz
yosys-c1ebe51a75ef8ce47d6b1406fa87b15bd8f97760.tar.bz2
yosys-c1ebe51a75ef8ce47d6b1406fa87b15bd8f97760.zip
Revert "Try using an ICE40_CARRY_LUT primitive to avoid ABC issues"
This reverts commit a7632ab3326c5247b8152a53808413b259c13253.
Diffstat (limited to 'techlibs/ice40/cells.box')
-rw-r--r--techlibs/ice40/cells.box12
1 files changed, 8 insertions, 4 deletions
diff --git a/techlibs/ice40/cells.box b/techlibs/ice40/cells.box
index 34d1f372e..d775efa78 100644
--- a/techlibs/ice40/cells.box
+++ b/techlibs/ice40/cells.box
@@ -2,8 +2,12 @@
# NB: Inputs/Outputs must be ordered alphabetically
-# Inputs: CI I1 I2
-# Outputs: CO O
-ICE40_CARRY_LUT 1 1 3 2
+# Inputs: CI I0 I1
+# Outputs: CO
+SB_CARRY 1 1 3 1
126 259 231
-316 400 379
+
+# Inputs: I0 I1 I2 I3
+# Outputs: O
+SB_LUT4 2 1 4 1
+316 379 400 449