mirror of
https://github.com/verilator/verilator.git
synced 2025-01-22 14:24:18 +00:00
DFG: Support packed structure and union types
This commit is contained in:
parent
d8b5359fcb
commit
9c1cc5465d
@ -228,6 +228,9 @@ public:
|
|||||||
if (const AstPackArrayDType* const typep = VN_CAST(dtypep, PackArrayDType)) {
|
if (const AstPackArrayDType* const typep = VN_CAST(dtypep, PackArrayDType)) {
|
||||||
return isSupportedDType(typep->subDTypep());
|
return isSupportedDType(typep->subDTypep());
|
||||||
}
|
}
|
||||||
|
if (const AstNodeUOrStructDType* const typep = VN_CAST(dtypep, NodeUOrStructDType)) {
|
||||||
|
return typep->packed();
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user