Fix crash in verific frontend

This commit is contained in:
Miodrag Milanovic 2020-06-26 20:11:01 +02:00
parent 3840cfc016
commit b822beb1b2
1 changed files with 2 additions and 1 deletions

View File

@ -1111,7 +1111,8 @@ void VerificImporter::import_netlist(RTLIL::Design *design, Netlist *nl, std::se
wire->start_offset = min(netbus->LeftIndex(), netbus->RightIndex());
MapIter mibus;
FOREACH_NET_OF_NETBUS(netbus, mibus, net) {
import_attributes(wire->attributes, net, nl);
if (net)
import_attributes(wire->attributes, net, nl);
break;
}