mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-29 01:14:06 +02:00
liberty driver_waveform
Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
+5
-3
@@ -56,11 +56,13 @@ RiseFall::opposite() const
|
||||
}
|
||||
|
||||
RiseFall *
|
||||
RiseFall::find(const char *tr_str)
|
||||
RiseFall::find(const char *rf_str)
|
||||
{
|
||||
if (stringEq(tr_str, rise_.name()))
|
||||
if (stringEq(rf_str, rise_.name())
|
||||
|| stringEq(rf_str, rise_.shortName()))
|
||||
return &rise_;
|
||||
else if (stringEq(tr_str, fall_.name()))
|
||||
else if (stringEq(rf_str, fall_.name())
|
||||
|| stringEq(rf_str, fall_.shortName()))
|
||||
return &fall_;
|
||||
else
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user