check_setup input/output delays not required on constant ports
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
2cfbeb4672
commit
5acc5db9e2
|
|
@ -31,6 +31,7 @@
|
|||
#include "Search.hh"
|
||||
#include "Genclks.hh"
|
||||
#include "PathVertex.hh"
|
||||
#include "Sim.hh"
|
||||
|
||||
namespace sta {
|
||||
|
||||
|
|
@ -101,7 +102,8 @@ CheckTiming::checkNoInputDelay()
|
|||
if (!sdc_->isClock(pin)) {
|
||||
PortDirection *dir = network_->direction(pin);
|
||||
if (dir->isAnyInput()
|
||||
&& !sdc_->hasInputDelay(pin))
|
||||
&& !sdc_->hasInputDelay(pin)
|
||||
&& !sim_->logicZeroOne(pin))
|
||||
no_arrival.insert(pin);
|
||||
}
|
||||
}
|
||||
|
|
@ -128,7 +130,8 @@ CheckTiming::checkNoOutputDelay(PinSet &no_departure)
|
|||
const Pin *pin = pin_iter->next();
|
||||
PortDirection *dir = network_->direction(pin);
|
||||
if (dir->isAnyOutput()
|
||||
&& !sdc_->hasOutputDelay(pin))
|
||||
&& !sdc_->hasOutputDelay(pin)
|
||||
&& !sim_->logicZeroOne(pin))
|
||||
no_departure.insert(pin);
|
||||
}
|
||||
delete pin_iter;
|
||||
|
|
|
|||
Loading…
Reference in New Issue