From fd3c3175cd03bb3e1fc438e36813eb14af446957 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Wed, 4 Nov 2020 16:09:25 -0800 Subject: [PATCH] report path to liberty internal pin with reg clk->q and comb arcs --- search/ReportPath.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/search/ReportPath.cc b/search/ReportPath.cc index 367d5c27..5b28b2f5 100644 --- a/search/ReportPath.cc +++ b/search/ReportPath.cc @@ -2709,6 +2709,9 @@ ReportPath::reportPath5(const Path *path, const MinMax *min_max = path->minMax(this); DcalcAnalysisPt *dcalc_ap = path->pathAnalysisPt(this)->dcalcAnalysisPt(); DcalcAPIndex ap_index = dcalc_ap->index(); + PathRef clk_path; + expanded.clkPath(clk_path); + Vertex *clk_start = clk_path.vertex(this); for (size_t i = path_first_index; i <= path_last_index; i++) { PathRef *path1 = expanded.path(i); TimingArc *prev_arc = expanded.prevArc(i); @@ -2717,7 +2720,7 @@ ReportPath::reportPath5(const Path *path, Arrival time = path1->arrival(this) + time_offset; Delay incr = 0.0; const char *line_case = nullptr; - bool is_clk_start = network_->isRegClkPin(pin); + bool is_clk_start = path1->vertex(this) == clk_start; bool is_clk = path1->isClock(search_); // Always show the search start point (register clk pin). // Skip reporting the clk tree unless it is requested.