Apply 'make format'
This commit is contained in:
parent
3b454a6f60
commit
4b6bc1ff83
|
|
@ -1014,8 +1014,8 @@ bool AstNodeDType::similarDType(const AstNodeDType* samep) const {
|
||||||
bool AstNodeDType::isFourstate() const { return basicp() && basicp()->isFourstate(); }
|
bool AstNodeDType::isFourstate() const { return basicp() && basicp()->isFourstate(); }
|
||||||
|
|
||||||
bool AstNodeDType::isNonPackedArray() const {
|
bool AstNodeDType::isNonPackedArray() const {
|
||||||
return VN_IS(this, UnpackArrayDType) || VN_IS(this, DynArrayDType)
|
return VN_IS(this, UnpackArrayDType) || VN_IS(this, DynArrayDType) || VN_IS(this, QueueDType)
|
||||||
|| VN_IS(this, QueueDType) || VN_IS(this, AssocArrayDType);
|
|| VN_IS(this, AssocArrayDType);
|
||||||
}
|
}
|
||||||
|
|
||||||
class AstNodeDType::CTypeRecursed final {
|
class AstNodeDType::CTypeRecursed final {
|
||||||
|
|
|
||||||
|
|
@ -1311,8 +1311,7 @@ class ConstraintExprVisitor final : public VNVisitor {
|
||||||
methodp->addPinsp(varRefp);
|
methodp->addPinsp(varRefp);
|
||||||
}
|
}
|
||||||
AstNodeDType* tmpDtypep = varp->dtypep();
|
AstNodeDType* tmpDtypep = varp->dtypep();
|
||||||
while (tmpDtypep->isNonPackedArray())
|
while (tmpDtypep->isNonPackedArray()) tmpDtypep = tmpDtypep->subDTypep();
|
||||||
tmpDtypep = tmpDtypep->subDTypep();
|
|
||||||
const size_t width = tmpDtypep->width();
|
const size_t width = tmpDtypep->width();
|
||||||
methodp->addPinsp(
|
methodp->addPinsp(
|
||||||
new AstConst{varp->dtypep()->fileline(), AstConst::Unsized64{}, width});
|
new AstConst{varp->dtypep()->fileline(), AstConst::Unsized64{}, width});
|
||||||
|
|
@ -4390,8 +4389,7 @@ class RandomizeVisitor final : public VNVisitor {
|
||||||
}
|
}
|
||||||
|
|
||||||
AstNodeDType* tmpDtypep = arrVarp->dtypep();
|
AstNodeDType* tmpDtypep = arrVarp->dtypep();
|
||||||
while (tmpDtypep->isNonPackedArray())
|
while (tmpDtypep->isNonPackedArray()) tmpDtypep = tmpDtypep->subDTypep();
|
||||||
tmpDtypep = tmpDtypep->subDTypep();
|
|
||||||
const size_t width = tmpDtypep->width();
|
const size_t width = tmpDtypep->width();
|
||||||
|
|
||||||
methodp->addPinsp(new AstConst{fl, AstConst::Unsized64{}, width});
|
methodp->addPinsp(new AstConst{fl, AstConst::Unsized64{}, width});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue