mirror of
https://github.com/verilator/verilator.git
synced 2026-09-05 08:42:46 +02:00
+2
-1
@@ -9661,7 +9661,8 @@ class WidthVisitor final : public VNVisitor {
|
||||
continue;
|
||||
} else if (const AstNodeUOrStructDType* const adtypep
|
||||
= VN_CAST(dtypep, NodeUOrStructDType)) {
|
||||
bits *= adtypep->width();
|
||||
bits *= adtypep->isStreamableFixedAggregate() ? adtypep->widthStream()
|
||||
: adtypep->width();
|
||||
break;
|
||||
} else if (const AstBasicDType* const adtypep = VN_CAST(dtypep, BasicDType)) {
|
||||
bits *= adtypep->width();
|
||||
|
||||
Reference in New Issue
Block a user