aboutsummaryrefslogtreecommitdiffstats
path: root/passes
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-04-16 11:19:42 -0700
committerEddie Hung <eddie@fpgeh.com>2019-04-16 11:19:42 -0700
commita2b106135b29d1d44255f1b3b6c4173c6e1f3624 (patch)
tree75fd73f72646d0de8d78461d0d043645e7d5e921 /passes
parent8c6cf07acff290ab2132c1a7d262bf195fa85b8b (diff)
downloadyosys-a2b106135b29d1d44255f1b3b6c4173c6e1f3624.tar.gz
yosys-a2b106135b29d1d44255f1b3b6c4173c6e1f3624.tar.bz2
yosys-a2b106135b29d1d44255f1b3b6c4173c6e1f3624.zip
Do not call abc on modules with abc_box_id attr
Diffstat (limited to 'passes')
-rw-r--r--passes/techmap/abc9.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc
index caaff9256..fbf3a47ee 100644
--- a/passes/techmap/abc9.cc
+++ b/passes/techmap/abc9.cc
@@ -1405,6 +1405,9 @@ struct Abc9Pass : public Pass {
continue;
}
+ if (mod->attributes.count("\\abc_box_id"))
+ continue;
+
assign_map.set(mod);
signal_init.clear();