liberty driver_waveform

Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
James Cherry
2023-03-22 09:57:54 -07:00
parent 55fc69577a
commit 6c3ba16e07
11 changed files with 849 additions and 379 deletions
+5 -3
View File
@@ -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;