From c4cc53a72e4967868ec801fd07022414585b221f Mon Sep 17 00:00:00 2001 From: Lofty Date: Wed, 18 Mar 2026 16:56:08 +0000 Subject: [PATCH] synth: fix after abc -fast removal --- techlibs/common/synth.cc | 8 ++++---- tests/techmap/abc9.ys | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/techlibs/common/synth.cc b/techlibs/common/synth.cc index 0dbb7cbec..0623bf43d 100644 --- a/techlibs/common/synth.cc +++ b/techlibs/common/synth.cc @@ -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 diff --git a/tests/techmap/abc9.ys b/tests/techmap/abc9.ys index 2140dde26..c7a97ec4f 100644 --- a/tests/techmap/abc9.ys +++ b/tests/techmap/abc9.ys @@ -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