mirror of
https://github.com/verilator/verilator.git
synced 2026-09-07 01:52:17 +02:00
Coverage of each parametarized module is counted separately.
This commit is contained in:
+3
-2
@@ -90,9 +90,10 @@ private:
|
||||
|
||||
// We could use the basename of the filename to the page, but seems better for code
|
||||
// from an include file to be listed under the module using it rather than the include file.
|
||||
// Note the module name could have parameters appended, thus we use origName.
|
||||
// Note the module name could have parameters appended, we'll consider this
|
||||
// a feature as it allows for each parameterized block to be counted separately.
|
||||
// Someday the user might be allowed to specify a different page suffix
|
||||
string page = page_prefix + "/" + m_modp->origName();
|
||||
string page = page_prefix + "/" + m_modp->prettyName();
|
||||
|
||||
AstCoverDecl* declp = new AstCoverDecl(fl, column, page, comment);
|
||||
declp->hier(hier);
|
||||
|
||||
Reference in New Issue
Block a user