diff --git a/test_regress/t/t_stream_unpack.v b/test_regress/t/t_stream_unpack.v index dbec649fe..d778d8467 100644 --- a/test_regress/t/t_stream_unpack.v +++ b/test_regress/t/t_stream_unpack.v @@ -37,6 +37,9 @@ module t (/*AUTOARG*/); ans = { >> bit {arr} }; `checkh(ans, bit6); + { >> bit {ans}} = arr; + `checkh(ans, bit6); + ans_enum = enum_t'({ >> bit {arr} }); `checkh(ans_enum, bit6); @@ -49,6 +52,9 @@ module t (/*AUTOARG*/); ans = { << bit {arr} }; `checkh(ans, bit6); + { << bit {ans} } = arr; + `checkh(ans, bit6); + ans_enum = enum_t'({ << bit {arr} }); `checkh(ans_enum, bit6); @@ -61,6 +67,9 @@ module t (/*AUTOARG*/); ans = { >> bit[1:0] {arr2} }; `checkh(ans, bit6); + { >> bit[1:0] {ans} } = arr2; + `checkh(ans, bit6); + ans_enum = enum_t'({ >> bit[1:0] {arr2} }); `checkh(ans_enum, bit6); @@ -70,6 +79,9 @@ module t (/*AUTOARG*/); ans = { << bit[1:0] {arr2} }; `checkh(ans, bit6); + { << bit[1:0] {ans} } = arr2; + `checkh(ans, bit6); + ans_enum = enum_t'({ << bit[1:0] {arr2} }); `checkh(ans_enum, bit6); @@ -82,6 +94,9 @@ module t (/*AUTOARG*/); ans = { >> bit[5:0] {arr6} }; `checkh(ans, bit6); + { >> bit[5:0] {ans} } = arr6; + `checkh(ans, bit6); + ans_enum = enum_t'({ >> bit[5:0] {arr6} }); `checkh(ans_enum, bit6); @@ -94,6 +109,9 @@ module t (/*AUTOARG*/); ans = { << bit[5:0] {arr6} }; `checkh(ans, bit6); + { << bit[5:0] {ans} } = arr6; + `checkh(ans, bit6); + ans_enum = enum_t'({ << bit[5:0] {arr6} }); `checkh(ans_enum, bit6);