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:
parent
e603484070
commit
45cb6200af
3 changed files with 166 additions and 20 deletions
|
@ -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)");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue