mirror of https://github.com/YosysHQ/yosys.git
select: do not select inside blackboxes
This commit is contained in:
parent
8d3f6d0d79
commit
47c8ee7fe4
|
@ -809,6 +809,9 @@ static void select_stmt(RTLIL::Design *design, std::string arg, bool disable_emp
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mod->get_blackbox_attribute())
|
||||||
|
continue;
|
||||||
|
|
||||||
if (arg_memb.compare(0, 2, "w:") == 0) {
|
if (arg_memb.compare(0, 2, "w:") == 0) {
|
||||||
for (auto wire : mod->wires())
|
for (auto wire : mod->wires())
|
||||||
if (match_ids(wire->name, arg_memb.substr(2)))
|
if (match_ids(wire->name, arg_memb.substr(2)))
|
||||||
|
|
Loading…
Reference in New Issue