projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9bb335
)
Resolve FIXME on calling proc just once
author
Eddie Hung
<eddie@fpgeh.com>
Mon, 30 Sep 2019 23:37:29 +0000
(16:37 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Mon, 30 Sep 2019 23:37:29 +0000
(16:37 -0700)
passes/techmap/abc9.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/abc9.cc
b/passes/techmap/abc9.cc
index 6e424d5175341639af999e1536dbbf11659303e9..ce057566c5151f531f18c6c6e8f0922f973e3ded 100644
(file)
--- a/
passes/techmap/abc9.cc
+++ b/
passes/techmap/abc9.cc
@@
-1117,8
+1117,8
@@
struct Abc9Pass : public Pass {
auto derived_name = inst_module->derive(design, cell->parameters);
auto derived_module = design->module(derived_name);
log_assert(derived_module);
- // FIXME: call once
- Pass::call_on_module(design, derived_module, "proc");
+ if (derived_module->has_processes())
+
Pass::call_on_module(design, derived_module, "proc");
SigMap derived_sigmap(derived_module);
Wire *currQ = derived_module->wire("\\$currQ");