aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40
diff options
context:
space:
mode:
authorMarcelina Koƛcielnicka <mwk@0x04.net>2021-07-10 20:46:48 +0200
committerMarcelina Koƛcielnicka <mwk@0x04.net>2021-07-10 21:30:01 +0200
commit726fabd65e51c7a15a2a2dc24d3b99426ef43ad2 (patch)
treeb6e906608b5c2811df550b3c0fa906085c2b10d7 /techlibs/ice40
parent7a5ac909858c22f2daf2f7ca63869c554dc3b9b5 (diff)
downloadyosys-726fabd65e51c7a15a2a2dc24d3b99426ef43ad2.tar.gz
yosys-726fabd65e51c7a15a2a2dc24d3b99426ef43ad2.tar.bz2
yosys-726fabd65e51c7a15a2a2dc24d3b99426ef43ad2.zip
ice40: Fix LUT input indices in opt_lut -dlogic (again).
Fixes #2061.
Diffstat (limited to 'techlibs/ice40')
-rw-r--r--techlibs/ice40/synth_ice40.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc
index 67118752d..3c84ea426 100644
--- a/techlibs/ice40/synth_ice40.cc
+++ b/techlibs/ice40/synth_ice40.cc
@@ -399,7 +399,7 @@ struct SynthIce40Pass : public ScriptPass
run("ice40_wrapcarry -unwrap");
run("techmap -map +/ice40/ff_map.v");
run("clean");
- run("opt_lut -dlogic SB_CARRY:I0=2:I1=1:CI=0");
+ run("opt_lut -dlogic SB_CARRY:I0=1:I1=2:CI=3");
}
if (check_label("map_cells"))