mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
abc9: only do +/abc9_map if `DFF
This commit is contained in:
parent
2946bb60e9
commit
57c478c537
2 changed files with 6 additions and 1 deletions
|
@ -330,7 +330,10 @@ struct Abc9Pass : public ScriptPass
|
|||
run("design -stash $abc9_map");
|
||||
run("design -load $abc9");
|
||||
run("design -delete $abc9");
|
||||
run("techmap -wb -max_iter 1 -map %$abc9_map -map +/abc9_map.v");
|
||||
if (help_mode)
|
||||
run("techmap -wb -max_iter 1 -map %$abc9_map -map +/abc9_map.v [-D DFF]", "(option if -dff)");
|
||||
else
|
||||
run(stringf("techmap -wb -max_iter 1 -map %$abc9_map -map +/abc9_map.v %s", dff_mode ? "-D DFF" : ""));
|
||||
run("design -delete $abc9_map");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue