make instance update endpoints
Signed-off-by: James Cherry <cherry@CerezoBook.local>
This commit is contained in:
parent
8f03c823c7
commit
c4c811ad2e
|
|
@ -418,6 +418,8 @@ Graph::makePinVertices(Pin *pin,
|
||||||
Vertex *&vertex,
|
Vertex *&vertex,
|
||||||
Vertex *&bidir_drvr_vertex)
|
Vertex *&bidir_drvr_vertex)
|
||||||
{
|
{
|
||||||
|
vertex = nullptr;
|
||||||
|
bidir_drvr_vertex = nullptr;
|
||||||
PortDirection *dir = network_->direction(pin);
|
PortDirection *dir = network_->direction(pin);
|
||||||
if (!dir->isPowerGround()) {
|
if (!dir->isPowerGround()) {
|
||||||
bool is_reg_clk = network_->isRegClkPin(pin);
|
bool is_reg_clk = network_->isRegClkPin(pin);
|
||||||
|
|
@ -427,8 +429,6 @@ Graph::makePinVertices(Pin *pin,
|
||||||
bidir_drvr_vertex = makeVertex(pin, true, is_reg_clk);
|
bidir_drvr_vertex = makeVertex(pin, true, is_reg_clk);
|
||||||
pin_bidirect_drvr_vertex_map_[pin] = bidir_drvr_vertex;
|
pin_bidirect_drvr_vertex_map_[pin] = bidir_drvr_vertex;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
bidir_drvr_vertex = nullptr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4493,6 +4493,10 @@ Sta::makeInstanceAfter(const Instance *inst)
|
||||||
if (pin) {
|
if (pin) {
|
||||||
Vertex *vertex, *bidir_drvr_vertex;
|
Vertex *vertex, *bidir_drvr_vertex;
|
||||||
graph_->makePinVertices(pin, vertex, bidir_drvr_vertex);
|
graph_->makePinVertices(pin, vertex, bidir_drvr_vertex);
|
||||||
|
if (vertex)
|
||||||
|
search_->endpointInvalid(vertex);
|
||||||
|
if (bidir_drvr_vertex)
|
||||||
|
search_->endpointInvalid(bidir_drvr_vertex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
graph_->makeInstanceEdges(inst);
|
graph_->makeInstanceEdges(inst);
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue