Include Verilog file's directory name in coverage reports.

This commit is contained in:
Wilson Snyder 2008-10-14 14:27:11 -04:00
parent a348bd3458
commit ac619ef3d8
2 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,8 @@ indicates the contributor was also the author of the fix; Thanks!
**** Fix genvars causing link error when using --public. [Chris Candler]
**** Include Verilog file's directory name in coverage reports.
* Verilator 3.671 2008/09/19
** SystemC uint64_t pins are now the default instead of sc_bv<64>.

View File

@ -214,7 +214,7 @@ public:
puts("__vlCoverInsert("); // As Declared in emitCoverageDecl
puts("&__Vcoverage[");
puts(cvtToStr(m_coverIds.remap(nodep))); puts("]");
puts(", \""); puts(nodep->fileline()->filebasename()); puts("\"");
puts(", \""); puts(nodep->fileline()->filename()); puts("\"");
puts(", "); puts(cvtToStr(nodep->fileline()->lineno()));
puts(", "); puts(cvtToStr(nodep->column()));
puts(", \""); puts(nodep->hier()); puts("\"");