Apply 'make format'
This commit is contained in:
parent
8eb03568fd
commit
601e05615d
|
|
@ -1110,14 +1110,14 @@ inline std::ostream& operator<<(std::ostream& os, const VCastable& rhs) {
|
|||
class VCoverBinsType final {
|
||||
public:
|
||||
enum en : uint8_t {
|
||||
BINS_USER, // Single bin with one or more values/ranges
|
||||
BINS_ARRAY, // Array of bins with user-speciifed size
|
||||
BINS_AUTO, // Auto-sized array of bins (eg auto_bin_max)
|
||||
BINS_IGNORE, // Ignore bin
|
||||
BINS_ILLEGAL, // Illegal bin
|
||||
BINS_DEFAULT, // Default bin
|
||||
BINS_USER, // Single bin with one or more values/ranges
|
||||
BINS_ARRAY, // Array of bins with user-speciifed size
|
||||
BINS_AUTO, // Auto-sized array of bins (eg auto_bin_max)
|
||||
BINS_IGNORE, // Ignore bin
|
||||
BINS_ILLEGAL, // Illegal bin
|
||||
BINS_DEFAULT, // Default bin
|
||||
BINS_WILDCARD, // Wildcard bin
|
||||
BINS_TRANSITION // Transition bin
|
||||
BINS_TRANSITION // Transition bin
|
||||
};
|
||||
enum en m_e;
|
||||
VCoverBinsType()
|
||||
|
|
|
|||
|
|
@ -1045,9 +1045,9 @@ class AstCoverBin final : public AstNode {
|
|||
// @astgen op2 := iffp : Optional[AstNodeExpr]
|
||||
// @astgen op3 := arraySizep : Optional[AstNodeExpr]
|
||||
// @astgen op4 := transp : List[AstCoverTransSet]
|
||||
const string m_name; // Base name of the bin
|
||||
const string m_name; // Base name of the bin
|
||||
const VCoverBinsType m_type; // Bin type (eg AUTO, IGNORE, ILLEGAL)
|
||||
bool m_isArray = false; // Bin is either an auto-sized array of values or transitions
|
||||
bool m_isArray = false; // Bin is either an auto-sized array of values or transitions
|
||||
|
||||
public:
|
||||
AstCoverBin(FileLine* fl, const string& name, AstNode* rangesp, bool isIgnore, bool isIllegal,
|
||||
|
|
@ -1093,7 +1093,7 @@ public:
|
|||
class AstCoverCrossBins final : public AstNode {
|
||||
// Cross-point bin definition
|
||||
// @astgen op1 := selectp : Optional[AstCoverSelectExpr]
|
||||
const string m_name; // Bin name
|
||||
const string m_name; // Bin name
|
||||
|
||||
public:
|
||||
AstCoverCrossBins(FileLine* fl, const string& name, AstCoverSelectExpr* selectp)
|
||||
|
|
@ -1109,7 +1109,7 @@ public:
|
|||
class AstCoverOption final : public AstNode {
|
||||
// Coverage-option assignment
|
||||
// @astgen op1 := valuep : AstNodeExpr
|
||||
const VCoverOptionType m_type; // Option being assigned
|
||||
const VCoverOptionType m_type; // Option being assigned
|
||||
|
||||
public:
|
||||
AstCoverOption(FileLine* fl, VCoverOptionType type, AstNodeExpr* valuep)
|
||||
|
|
@ -1172,7 +1172,7 @@ class AstCovergroup final : public AstNode {
|
|||
// @astgen op2 := membersp : List[AstNode]
|
||||
// @astgen op3 := eventp : Optional[AstSenTree]
|
||||
// @astgen op4 := sampleArgsp : List[AstVar]
|
||||
string m_name; // covergroup name
|
||||
string m_name; // covergroup name
|
||||
|
||||
public:
|
||||
AstCovergroup(FileLine* fl, const string& name, AstVar* argsp, AstVar* sampleArgsp,
|
||||
|
|
@ -1194,7 +1194,7 @@ public:
|
|||
class AstCoverpointRef final : public AstNode {
|
||||
// Reference to a coverpoint used in a cross
|
||||
// @astgen ptr := m_coverpointp : Optional[AstCoverpoint]
|
||||
const string m_name; // coverpoint name
|
||||
const string m_name; // coverpoint name
|
||||
|
||||
public:
|
||||
AstCoverpointRef(FileLine* fl, const string& name)
|
||||
|
|
|
|||
|
|
@ -3501,9 +3501,7 @@ const char* AstNot::widthMismatch() const VL_MT_STABLE {
|
|||
|
||||
void AstCovergroup::dump(std::ostream& str) const { this->AstNode::dump(str); }
|
||||
|
||||
void AstCovergroup::dumpJson(std::ostream& str) const {
|
||||
dumpJsonGen(str);
|
||||
}
|
||||
void AstCovergroup::dumpJson(std::ostream& str) const { dumpJsonGen(str); }
|
||||
|
||||
void AstCoverpoint::dump(std::ostream& str) const { this->AstNodeFuncCovItem::dump(str); }
|
||||
|
||||
|
|
@ -3531,9 +3529,7 @@ void AstCoverTransItem::dumpJson(std::ostream& str) const {
|
|||
if (m_repType != VTransRepType::NONE) { str << ", \"repType\": " << m_repType.asciiJson(); }
|
||||
}
|
||||
|
||||
void AstCoverTransSet::dump(std::ostream& str) const {
|
||||
this->AstNode::dump(str);
|
||||
}
|
||||
void AstCoverTransSet::dump(std::ostream& str) const { this->AstNode::dump(str); }
|
||||
|
||||
void AstCoverTransSet::dumpJson(std::ostream& str) const { this->AstNode::dumpJson(str); }
|
||||
|
||||
|
|
|
|||
|
|
@ -1176,8 +1176,7 @@ class LinkParseVisitor final : public VNVisitor {
|
|||
}
|
||||
{
|
||||
AstVar* const varp
|
||||
= new AstVar{nodep->fileline(), VVarType::MEMBER, "type_option",
|
||||
VFlagChildDType{},
|
||||
= new AstVar{nodep->fileline(), VVarType::MEMBER, "type_option", VFlagChildDType{},
|
||||
new AstRefDType{nodep->fileline(), "vl_covergroup_type_options_t",
|
||||
new AstClassOrPackageRef{nodep->fileline(), "std",
|
||||
nullptr, nullptr},
|
||||
|
|
|
|||
Loading…
Reference in New Issue