Skip to content

Commit

Permalink
Merge remote-tracking branch 'parallax/master'
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Liberty <[email protected]>
  • Loading branch information
maliberty committed Apr 4, 2024
2 parents 170c8ac + e577450 commit a7f3421
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions sdc/Sdc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3079,16 +3079,11 @@ Sdc::setNetWireCap(const Net *net,
delete pin_iter;
}
}
bool make_drvr_entry = !net_wire_cap_maps_[corner->index()].hasKey(net);
MinMaxFloatValues &values = net_wire_cap_maps_[corner->index()][net];
values.setValue(min_max, wire_cap);

// Only need to do this when there is new net_wire_cap_maps_ entry.
if (make_drvr_entry) {
for (const Pin *pin : *network_->drivers(net)) {
drvr_pin_wire_cap_maps_[corner->index()][pin] = &values;
}
}
for (const Pin *pin : *network_->drivers(net))
drvr_pin_wire_cap_maps_[corner->index()][pin] = &values;
}

bool
Expand Down

0 comments on commit a7f3421

Please sign in to comment.