mirror of https://github.com/YosysHQ/yosys.git
Fix crash in verific frontend
This commit is contained in:
parent
3840cfc016
commit
b822beb1b2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue