3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Call -prep_holes before aigmap; fix topo ordering

This commit is contained in:
Eddie Hung 2020-01-03 15:38:18 -08:00
parent a819656972
commit 930f03e883
3 changed files with 18 additions and 53 deletions

View file

@ -186,14 +186,11 @@ struct Abc9Pass : public ScriptPass
void script() YS_OVERRIDE
{
run("scc -set_attr abc9_scc_id {}");
run("abc9_ops -break_scc");
run("aigmap");
run("abc9_ops -prep_holes");
run("abc9_ops -break_scc -prep_holes");
run("select -set abc9_holes A:abc9_holes");
run("flatten -wb @abc9_holes");
run("techmap @abc9_holes");
run("aigmap @abc9_holes");
run("aigmap");
if (dff_mode)
run("abc9_ops -prep_dff");
run("opt -purge @abc9_holes");