We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c100734 commit 3b47fd8Copy full SHA for 3b47fd8
src/pdn/src/grid.cpp
@@ -1673,10 +1673,13 @@ void InstanceGrid::report() const
1673
bool InstanceGrid::isValid() const
1674
{
1675
if (getNets(startsWithPower()).empty()) {
1676
- getLogger()->warn(utl::PDN,
1677
- 231,
1678
- "{} is not connected to any power/ground nets.",
1679
- inst_->getName());
+ if (!inst_->getITerms().empty()) {
+ // only warn when instance has something that could be connected to
+ getLogger()->warn(utl::PDN,
+ 231,
1680
+ "{} is not connected to any power/ground nets.",
1681
+ inst_->getName());
1682
+ }
1683
return false;
1684
}
1685
return true;
0 commit comments