Sta::isPropagatedClock
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
be0d78b145
commit
598842f4a7
|
|
@ -41,6 +41,7 @@ public:
|
|||
bool isClock(const Pin *pin) const;
|
||||
bool isClock(const Net *net) const;
|
||||
bool isIdealClock(const Pin *pin) const;
|
||||
bool isPropagatedClock(const Pin *pin) const;
|
||||
const ClockSet *clocks(const Pin *pin);
|
||||
const ClockSet *idealClocks(const Pin *pin);
|
||||
const PinSet *pins(const Clock *clk);
|
||||
|
|
|
|||
|
|
@ -1168,6 +1168,7 @@ public:
|
|||
bool isClock(const Pin *pin) const;
|
||||
bool isClock(const Net *net) const;
|
||||
bool isIdealClock(const Pin *pin) const;
|
||||
bool isPropagatedClock(const Pin *pin) const;
|
||||
const PinSet *pins(const Clock *clk);
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
|
|
@ -168,6 +168,13 @@ ClkNetwork::isIdealClock(const Pin *pin) const
|
|||
return pin_ideal_clks_map_.hasKey(pin);
|
||||
}
|
||||
|
||||
bool
|
||||
ClkNetwork::isPropagatedClock(const Pin *pin) const
|
||||
{
|
||||
return pin_clks_map_.hasKey(pin)
|
||||
&& !pin_ideal_clks_map_.hasKey(pin);
|
||||
}
|
||||
|
||||
const ClockSet *
|
||||
ClkNetwork::clocks(const Pin *pin)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5397,6 +5397,12 @@ Sta::isIdealClock(const Pin *pin) const
|
|||
return clk_network_->isIdealClock(pin);
|
||||
}
|
||||
|
||||
bool
|
||||
Sta::isPropagatedClock(const Pin *pin) const
|
||||
{
|
||||
return clk_network_->isPropagatedClock(pin);
|
||||
}
|
||||
|
||||
const PinSet *
|
||||
Sta::pins(const Clock *clk)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue