module queues;
bit [7:0] a[$];
bit [7:0] d_array[];
initial begin
for (int i=0; i<140; i++)
a.push_back(i);
a.push_back(140);
a.push_front(144);
foreach(a[i]) $display("\tValue of a[%0d]=%0d",i , a[i]);
$display("----- Queue size is %0d -----",a.size());
end
initial begin
d_array = { >> {a}};
$display(" Dynamic array = %0p ", d_array);
end
endmodule
Error: design.sv:19: sorry: Streaming concatenation not supported. Exit code expected: 0, received:
- I want to copy my queue 'a' into dynamic array and print it.
- Next, I want to copy my dynamic array into another queue (b).
- Then copy this queue (b) partially into queue (c) and print it and implement "Access Random queue Entry".