projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90382a0
)
Use Pass::call_on_module() as per @cliffordwolf comments
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 2 Jul 2019 15:20:37 +0000
(08:20 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 2 Jul 2019 15:20:37 +0000
(08:20 -0700)
kernel/yosys.cc
patch
|
blob
|
history
diff --git
a/kernel/yosys.cc
b/kernel/yosys.cc
index 456ad48a066032e505edc81af06fe2e1160db772..f95c0127b8ca5d0589c57a08929e6aa38fddaa81 100644
(file)
--- a/
kernel/yosys.cc
+++ b/
kernel/yosys.cc
@@
-1299,7
+1299,7
@@
struct ScriptCmdPass : public Pass {
if (!c.second.is_fully_const())
log_error("RHS of selected wire %s.%s is not constant.\n", log_id(mod), log_id(w));
auto v = c.second.as_const();
- Pass::call
(design
, v.decode_string());
+ Pass::call
_on_module(design, mod
, v.decode_string());
}
}
else if (args.size() < 2)