mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 10:01:11 +02:00
Fix coverage hierarchy being backwards with inlining.
This commit is contained in:
+1
-1
@@ -249,7 +249,7 @@ private:
|
||||
virtual void visit(AstCoverDecl* nodep, AstNUser*) {
|
||||
// Fix path in coverage statements
|
||||
if (m_cellp) {
|
||||
nodep->hier(nodep->hier()+"."+m_cellp->prettyName());
|
||||
nodep->hier(m_cellp->prettyName()+"."+nodep->hier());
|
||||
}
|
||||
nodep->iterateChildren(*this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user