Skip to content

Commit 2d0c7cf

Browse files
committed
rsz: Fix typo in lib rise/fall prop lookup
Signed-off-by: Martin Povišer <[email protected]>
1 parent d1589f0 commit 2d0c7cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rsz/src/RepairDesign.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ void RepairDesign::computeSlewRCFactor()
107107
float th_low, th_high;
108108
if (rf == RiseFall::rise()) {
109109
// flip
110-
th_low = 1.0 - library->slewUpperThreshold(RiseFall::rise());
111-
th_high = 1.0 - library->slewLowerThreshold(RiseFall::rise());
110+
th_low = 1.0 - library->slewUpperThreshold(rf);
111+
th_high = 1.0 - library->slewLowerThreshold(rf);
112112
} else {
113-
th_low = library->slewLowerThreshold(RiseFall::rise());
114-
th_high = library->slewUpperThreshold(RiseFall::rise());
113+
th_low = library->slewLowerThreshold(rf);
114+
th_high = library->slewUpperThreshold(rf);
115115
}
116116
// compute crossing times assuming RC=1 where R is driving resistance and C
117117
// is load

0 commit comments

Comments
 (0)