diff options
author | whitequark <whitequark@whitequark.org> | 2018-12-05 15:26:40 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2018-12-05 16:30:37 +0000 |
commit | 45cb6200af13469724de42656f2c1f0f61c8766a (patch) | |
tree | c5dff0100358efc89b90995603b9b4365777e4bb /techlibs | |
parent | e6034840702effa2ff0c2eee0cca046b5c097e86 (diff) | |
download | yosys-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.cc | 4 |
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)"); } } |