Skip to content

Commit

Permalink
pdn: ensure fixed_vias are honored when generate statements are avail…
Browse files Browse the repository at this point in the history
…able

Signed-off-by: Peter Gadfort <[email protected]>
  • Loading branch information
gadfort committed Jan 25, 2024
1 parent 7e7e835 commit 316dec9
Show file tree
Hide file tree
Showing 5 changed files with 17,003 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pdn/src/connect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ void Connect::populateGenerateRules()
use_fixed_via = true;
}
}
if (use_fixed_via) {
if (use_fixed_via || !fixed_tech_vias_.empty()) {
continue;
}
for (odb::dbTechViaGenerateRule* db_via : tech->getViaGenerateRules()) {
Expand Down Expand Up @@ -789,7 +789,7 @@ void Connect::populateTechVias()
use_fixed_via = true;
}
}
if (use_fixed_via) {
if (use_fixed_via || !fixed_generate_vias_.empty()) {
continue;
}
for (odb::dbTechVia* db_via : tech->getVias()) {
Expand Down
Loading

0 comments on commit 316dec9

Please sign in to comment.