path enum latch resolves orfs #1229

This commit is contained in:
James Cherry 2025-11-24 14:15:53 -07:00
parent 4475f89024
commit f79f442f1d
1 changed files with 2 additions and 1 deletions

View File

@ -636,7 +636,8 @@ PathEnum::makeDivertedPath(Path *path,
after_div_copy = copy;
if (first)
div_path = copy;
else if (network_->isLatchData(p->pin(this)))
else if (found_div
&& network_->isLatchData(p->pin(this)))
break;
if (p == before_div) {
// Replaced on next pass.