mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-31 16:33:19 +00:00
abc9_ops: cleanup; -prep_dff -> -prep_dff_submod
This commit is contained in:
parent
7cd3f4a79b
commit
8b5fb99245
2 changed files with 14 additions and 22 deletions
|
@ -298,9 +298,9 @@ struct Abc9Pass : public ScriptPass
|
|||
run("opt");
|
||||
if (dff_mode) {
|
||||
if (!help_mode)
|
||||
active_design->scratchpad_unset("abc9_ops.prep_dff_map.did_something");
|
||||
run("abc9_ops -prep_dff_map", "(only if -dff)"); // rewrite specify
|
||||
bool did_something = help_mode || active_design->scratchpad_get_bool("abc9_ops.prep_dff_map.did_something");
|
||||
active_design->scratchpad_unset("abc9_ops.prep_dff_submod.did_something");
|
||||
run("abc9_ops -prep_dff_submod", "(only if -dff)"); // rewrite specify
|
||||
bool did_something = help_mode || active_design->scratchpad_get_bool("abc9_ops.prep_dff_submod.did_something");
|
||||
if (did_something) {
|
||||
// select all $_DFF_[NP]_
|
||||
// then select all its fanins
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue