timing_arc full_name

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2026-04-17 13:52:44 -07:00
parent 7838986dc4
commit 53a1552ab0
1 changed files with 4 additions and 2 deletions

View File

@ -42,6 +42,7 @@
#include "Sta.hh"
#include "StringUtil.hh"
#include "TimingArc.hh"
#include "TimingRole.hh"
#include "Transition.hh"
#include "Units.hh"
#include "power/Power.hh"
@ -1152,10 +1153,11 @@ Properties::getProperty(TimingArcSet *arc_set,
if (arc_set->isWire())
return PropertyValue("wire");
else {
std::string name = sta::format("{} {} -> {}",
std::string name = sta::format("{} {} -> {} {}",
arc_set->libertyCell()->name(),
arc_set->from()->name(),
arc_set->to()->name());
arc_set->to()->name(),
arc_set->role()->to_string());
return PropertyValue(name);
}
}