rm Genclks::updateSrcPathPrevs
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
1c45b89879
commit
2c6ee71111
|
|
@ -1041,33 +1041,6 @@ Genclks::srcPath(const Clock *gclk,
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
void
|
||||
Genclks::updateSrcPathPrevs()
|
||||
{
|
||||
for (auto const & [clk_pin, src_paths] : genclk_src_paths_) {
|
||||
for (const Path &src_path : src_paths) {
|
||||
if (!src_path.isNull()) {
|
||||
const Path *p = &src_path;
|
||||
while (p) {
|
||||
Path *src_vpath = Path::vertexPath(p, this);
|
||||
if (src_vpath) {
|
||||
Path *prev_path = p->prevPath();
|
||||
if (prev_path) {
|
||||
Path *prev_vpath = Path::vertexPath(prev_path, this);
|
||||
src_vpath->setPrevPath(prev_vpath);
|
||||
src_vpath->setPrevEdgeArc(p->prevEdge(this),
|
||||
p->prevArc(this), this);
|
||||
}
|
||||
}
|
||||
p = p->prevPath();
|
||||
}
|
||||
debugPrint(debug_, "genclk", 3, "repaired src path prev %s",
|
||||
src_path.to_string(this).c_str());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Arrival
|
||||
Genclks::insertionDelay(const Clock *clk,
|
||||
const Pin *pin,
|
||||
|
|
|
|||
|
|
@ -85,7 +85,6 @@ public:
|
|||
Level clkPinMaxLevel(const Clock *clk) const;
|
||||
void copyGenClkSrcPaths(Vertex *vertex,
|
||||
TagGroupBldr *tag_bldr);
|
||||
void updateSrcPathPrevs();
|
||||
|
||||
private:
|
||||
void findInsertionDelays();
|
||||
|
|
|
|||
|
|
@ -610,7 +610,6 @@ Search::findFilteredArrivals(bool thru_latches)
|
|||
int arrival_count = arrival_iter_->visitParallel(max_level,
|
||||
arrival_visitor_);
|
||||
deleteTagsPrev();
|
||||
genclks_->updateSrcPathPrevs();
|
||||
debugPrint(debug_, "search", 1, "found %d arrivals", arrival_count);
|
||||
}
|
||||
arrivals_exist_ = true;
|
||||
|
|
@ -889,7 +888,6 @@ Search::findClkArrivals()
|
|||
arrival_visitor_->init(false, &search_clk);
|
||||
arrival_iter_->visitParallel(levelize_->maxLevel(), arrival_visitor_);
|
||||
deleteTagsPrev();
|
||||
genclks_->updateSrcPathPrevs();
|
||||
arrivals_exist_ = true;
|
||||
stats.report("Find clk arrivals");
|
||||
}
|
||||
|
|
@ -1059,7 +1057,6 @@ Search::findArrivals1(Level level)
|
|||
Stats stats(debug_, report_);
|
||||
int arrival_count = arrival_iter_->visitParallel(level, arrival_visitor_);
|
||||
deleteTagsPrev();
|
||||
genclks_->updateSrcPathPrevs();
|
||||
stats.report("Find arrivals");
|
||||
if (arrival_iter_->empty()
|
||||
&& invalid_arrivals_->empty()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue