select: do not select inside blackboxes

This commit is contained in:
Eddie Hung 2020-04-16 12:23:34 -07:00
parent 8d3f6d0d79
commit 47c8ee7fe4
1 changed files with 3 additions and 0 deletions

View File

@ -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)))