Fix "Missing coverage in PSL" due to "cover property $stop" statements.

"cover property" reported hierarchy now includes named begin blocks.
This commit is contained in:
Wilson Snyder
2008-11-05 10:23:03 -05:00
parent 5d2675e38a
commit 3d788b4b93
5 changed files with 53 additions and 9 deletions
+5
View File
@@ -142,6 +142,11 @@ private:
}
nodep->iterateChildren(*this);
}
virtual void visit(AstCoverDecl* nodep, AstNUser*) {
// Don't need to fix path in coverage statements, they're not under
// any BEGINs, but V3Coverage adds them all under the module itself.
nodep->iterateChildren(*this);
}
virtual void visit(AstNode* nodep, AstNUser*) {
nodep->iterateChildren(*this);
}