Skip to content

Commit

Permalink
Apply 'make format'
Browse files Browse the repository at this point in the history
  • Loading branch information
github action committed Jan 20, 2025
1 parent 099408a commit 1c243e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/V3Coverage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,9 @@ class CoverageVisitor final : public VNVisitor {
void toggleVarBottom(const ToggleEnt& above, const AstVar* varp) {
AstCoverToggle* const newp = new AstCoverToggle{
varp->fileline(),
newCoverInc(varp->fileline(), "", "v_toggle", "toggle_" + m_beginHier + "_" + varp->name() + above.m_comment + "=_", "", 0,
""),
newCoverInc(varp->fileline(), "", "v_toggle",
"toggle_" + m_beginHier + "_" + varp->name() + above.m_comment + "=_", "",
0, ""),
above.m_varRefp->cloneTree(true), above.m_chgRefp->cloneTree(true)};
m_modp->addStmtsp(newp);
}
Expand Down
4 changes: 1 addition & 3 deletions src/VlcTop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ void VlcTop::writeInfo(const string& filename) {
const string cmt = point->comment().substr(0, point->comment().find("="));
os << cmt;

if (cmt.rfind("toggle_", 0) != 0) {
os << "_" << point_num;
}
if (cmt.rfind("toggle_", 0) != 0) { os << "_" << point_num; }
os << ",";
os << point->count() << "\n";

Expand Down

0 comments on commit 1c243e3

Please sign in to comment.