Support immediate cover statements & refactor coverage internals.

This commit is contained in:
Wilson Snyder
2019-12-16 21:44:20 -05:00
parent 8cdc0c4e00
commit 83a1bd0675
14 changed files with 152 additions and 154 deletions
+2 -2
View File
@@ -353,8 +353,8 @@ private:
m_checkBlock = true; // Reset as a child may have cleared it
}
}
virtual void visit(AstPslCover* nodep) {
UINFO(4," PSLCOVER: "<<nodep<<endl);
virtual void visit(AstCover* nodep) {
UINFO(4," COVER: "<<nodep<<endl);
m_checkBlock = true; // Always do cover blocks, even if there's a $stop
iterateChildren(nodep);
if (!nodep->coverincp()) {