PathGroup::name std::string
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
28b9401e31
commit
9b2bdf85e1
|
|
@ -66,7 +66,7 @@ public:
|
||||||
float min_slack,
|
float min_slack,
|
||||||
float max_slack,
|
float max_slack,
|
||||||
const StaState *sta);
|
const StaState *sta);
|
||||||
const char *name() const { return name_.c_str(); }
|
const std::string &name() const { return name_; }
|
||||||
const MinMax *minMax() const { return min_max_;}
|
const MinMax *minMax() const { return min_max_;}
|
||||||
const PathEndSeq &pathEnds() const { return path_ends_; }
|
const PathEndSeq &pathEnds() const { return path_ends_; }
|
||||||
void insert(PathEnd *path_end);
|
void insert(PathEnd *path_end);
|
||||||
|
|
|
||||||
|
|
@ -406,7 +406,7 @@ ReportPath::reportEndpointHeader(const PathEnd *end,
|
||||||
: "max_delay/setup";
|
: "max_delay/setup";
|
||||||
report_->reportLine("%s group %s",
|
report_->reportLine("%s group %s",
|
||||||
setup_hold,
|
setup_hold,
|
||||||
group->name());
|
group->name().c_str());
|
||||||
reportBlankLine();
|
reportBlankLine();
|
||||||
reportEndHeader();
|
reportEndHeader();
|
||||||
}
|
}
|
||||||
|
|
@ -1079,11 +1079,17 @@ ReportPath::reportJson(const PathEnd *end,
|
||||||
{
|
{
|
||||||
std::string result;
|
std::string result;
|
||||||
result += "{\n";
|
result += "{\n";
|
||||||
stringAppend(result, " \"type\": \"%s\",\n", end->typeName());
|
result += " \"type\": \"";
|
||||||
stringAppend(result, " \"path_group\": \"%s\",\n",
|
result += end->typeName();
|
||||||
end->pathGroup()->name());
|
result += "\",\n";
|
||||||
stringAppend(result, " \"path_type\": \"%s\",\n",
|
|
||||||
end->minMax(this)->to_string().c_str());
|
result += " \"path_group\": \"";
|
||||||
|
result += end->pathGroup()->name();
|
||||||
|
result += "\",\n";
|
||||||
|
|
||||||
|
result += " \"path_type\": \"";
|
||||||
|
result += end->minMax(this)->to_string();
|
||||||
|
result += "\",\n";
|
||||||
|
|
||||||
PathExpanded expanded(end->path(), this);
|
PathExpanded expanded(end->path(), this);
|
||||||
const Pin *startpoint = expanded.startPath()->vertex(this)->pin();
|
const Pin *startpoint = expanded.startPath()->vertex(this)->pin();
|
||||||
|
|
@ -1269,7 +1275,7 @@ ReportPath::reportSlackOnly(const PathEnd *end) const
|
||||||
{
|
{
|
||||||
std::string line;
|
std::string line;
|
||||||
const EarlyLate *early_late = end->pathEarlyLate(this);
|
const EarlyLate *early_late = end->pathEarlyLate(this);
|
||||||
reportDescription(end->pathGroup()->name(), line);
|
reportDescription(end->pathGroup()->name().c_str(), line);
|
||||||
if (end->isUnconstrained())
|
if (end->isUnconstrained())
|
||||||
reportSpaceFieldDelay(end->dataArrivalTimeOffset(this), early_late, line);
|
reportSpaceFieldDelay(end->dataArrivalTimeOffset(this), early_late, line);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue