Signed-off-by: James Cherry <cherry@CerezoBook.local>
This commit is contained in:
James Cherry 2026-06-18 13:38:47 -07:00
parent 0e79e35d17
commit 9e39e42703
1 changed files with 4 additions and 5 deletions

View File

@ -1388,9 +1388,9 @@ ArrivalVisitor::pruneCrprArrivals()
}
void
Search::enqueueLatchDataOutputs(Vertex *vertex)
Search::enqueueLatchDataOutputs(Vertex *latch_data)
{
VertexOutEdgeIterator edge_iter(vertex, graph_);
VertexOutEdgeIterator edge_iter(latch_data, graph_);
while (edge_iter.hasNext()) {
Edge *edge = edge_iter.next();
if (edge->role() == TimingRole::latchDtoQ()) {
@ -2068,9 +2068,8 @@ PathVisitor::visitFromPath(const Pin *from_pin,
if (gclk) {
Genclks *genclks = mode->genclks();
VertexSet *fanins = genclks->fanins(gclk);
// Note: encountering a latch d->q edge means find the
// latch feedback edges, but they are referenced for
// other edges in the gen clk fanout.
// Note: encountering a latch d->q edge means we need to find
// latch feedback edges.
if (role == TimingRole::latchDtoQ())
genclks->findLatchFdbkEdges(gclk);
EdgeSet &fdbk_edges = genclks->latchFdbkEdges(gclk);