aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40/abc_lp.box
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-07-16 08:52:14 -0700
committerGitHub <noreply@github.com>2019-07-16 08:52:14 -0700
commitba8ccbdea88fe432187e2481a8525cc1c53b4cf4 (patch)
treece3c29d03229cfb18392f2ddc835ce66056aeee4 /techlibs/ice40/abc_lp.box
parenta1a04ea79c4d006baa7204ba5ca77870f45aa633 (diff)
parent5fb27c071bb072644dbb38cf8a516628c2afe15b (diff)
downloadyosys-ba8ccbdea88fe432187e2481a8525cc1c53b4cf4.tar.gz
yosys-ba8ccbdea88fe432187e2481a8525cc1c53b4cf4.tar.bz2
yosys-ba8ccbdea88fe432187e2481a8525cc1c53b4cf4.zip
Merge pull request #1186 from YosysHQ/eddie/abc9_ice40_fix
abc9/ice40: encapsulate SB_CARRY+SB_LUT4 into one box
Diffstat (limited to 'techlibs/ice40/abc_lp.box')
-rw-r--r--techlibs/ice40/abc_lp.box12
1 files changed, 4 insertions, 8 deletions
diff --git a/techlibs/ice40/abc_lp.box b/techlibs/ice40/abc_lp.box
index fbe4c56e6..d73b6d649 100644
--- a/techlibs/ice40/abc_lp.box
+++ b/techlibs/ice40/abc_lp.box
@@ -3,15 +3,11 @@
# NB: Inputs/Outputs must be ordered alphabetically
# (with exceptions for carry in/out)
-# Inputs: CI I0 I1
-# Outputs: CO
+# Inputs: A B CI
+# Outputs: O CO
# (NB: carry chain input/output must be last
# input/output and have been moved there
# overriding the alphabetical ordering)
-SB_CARRY 1 1 3 1
+$__ICE40_FULL_ADDER 1 1 3 2
+589 558 465
675 609 186
-
-# Inputs: I0 I1 I2 I3
-# Outputs: O
-SB_LUT4 2 1 4 1
-661 589 558 465