mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-04 00:39:45 +02:00
LibertyCell::timingArcSets() range iteration
Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
+3
-13
@@ -424,9 +424,10 @@ public:
|
||||
bool isClockGateOther() const;
|
||||
bool isClockGate() const;
|
||||
void setClockGateType(ClockGateType type);
|
||||
const TimingArcSetSeq &timingArcSets() const { return timing_arc_sets_; }
|
||||
// from or to may be nullptr to wildcard.
|
||||
TimingArcSetSeq *timingArcSets(const LibertyPort *from,
|
||||
const LibertyPort *to) const;
|
||||
const TimingArcSetSeq &timingArcSets(const LibertyPort *from,
|
||||
const LibertyPort *to) const;
|
||||
size_t timingArcSetCount() const;
|
||||
// Find a timing arc set equivalent to key.
|
||||
TimingArcSet *findTimingArcSet(TimingArcSet *key) const;
|
||||
@@ -583,7 +584,6 @@ private:
|
||||
friend class LibertyCellPgPortIterator;
|
||||
friend class LibertyPort;
|
||||
friend class LibertyBuilder;
|
||||
friend class LibertyCellTimingArcSetIterator;
|
||||
friend class LibertyCellSequentialIterator;
|
||||
};
|
||||
|
||||
@@ -621,16 +621,6 @@ private:
|
||||
LibertyPgPortMap::Iterator iter_;
|
||||
};
|
||||
|
||||
class LibertyCellTimingArcSetIterator : public TimingArcSetSeq::ConstIterator
|
||||
{
|
||||
public:
|
||||
LibertyCellTimingArcSetIterator(const LibertyCell *cell);
|
||||
// from or to may be nullptr to wildcard.
|
||||
LibertyCellTimingArcSetIterator(const LibertyCell *cell,
|
||||
const LibertyPort *from,
|
||||
const LibertyPort *to);
|
||||
};
|
||||
|
||||
class LibertyCellSequentialIterator : public SequentialSeq::ConstIterator
|
||||
{
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user