Skip to content

Commit 18a0e62

Browse files
authored
Clamp max fanout in gain based buffering
Signed-off-by: Mike Inouye <[email protected]>
1 parent 32662f8 commit 18a0e62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rsz/src/RepairDesign.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ void RepairDesign::performEarlySizingRound(int& repaired_net_count)
190190
sta_->checkFanout(drvr_pin, max_, fanout, max_fanout, fanout_slack);
191191

192192
bool repaired_net = false;
193+
max_fanout = std::max(max_fanout, 0.0f);
193194

194195
if (performGainBuffering(net, drvr_pin, max_fanout)) {
195196
debugPrint(logger_,

0 commit comments

Comments
 (0)