synth_achronix: remove classic ABC mapping

This commit is contained in:
Lofty 2026-08-10 12:06:08 +01:00
parent 63fbb31921
commit 873bed6300
1 changed files with 3 additions and 9 deletions

View File

@ -51,9 +51,6 @@ struct SynthAchronixPass : public ScriptPass {
log(" -noflatten\n");
log(" do not flatten design before synthesis\n");
log("\n");
log(" -retime\n");
log(" run 'abc' with '-dff -D 1' options\n");
log("\n");
log("\n");
log("The following commands are executed by this synthesis command:\n");
help_script();
@ -61,13 +58,12 @@ struct SynthAchronixPass : public ScriptPass {
}
string top_opt, family_opt, vout_file;
bool retime, flatten;
bool flatten;
void clear_flags() override
{
top_opt = "-auto-top";
vout_file = "";
retime = false;
flatten = true;
}
@ -100,7 +96,7 @@ struct SynthAchronixPass : public ScriptPass {
continue;
}
if (args[argidx] == "-retime") {
retime = true;
// Removed: ABC9 does not support retiming.
continue;
}
break;
@ -151,13 +147,11 @@ struct SynthAchronixPass : public ScriptPass {
run("clean -purge");
run("setundef -undriven -zero");
run("dfflegalize -cell $_DFF_P_ x");
if (retime || help_mode)
run("abc -markgroups -dff -D 1", "(only if -retime)");
}
if (check_label("map_luts"))
{
run("abc -lut 4" + string(retime ? " -dff -D 1" : ""));
run("abc9 -lut 4");
run("clean");
}