Sta::findGroupPathPins check arrivals valid
This commit is contained in:
parent
9fd5d68bf4
commit
0df6a76715
|
|
@ -103,6 +103,7 @@ public:
|
|||
bool removal,
|
||||
bool clk_gating_setup,
|
||||
bool clk_gating_hold);
|
||||
bool arrivalsValid();
|
||||
// Invalidate all arrival and required times.
|
||||
void arrivalsInvalid();
|
||||
// Invalidate vertex arrival time.
|
||||
|
|
|
|||
|
|
@ -651,6 +651,13 @@ Search::deleteVertexBefore(Vertex *vertex)
|
|||
invalid_endpoints_->erase(vertex);
|
||||
}
|
||||
|
||||
bool
|
||||
Search::arrivalsValid()
|
||||
{
|
||||
return arrivals_exist_
|
||||
&& invalid_requireds_.empty();
|
||||
}
|
||||
|
||||
void
|
||||
Search::arrivalsInvalid()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2621,7 +2621,8 @@ Sta::visitEndpoints(VertexVisitor *visitor)
|
|||
PinSet *
|
||||
Sta::findGroupPathPins(const char *group_path_name)
|
||||
{
|
||||
if (!search_->havePathGroups()) {
|
||||
if (!(search_->havePathGroups()
|
||||
&& search_->arrivalsValid())) {
|
||||
PathEndSeq *path_ends = findPathEnds(// from, thrus, to, unconstrained
|
||||
nullptr, nullptr, nullptr, false,
|
||||
// corner, min_max,
|
||||
|
|
|
|||
Loading…
Reference in New Issue