Check for nullptr

This commit is contained in:
Eddie Hung 2019-11-27 00:51:39 -08:00
parent d960feeeb0
commit cb05fe0f70
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}