Skip to content

Commit

Permalink
Minimize toggle comments
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gorochowik <[email protected]>
  • Loading branch information
tgorochowik committed Dec 31, 2024
1 parent 6bd06df commit 8ec373e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/V3Coverage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class CoverageVisitor final : public VNVisitor {
snprintf(comment, 100, "toggle_%p_", m_modp);
AstCoverToggle* const newp = new AstCoverToggle{
varp->fileline(),
newCoverInc(varp->fileline(), "", "v_toggle", string(comment) + varp->name() + above.m_comment, "", 0,
newCoverInc(varp->fileline(), "", "v_toggle", comment, "", 0,
""),
above.m_varRefp->cloneTree(true), above.m_chgRefp->cloneTree(true)};
m_modp->addStmtsp(newp);
Expand Down

0 comments on commit 8ec373e

Please sign in to comment.