aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40/abc_u.box
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-29 22:10:45 -0700
committerGitHub <noreply@github.com>2019-08-29 22:10:45 -0700
commit694e30a35426b9582a1f2db730528d4d34305795 (patch)
tree288296dac088f7b9fa27e7feebc1af6d8a7f2f70 /techlibs/ice40/abc_u.box
parent14677610602ee18bcf1a41a0c54a626965e6bb06 (diff)
parent25b1670a8425198abfcef4602a3d1ddcc0ca5d40 (diff)
downloadyosys-694e30a35426b9582a1f2db730528d4d34305795.tar.gz
yosys-694e30a35426b9582a1f2db730528d4d34305795.tar.bz2
yosys-694e30a35426b9582a1f2db730528d4d34305795.zip
Merge pull request #1337 from YosysHQ/eddie/fix_carry_wrapper
Fix $__ICE40_CARRY_WRAPPER, restore abc9 functionality
Diffstat (limited to 'techlibs/ice40/abc_u.box')
-rw-r--r--techlibs/ice40/abc_u.box8
1 files changed, 4 insertions, 4 deletions
diff --git a/techlibs/ice40/abc_u.box b/techlibs/ice40/abc_u.box
index 42d666051..f00e247b8 100644
--- a/techlibs/ice40/abc_u.box
+++ b/techlibs/ice40/abc_u.box
@@ -3,11 +3,11 @@
# NB: Inputs/Outputs must be ordered alphabetically
# (with exceptions for carry in/out)
-# Inputs: A B CI
+# Inputs: A B I0 I3 CI
# Outputs: O CO
# (NB: carry chain input/output must be last
# input/output and have been moved there
# overriding the alphabetical ordering)
-$__ICE40_FULL_ADDER 1 1 3 2
-1231 1205 874
-675 609 278
+$__ICE40_CARRY_WRAPPER 1 1 5 2
+1231 1205 1285 874 874
+675 609 - - 278