Apply 'make format'
This commit is contained in:
parent
a0f4259233
commit
be83c9751f
|
@ -391,7 +391,7 @@ class RandomizeMarkVisitor final : public VNVisitor {
|
||||||
backp = backp->backp();
|
backp = backp->backp();
|
||||||
}
|
}
|
||||||
UASSERT_OBJ(VN_IS(backp, NodeModule), randVarp,
|
UASSERT_OBJ(VN_IS(backp, NodeModule), randVarp,
|
||||||
"No class or module found for rand variable");
|
"No class or module found for rand variable");
|
||||||
backp->user1(IS_STD_RANDOMIZED);
|
backp->user1(IS_STD_RANDOMIZED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6272,11 +6272,12 @@ class WidthVisitor final : public VNVisitor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (VN_IS(exprp, MemberSel)) {
|
if (VN_IS(exprp, MemberSel)) {
|
||||||
argp->v3warn(CONSTRAINTIGN, "std::randomize ("
|
argp->v3warn(CONSTRAINTIGN,
|
||||||
<< exprp->prettyTypeName()
|
"std::randomize ("
|
||||||
<< ") is non-LRM compliant (IEEE 1800-2023 18.12)."
|
<< exprp->prettyTypeName()
|
||||||
<< "Args should be in current scope, "
|
<< ") is non-LRM compliant (IEEE 1800-2023 18.12)."
|
||||||
<< "but are supported in Verilator for compatibility.");
|
<< "Args should be in current scope, "
|
||||||
|
<< "but are supported in Verilator for compatibility.");
|
||||||
} else {
|
} else {
|
||||||
if (!VN_IS(exprp, VarRef)) {
|
if (!VN_IS(exprp, VarRef)) {
|
||||||
argp->v3error("Non-variable arguments for 'std::randomize()'.");
|
argp->v3error("Non-variable arguments for 'std::randomize()'.");
|
||||||
|
|
Loading…
Reference in New Issue