respect noblackbox attribute in verific

This commit is contained in:
Miodrag Milanovic 2022-12-15 08:17:53 +01:00
parent 5d893c4b03
commit b867dee241
1 changed files with 6 additions and 0 deletions

View File

@ -1125,6 +1125,12 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::ma
NetBus *netbus;
Instance *inst;
PortRef *pr;
Att *attr;
FOREACH_ATTRIBUTE(nl, mi, attr) {
if (!strcmp(attr->Key(), "noblackbox"))
module->set_bool_attribute(ID::blackbox, false);
}
FOREACH_PORT_OF_NETLIST(nl, mi, port)
{