projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d3f6d0
)
select: do not select inside blackboxes
author
Eddie Hung
<eddie@fpgeh.com>
Thu, 16 Apr 2020 19:23:34 +0000
(12:23 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 16 Apr 2020 19:23:34 +0000
(12:23 -0700)
passes/cmds/select.cc
patch
|
blob
|
history
diff --git
a/passes/cmds/select.cc
b/passes/cmds/select.cc
index b64b077e4ca191633874444610e09374d71cc32a..b4f3b921a37338bfdd37bbace474f2722aacd97e 100644
(file)
--- a/
passes/cmds/select.cc
+++ b/
passes/cmds/select.cc
@@
-809,6
+809,9
@@
static void select_stmt(RTLIL::Design *design, std::string arg, bool disable_emp
continue;
}
+ if (mod->get_blackbox_attribute())
+ continue;
+
if (arg_memb.compare(0, 2, "w:") == 0) {
for (auto wire : mod->wires())
if (match_ids(wire->name, arg_memb.substr(2)))