aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2018-12-05 15:26:40 +0000
committerwhitequark <whitequark@whitequark.org>2018-12-05 16:30:37 +0000
commit45cb6200af13469724de42656f2c1f0f61c8766a (patch)
treec5dff0100358efc89b90995603b9b4365777e4bb /techlibs
parente6034840702effa2ff0c2eee0cca046b5c097e86 (diff)
downloadyosys-45cb6200af13469724de42656f2c1f0f61c8766a.tar.gz
yosys-45cb6200af13469724de42656f2c1f0f61c8766a.tar.bz2
yosys-45cb6200af13469724de42656f2c1f0f61c8766a.zip
opt_lut: add -dlogic, to avoid disturbing logic such as carry chains.
Diffstat (limited to 'techlibs')
-rw-r--r--techlibs/ice40/synth_ice40.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc
index 7094db50d..cc4627cd3 100644
--- a/techlibs/ice40/synth_ice40.cc
+++ b/techlibs/ice40/synth_ice40.cc
@@ -268,8 +268,8 @@ struct SynthIce40Pass : public ScriptPass
run("abc -lut 4");
run("clean");
if (relut || help_mode) {
- run("ice40_unlut", "(only if -relut)");
- run("opt_lut", " (only if -relut)");
+ run("ice40_unlut", " (only if -relut)");
+ run("opt_lut -dlogic SB_CARRY:I0=1:I1=2:CI=3", "(only if -relut)");
}
}