3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-05 04:15:42 +00:00

abc9_ops: -break_scc -> -mark_scc using (* keep *), remove -unbreak_scc

This commit is contained in:
Eddie Hung 2020-01-13 23:42:27 -08:00
parent b678b15c6d
commit 531fddf797
2 changed files with 20 additions and 46 deletions

View file

@ -244,9 +244,9 @@ struct Abc9Pass : public ScriptPass
if (check_label("pre")) {
run("scc -set_attr abc9_scc_id {}");
if (help_mode)
run("abc9_ops -break_scc -prep_holes [-dff]", "(option for -dff)");
run("abc9_ops -mark_scc -prep_holes [-dff]", "(option for -dff)");
else
run("abc9_ops -break_scc -prep_holes" + std::string(dff_mode ? " -dff" : ""), "(option for -dff)");
run("abc9_ops -mark_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");
@ -315,9 +315,6 @@ struct Abc9Pass : public ScriptPass
active_design->selection_stack.pop_back();
}
}
if (check_label("post"))
run("abc9_ops -unbreak_scc");
}
} Abc9Pass;