mirror of https://github.com/YosysHQ/yosys.git
Check for nullptr
This commit is contained in:
parent
d960feeeb0
commit
cb05fe0f70
|
@ -141,7 +141,7 @@ struct SubmodWorker
|
|||
else {
|
||||
auto sig = sigmap(wire);
|
||||
for (auto c : sig.chunks())
|
||||
if (c.wire->port_output) {
|
||||
if (c.wire && c.wire->port_output) {
|
||||
flags.is_ext_used = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue