Skip to content

Commit

Permalink
abc9.cc: Call select =*
Browse files Browse the repository at this point in the history
Or rather, say we're calling `select =*`, but actually bypass the select command to avoid the warning that can pop up if there is nothing to select.
  • Loading branch information
KrystalDelusion committed Nov 26, 2024
1 parent 270c55e commit 11ee9ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions passes/techmap/abc9.cc
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,8 @@ struct Abc9Pass : public ScriptPass
}
run("design -stash $abc9");
run("design -load $abc9_map");
if (help_mode) run("select =*");
else active_design->push_complete_selection();
run("proc");
run("wbflip");
run("techmap -wb -map %$abc9 -map +/techmap.v A:abc9_flop");
Expand Down Expand Up @@ -369,6 +371,8 @@ struct Abc9Pass : public ScriptPass
if (saved_designs.count("$abc9_holes") || help_mode) {
run("design -stash $abc9");
run("design -load $abc9_holes");
if (help_mode) run("select =*");
else active_design->push_complete_selection();
run("techmap -wb -map %$abc9 -map +/techmap.v");
run("opt -purge");
run("aigmap");
Expand Down

0 comments on commit 11ee9ca

Please sign in to comment.