Apply 'make format'

This commit is contained in:
github action 2026-03-01 19:05:36 +00:00 committed by Matthew Ballance
parent 15bcf7b2fb
commit eba0dcdb37
5 changed files with 6 additions and 11 deletions

View File

@ -784,8 +784,7 @@ class CovergroupSamplingVisitor final : public VNVisitor {
<< vscp->name() << endl);
} else {
refp->v3fatalSrc("Could not find VarScope for clock signal '"
<< refp->varp()->name() << "' in scope "
<< m_scopep->name()
<< refp->varp()->name() << "' in scope " << m_scopep->name()
<< " when creating covergroup sampling active");
}
}

View File

@ -1043,7 +1043,6 @@ public:
class AstCoverTransSet;
class AstCoverSelectExpr;
class AstCoverBin final : public AstNode {
// @astgen op1 := rangesp : List[AstNode]
// @astgen op2 := iffp : Optional[AstNodeExpr]

View File

@ -3534,9 +3534,7 @@ void AstCoverTransItem::dump(std::ostream& str) const {
void AstCoverTransItem::dumpJson(std::ostream& str) const {
this->AstNode::dumpJson(str);
if (m_repType != VTransRepType::NONE) {
str << ", \"repType\": " << m_repType.asciiJson();
}
if (m_repType != VTransRepType::NONE) { str << ", \"repType\": " << m_repType.asciiJson(); }
}
void AstCoverTransSet::dump(std::ostream& str) const {

View File

@ -1750,8 +1750,8 @@ class FunctionalCoverageVisitor final : public VNVisitor {
// Build the coverage insert as a C statement
// The variable reference needs to be &this->varname, where varname gets mangled to
// __PVT__varname Use "page" field with v_covergroup prefix so type is extracted correctly
// (consistent with code coverage)
// __PVT__varname Use "page" field with v_covergroup prefix so type is extracted
// correctly (consistent with code coverage)
std::string pageName = "v_covergroup/" + m_covergroupp->name();
std::string insertCall = "VL_COVER_INSERT(vlSymsp->_vm_contextp__->coveragep(), ";
insertCall += "\"" + hierName + "\", ";

View File

@ -1274,9 +1274,8 @@ class LinkParseVisitor final : public VNVisitor {
// Clocking event: unlink before deleteTree, attach as AstCovergroup child on class
if (AstSenTree* const eventp = nodep->eventp()) {
eventp->unlinkFrBack();
AstCovergroup* const cgNodep
= new AstCovergroup{nodep->fileline(), nodep->name(),
nullptr, nullptr, nullptr, eventp};
AstCovergroup* const cgNodep = new AstCovergroup{
nodep->fileline(), nodep->name(), nullptr, nullptr, nullptr, eventp};
cgClassp->addMembersp(cgNodep);
}