3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

opt_lut: add -dlogic, to avoid disturbing logic such as carry chains.

This commit is contained in:
whitequark 2018-12-05 15:26:40 +00:00
parent e603484070
commit 45cb6200af
3 changed files with 166 additions and 20 deletions

View file

@ -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)");
}
}