3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-03-19 03:23:12 +00:00

synth: fix after abc -fast removal

This commit is contained in:
Lofty 2026-03-18 16:56:08 +00:00 committed by Miodrag Milanovic
parent bccfdef05d
commit c4cc53a72e
2 changed files with 6 additions and 5 deletions

View file

@ -326,13 +326,13 @@ struct SynthPass : public ScriptPass {
if ((!noabc && !flowmap) || help_mode) {
#ifdef YOSYS_ENABLE_ABC
if (help_mode) {
run(abc + " -fast", " (unless -noabc, unless -lut)");
run(abc + " -fast -lut k", "(unless -noabc, if -lut)");
run(abc, " (unless -noabc, unless -lut)");
run(abc + " -lut k", "(unless -noabc, if -lut)");
} else {
if (lut)
run(stringf("%s -fast -lut %d", abc, lut));
run(stringf("%s -lut %d", abc, lut));
else
run(abc + " -fast");
run(abc);
}
run("opt -fast", " (unless -noabc)");
#endif

View file

@ -17,7 +17,8 @@ design -save gold
abc9 -lut 4
design -load gold
abc9 -lut 4 -fast
scratchpad -copy abc9.script.default.fast abc9.script
abc9 -lut 4
design -load gold
scratchpad -copy abc9.script.default.area abc9.script