mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-09 20:50:51 +00:00
Fix when -dff not given
This commit is contained in:
parent
930f03e883
commit
6556a1347a
4 changed files with 56 additions and 70 deletions
|
@ -186,7 +186,10 @@ struct Abc9Pass : public ScriptPass
|
|||
void script() YS_OVERRIDE
|
||||
{
|
||||
run("scc -set_attr abc9_scc_id {}");
|
||||
run("abc9_ops -break_scc -prep_holes");
|
||||
if (help_mode)
|
||||
run("abc9_ops -break_scc -prep_holes [-dff]", "(option for -dff)");
|
||||
else
|
||||
run("abc9_ops -break_scc -prep_holes" + std::string(dff_mode ? " -dff" : ""), "(option for -dff)");
|
||||
run("select -set abc9_holes A:abc9_holes");
|
||||
run("flatten -wb @abc9_holes");
|
||||
run("techmap @abc9_holes");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue