Support streaming operator on arrays and wide data (#5326)

Signed-off-by: Arkadiusz Kozdra <[email protected]>
This commit is contained in:
Arkadiusz Kozdra
2024-08-06 08:48:46 -04:00
committed by GitHub
parent 3b81654c72
commit a32b8d80f9
13 changed files with 194 additions and 243 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ class SliceVisitor final : public VNVisitor {
AstNodeDType* const dtp = nodep->lhsp()->dtypep()->skipRefp();
AstNode* stp = nodep->rhsp();
if (const AstUnpackArrayDType* const arrayp = VN_CAST(dtp, UnpackArrayDType)) {
if (!VN_IS(stp, CvtPackedToUnpackArray)) {
if (!VN_IS(stp, CvtPackedToArray)) {
// Left and right could have different ascending/descending range,
// but #elements is common and all variables are realigned to start at zero
// Assign of an ascending range slice to a descending range one must reverse