report_check_types max slew/cap/fanout with set_driving_cell min limit

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-02-10 10:04:12 -07:00
parent 6802190c15
commit 8627c6826d
3 changed files with 53 additions and 59 deletions

View File

@ -167,7 +167,6 @@ CheckCapacitanceLimits::findLimit(const Pin *pin,
} }
InputDrive *drive = sdc->findInputDrive(port); InputDrive *drive = sdc->findInputDrive(port);
if (drive) { if (drive) {
for (auto min_max : MinMax::range()) {
for (auto rf : RiseFall::range()) { for (auto rf : RiseFall::range()) {
LibertyCell *cell; LibertyCell *cell;
LibertyPort *from_port; LibertyPort *from_port;
@ -191,7 +190,6 @@ CheckCapacitanceLimits::findLimit(const Pin *pin,
} }
} }
} }
}
else { else {
Cell *cell = network->cell(network->instance(pin)); Cell *cell = network->cell(network->instance(pin));
sdc->capacitanceLimit(cell, min_max, sdc->capacitanceLimit(cell, min_max,

View File

@ -129,7 +129,6 @@ CheckFanoutLimits::findLimit(const Pin *pin,
} }
InputDrive *drive = sdc->findInputDrive(port); InputDrive *drive = sdc->findInputDrive(port);
if (drive) { if (drive) {
for (auto min_max : MinMax::range()) {
for (auto rf : RiseFall::range()) { for (auto rf : RiseFall::range()) {
LibertyCell *cell; LibertyCell *cell;
LibertyPort *from_port; LibertyPort *from_port;
@ -152,7 +151,6 @@ CheckFanoutLimits::findLimit(const Pin *pin,
} }
} }
} }
}
else { else {
Cell *cell = network->cell(network->instance(pin)); Cell *cell = network->cell(network->instance(pin));
sdc->fanoutLimit(cell, min_max, sdc->fanoutLimit(cell, min_max,

View File

@ -218,7 +218,6 @@ CheckSlewLimits::findLimit(const Pin *pin,
} }
InputDrive *drive = sdc->findInputDrive(port); InputDrive *drive = sdc->findInputDrive(port);
if (drive) { if (drive) {
for (auto min_max : MinMax::range()) {
for (auto rf : RiseFall::range()) { for (auto rf : RiseFall::range()) {
LibertyCell *cell; LibertyCell *cell;
LibertyPort *from_port; LibertyPort *from_port;
@ -242,7 +241,6 @@ CheckSlewLimits::findLimit(const Pin *pin,
} }
} }
} }
}
else { else {
LibertyPort *port = network->libertyPort(pin); LibertyPort *port = network->libertyPort(pin);
if (port) { if (port) {