mirror of https://github.com/YosysHQ/yosys.git
synth: fix after abc -fast removal
This commit is contained in:
parent
e05ed6b850
commit
39491e8542
|
|
@ -326,13 +326,13 @@ struct SynthPass : public ScriptPass {
|
||||||
if ((!noabc && !flowmap) || help_mode) {
|
if ((!noabc && !flowmap) || help_mode) {
|
||||||
#ifdef YOSYS_ENABLE_ABC
|
#ifdef YOSYS_ENABLE_ABC
|
||||||
if (help_mode) {
|
if (help_mode) {
|
||||||
run(abc + " -fast", " (unless -noabc, unless -lut)");
|
run(abc, " (unless -noabc, unless -lut)");
|
||||||
run(abc + " -fast -lut k", "(unless -noabc, if -lut)");
|
run(abc + " -lut k", "(unless -noabc, if -lut)");
|
||||||
} else {
|
} else {
|
||||||
if (lut)
|
if (lut)
|
||||||
run(stringf("%s -fast -lut %d", abc, lut));
|
run(stringf("%s -lut %d", abc, lut));
|
||||||
else
|
else
|
||||||
run(abc + " -fast");
|
run(abc);
|
||||||
}
|
}
|
||||||
run("opt -fast", " (unless -noabc)");
|
run("opt -fast", " (unless -noabc)");
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,8 @@ design -save gold
|
||||||
abc9 -lut 4
|
abc9 -lut 4
|
||||||
|
|
||||||
design -load gold
|
design -load gold
|
||||||
abc9 -lut 4 -fast
|
scratchpad -copy abc9.script.default.fast abc9.script
|
||||||
|
abc9 -lut 4
|
||||||
|
|
||||||
design -load gold
|
design -load gold
|
||||||
scratchpad -copy abc9.script.default.area abc9.script
|
scratchpad -copy abc9.script.default.area abc9.script
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue