In reply to dave_59:
I’m trying the following code:
rand bit [5:0] multi_array [0:2][0:2];
..
..
{>>{linear_array}} = multi_array;
{<<{linear_array_ii}} = multi_array;
I get the following results:
multi_array = '{'{'h31, 'h33, 'h1b}, '{'h3a, 'h20, 'h39}, '{'h3b, 'h1f, 'h12}}
linear_array = '{'h3b, 'h3a, 'h39, 'h33, 'h31, 'h20, 'h1f, 'h1b, 'h12}
linear_array_ii = '{'h12, 'h3e, 'h37, 'h27, 'h1, 'h17, 'h36, 'h33, 'h23}
linear_array_ii shows entirely different entries compared to multi_array.
for ex:- 'h37, 'h1, 'h27 etc., are not present in multi_array entries.
Could you help explaining what is the difference between LHS and RHS streaming operator.
Thank you.