3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 13:18:56 +00:00
This commit is contained in:
Eddie Hung 2020-01-03 13:08:52 -08:00
parent a050f9c808
commit e1f494ab1d
2 changed files with 145 additions and 27 deletions

View file

@ -185,17 +185,17 @@ struct Abc9Pass : public ScriptPass
void script() YS_OVERRIDE
{
run("abc9_ops -prep_holes");
run("select -set abc9_holes A:abc9_holes");
run("flatten -wb @abc9_holes");
run("techmap @abc9_holes");
run("scc -set_attr abc9_scc_id {}");
run("abc9_ops -break_scc");
run("abc9_ops -break_scc"/*" -prep_holes"*/);
// run("select -set abc9_holes A:abc9_holes");
// run("dump @abc9_holes");
// run("flatten -wb @abc9_holes");
// run("techmap @abc9_holes");
run("aigmap");
if (dff_mode)
run("abc9_ops -prep_dff");
run("opt -purge @abc9_holes");
run("wbflip @abc9_holes");
// run("opt -purge @abc9_holes");
// run("wbflip @abc9_holes");
auto selected_modules = active_design->selected_modules();
active_design->selection_stack.emplace_back(false);