report path json delay units
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
0d13839330
commit
7025327742
|
|
@ -1102,8 +1102,8 @@ ReportPath::reportJson(const PathEnd *end,
|
||||||
reportJson(end->targetClkPath(), "target_clock_path", 2, true, result);
|
reportJson(end->targetClkPath(), "target_clock_path", 2, true, result);
|
||||||
|
|
||||||
if (end->checkRole(this)) {
|
if (end->checkRole(this)) {
|
||||||
stringAppend(result, " \"data_arrival_time\": %s,\n",
|
stringAppend(result, " \"data_arrival_time\": %.3e,\n",
|
||||||
delayAsString(end->dataArrivalTimeOffset(this), this, 3));
|
delayAsFloat(end->dataArrivalTimeOffset(this)));
|
||||||
|
|
||||||
const MultiCyclePath *mcp = end->multiCyclePath();
|
const MultiCyclePath *mcp = end->multiCyclePath();
|
||||||
if (mcp)
|
if (mcp)
|
||||||
|
|
@ -1115,14 +1115,14 @@ ReportPath::reportJson(const PathEnd *end,
|
||||||
stringAppend(result, " \"path_delay\": %.3e,\n",
|
stringAppend(result, " \"path_delay\": %.3e,\n",
|
||||||
path_delay->delay());
|
path_delay->delay());
|
||||||
|
|
||||||
stringAppend(result, " \"crpr\": %s,\n",
|
stringAppend(result, " \"crpr\": %.3e,\n",
|
||||||
delayAsString(end->checkCrpr(this), this, 3));
|
delayAsFloat(end->checkCrpr(this)));
|
||||||
stringAppend(result, " \"margin\": %s,\n",
|
stringAppend(result, " \"margin\": %.3e,\n",
|
||||||
delayAsString(end->margin(this), this, 3));
|
delayAsFloat(end->margin(this)));
|
||||||
stringAppend(result, " \"required_time\": %s,\n",
|
stringAppend(result, " \"required_time\": %.3e,\n",
|
||||||
delayAsString(end->requiredTimeOffset(this), this, 3));
|
delayAsFloat(end->requiredTimeOffset(this)));
|
||||||
stringAppend(result, " \"slack\": %s\n",
|
stringAppend(result, " \"slack\": %.3e\n",
|
||||||
delayAsString(end->slack(this), this, 3));
|
delayAsFloat(end->slack(this)));
|
||||||
}
|
}
|
||||||
result += "}";
|
result += "}";
|
||||||
if (!last)
|
if (!last)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue