report_checks -max_fanout non-liberty ports
This commit is contained in:
parent
cc35414dcf
commit
eefd98482a
|
|
@ -182,15 +182,19 @@ CheckFanoutLimits::fanoutLoad(const Pin *pin) const
|
||||||
Pin *pin = pin_iter->next();
|
Pin *pin = pin_iter->next();
|
||||||
if (network->isLoad(pin)) {
|
if (network->isLoad(pin)) {
|
||||||
LibertyPort *port = network->libertyPort(pin);
|
LibertyPort *port = network->libertyPort(pin);
|
||||||
float fanout_load;
|
if (port) {
|
||||||
bool exists;
|
float fanout_load;
|
||||||
port->fanoutLoad(fanout_load, exists);
|
bool exists;
|
||||||
if (!exists) {
|
port->fanoutLoad(fanout_load, exists);
|
||||||
LibertyLibrary *lib = port->libertyLibrary();
|
if (!exists) {
|
||||||
lib->defaultFanoutLoad(fanout_load, exists);
|
LibertyLibrary *lib = port->libertyLibrary();
|
||||||
|
lib->defaultFanoutLoad(fanout_load, exists);
|
||||||
|
}
|
||||||
|
if (exists)
|
||||||
|
fanout += fanout_load;
|
||||||
}
|
}
|
||||||
if (exists)
|
else
|
||||||
fanout += fanout_load;
|
fanout += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
delete pin_iter;
|
delete pin_iter;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue