mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +00:00
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());
|
wire->start_offset = min(netbus->LeftIndex(), netbus->RightIndex());
|
||||||
MapIter mibus;
|
MapIter mibus;
|
||||||
FOREACH_NET_OF_NETBUS(netbus, mibus, net) {
|
FOREACH_NET_OF_NETBUS(netbus, mibus, net) {
|
||||||
import_attributes(wire->attributes, net, nl);
|
if (net)
|
||||||
|
import_attributes(wire->attributes, net, nl);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue