aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/abc9.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-03 14:59:55 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-03 14:59:55 -0800
commita819656972dd44c479422fa688874926d6239a95 (patch)
treed921a90e8175571e3f5da4f25791bd1ede3007f0 /passes/techmap/abc9.cc
parent559f3379e852f304a0255afcc37714b9d0da59d9 (diff)
downloadyosys-a819656972dd44c479422fa688874926d6239a95.tar.gz
yosys-a819656972dd44c479422fa688874926d6239a95.tar.bz2
yosys-a819656972dd44c479422fa688874926d6239a95.zip
WIP
Diffstat (limited to 'passes/techmap/abc9.cc')
-rw-r--r--passes/techmap/abc9.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc
index af37ecb5c..da56f42ea 100644
--- a/passes/techmap/abc9.cc
+++ b/passes/techmap/abc9.cc
@@ -186,15 +186,17 @@ struct Abc9Pass : public ScriptPass
void script() YS_OVERRIDE
{
run("scc -set_attr abc9_scc_id {}");
- run("abc9_ops -break_scc"/*" -prep_holes"*/);
-// run("flatten -wb @abc9_holes");
-// run("techmap @abc9_holes");
+ run("abc9_ops -break_scc");
run("aigmap");
+
run("abc9_ops -prep_holes");
+ run("select -set abc9_holes A:abc9_holes");
+ run("flatten -wb @abc9_holes");
+ run("techmap @abc9_holes");
+ run("aigmap @abc9_holes");
if (dff_mode)
run("abc9_ops -prep_dff");
-// run("opt -purge @abc9_holes");
- run("select -set abc9_holes A:abc9_holes");
+ run("opt -purge @abc9_holes");
run("wbflip @abc9_holes");
auto selected_modules = active_design->selected_modules();