diff --git a/src/V3Dfg.h b/src/V3Dfg.h index 94fcac4ed..c0c55e5df 100644 --- a/src/V3Dfg.h +++ b/src/V3Dfg.h @@ -228,6 +228,9 @@ public: if (const AstPackArrayDType* const typep = VN_CAST(dtypep, PackArrayDType)) { return isSupportedDType(typep->subDTypep()); } + if (const AstNodeUOrStructDType* const typep = VN_CAST(dtypep, NodeUOrStructDType)) { + return typep->packed(); + } return false; }