diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-01-03 15:38:18 -0800 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-01-03 15:38:18 -0800 |
commit | 930f03e8830ed8a8023ff88207b97e757ae8496c (patch) | |
tree | 55502845f00746f00630a7e2dbddb48e7d33cf7b /passes/techmap/abc9.cc | |
parent | a819656972dd44c479422fa688874926d6239a95 (diff) | |
download | yosys-930f03e8830ed8a8023ff88207b97e757ae8496c.tar.gz yosys-930f03e8830ed8a8023ff88207b97e757ae8496c.tar.bz2 yosys-930f03e8830ed8a8023ff88207b97e757ae8496c.zip |
Call -prep_holes before aigmap; fix topo ordering
Diffstat (limited to 'passes/techmap/abc9.cc')
-rw-r--r-- | passes/techmap/abc9.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index da56f42ea..0da815870 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -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"); |