get_ports bus[subscript_out_of_bounds]
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
c8c98c76ea
commit
f992c1c05c
|
|
@ -95,7 +95,8 @@ Network::findPortsMatching(const Cell *cell,
|
|||
else {
|
||||
// bus[0]
|
||||
Port *port_bit = findBusBit(port, from);
|
||||
matches.push_back(port_bit);
|
||||
if (port_bit != nullptr)
|
||||
matches.push_back(port_bit);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue