mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
Expose 'TimingType' from TimingArc. (#380)
When using the OpenSTA Liberty file parser as a general-purpose Liberty reader, it's useful to be able to extract the original `TimingType` for a timing arc, and trivial to support.
This commit is contained in:
committed by
GitHub
parent
d1bfb1df2e
commit
f0c9971015
@@ -170,6 +170,7 @@ public:
|
||||
void deleteTimingArc(TimingArc *arc);
|
||||
TimingArc *findTimingArc(unsigned arc_index);
|
||||
void setRole(const TimingRole *role);
|
||||
TimingType timingType() const { return attrs_->timingType(); }
|
||||
FuncExpr *cond() const { return attrs_->cond(); }
|
||||
// Cond default is the timing arcs with no condition when there are
|
||||
// other conditional timing arcs between the same pins.
|
||||
|
||||
Reference in New Issue
Block a user