mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Preserve topo ordering from -prep_holes to write_xaiger
This commit is contained in:
parent
bb70915fb8
commit
559f3379e8
3 changed files with 80 additions and 165 deletions
|
@ -187,17 +187,13 @@ struct Abc9Pass : public ScriptPass
|
|||
{
|
||||
run("scc -set_attr abc9_scc_id {}");
|
||||
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");
|
||||
run("abc9_ops -prep_holes");
|
||||
if (dff_mode)
|
||||
run("abc9_ops -prep_dff");
|
||||
// run("opt -purge @abc9_holes");
|
||||
|
||||
run("abc9_ops -prep_holes");
|
||||
|
||||
run("select -set abc9_holes A:abc9_holes");
|
||||
run("wbflip @abc9_holes");
|
||||
|
||||
|
|
|
@ -322,6 +322,7 @@ void prep_holes(RTLIL::Module *module)
|
|||
}
|
||||
}
|
||||
|
||||
cell->attributes["\\abc9_box_order"] = box_list.size();
|
||||
box_list.emplace_back(cell);
|
||||
}
|
||||
log_assert(!box_list.empty());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue