mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-07 11:51:47 +02:00
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user