Skip to content

Commit f4d2f0e

Browse files
authored
Merge pull request #8293 from luis201420/ant_check_special_nets_issue
ANT: avoid checking the positioning of special nets
2 parents fdf1122 + a8537dc commit f4d2f0e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/ant/src/AntennaChecker.cc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,9 +1098,15 @@ bool AntennaChecker::designIsPlaced()
10981098
}
10991099
}
11001100

1101-
for (odb::dbInst* inst : block_->getInsts()) {
1102-
if (!inst->isPlaced()) {
1103-
return false;
1101+
for (odb::dbNet* net : block_->getNets()) {
1102+
if (net->isSpecial()) {
1103+
continue;
1104+
}
1105+
for (odb::dbITerm* iterm : net->getITerms()) {
1106+
odb::dbInst* inst = iterm->getInst();
1107+
if (!inst->isPlaced()) {
1108+
return false;
1109+
}
11041110
}
11051111
}
11061112

0 commit comments

Comments
 (0)