read_verilog pin { pin ( seg fault

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2023-08-24 15:52:28 -07:00
parent 7c0d252fc1
commit 451831edd7
1 changed files with 14 additions and 12 deletions

View File

@ -2977,6 +2977,7 @@ LibertyReader::endPorts()
{
// Capacitances default based on direction so wait until the end
// of the pin group to set them.
if (ports_) {
for (LibertyPort *port : *ports_) {
if (in_bus_ || in_bundle_) {
// Do not clobber member port capacitances by setting the capacitance
@ -2992,6 +2993,7 @@ LibertyReader::endPorts()
}
ports_ = nullptr;
port_group_ = nullptr;
}
}
void