exception -from/to match internal pins
Signed-off-by: James Cherry <cherry@CerezoM1Book.local>
This commit is contained in:
parent
378020d2bd
commit
ab652b12cc
|
|
@ -1421,7 +1421,7 @@ ExceptionTo::matchesFilter(const Pin *pin,
|
|||
const RiseFall *end_rf,
|
||||
const Network *network) const
|
||||
{
|
||||
// "report -to reg" does match clock pins.
|
||||
// "report -to reg" matches clock pins.
|
||||
return matches(pin, clk_edge, end_rf, true, network);
|
||||
}
|
||||
|
||||
|
|
@ -1456,7 +1456,8 @@ ExceptionTo::matches(const Pin *pin,
|
|||
&& (inst_matches_reg_clk_pin
|
||||
|| !network->isRegClkPin(pin))
|
||||
&& insts_->hasKey(network->instance(pin))
|
||||
&& network->direction(pin)->isAnyInput()
|
||||
&& (network->direction(pin)->isAnyInput()
|
||||
|| network->direction(pin)->isInternal())
|
||||
&& rf_->matches(end_rf)
|
||||
&& end_rf_->matches(end_rf))
|
||||
|| (pins_ == nullptr
|
||||
|
|
|
|||
|
|
@ -3939,7 +3939,8 @@ Sdc::exceptionToInvalid(const Pin *pin)
|
|||
Net *net = network_->net(pin);
|
||||
// Floating pins are invalid.
|
||||
if ((net == nullptr
|
||||
&& !network_->isTopLevelPort(pin))
|
||||
&& !(network_->isTopLevelPort(pin)
|
||||
|| network_->direction(pin)->isInternal()))
|
||||
|| (net
|
||||
// Pins connected to power/ground are invalid.
|
||||
&& (network_->isPower(net)
|
||||
|
|
|
|||
|
|
@ -2031,7 +2031,8 @@ Sta::exceptionFromInvalid(const Pin *pin) const
|
|||
|| !((network_->isTopLevelPort(pin)
|
||||
&& network_->direction(pin)->isAnyInput())
|
||||
|| network_->isRegClkPin(pin)
|
||||
|| network_->isLatchData(pin));
|
||||
|| network_->isLatchData(pin)
|
||||
|| network_->direction(pin)->isInternal());
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in New Issue