pocv generated clk latency

This commit is contained in:
James Cherry 2020-06-05 11:50:18 -07:00
parent 810e4716cd
commit 5fc4fc17b6
2 changed files with 2 additions and 1 deletions

View File

@ -302,6 +302,7 @@ CheckCrpr::findCrpr1(const PathVertex *src_clk_path,
float tgt_clk_time = tgt_clk_path->clkEdge(this)->time();
float crpr_mean = abs(delayAsFloat(src_arrival) - src_clk_time
- (delayAsFloat(tgt_arrival) - tgt_clk_time));
// Remove the sigma from both source and target path arrivals.
float crpr_sigma2 = delaySigma2(src_arrival, src_el)
+ delaySigma2(tgt_arrival, tgt_el);
return makeDelay2(crpr_mean, -crpr_sigma2, -crpr_sigma2);

View File

@ -365,7 +365,7 @@ PathEnd::checkTgtClkDelay(const PathVertex *tgt_clk_path,
Arrival path_insertion = search->clockInsertion(tgt_clk, tgt_src_pin,
tgt_clk_rf, min_max,
min_max, tgt_path_ap);
latency = clk_arrival - tgt_clk_edge->time() - path_insertion;
latency = delayRemove(clk_arrival - tgt_clk_edge->time(), path_insertion);
}
else
// Ideal clock.