Hi,
As I attempt to perform stream operation as below,
bit[3:0] v_b[16];
bit[31:0] v_a;
v_a = { << $size(v_b, 2) {v_a}};
It will give the error message "*E,SOSSZI Slice size for streaming concatenation expression has an illegal value".
But if try the following code,
v_a = { << $size(v_b) {v_a}};
It can pass the compilation.
BTW, both of the code above can pass compilation on Questasim.
Anyone can give some explanation?
Thanks.