bit [3:0][7:0] check[3];
check[2]=32’d54545454;
check[1]=$urandom;
check[0]=32’b0;
- I have created a multidimensional array having mentioned configuration. Each position is storing value. Now I want to display any slice or any
element or any bit.
I went through some articles. I got the following command .
$displayh(check[0][3] , check[2] , check[0][0][5]);
- As far as I know , $display and %p are used to display a packet.
$display(“%p , %p , %0d”,check[0][3],check[2],check[0][0][5]);
- Are these commands same ?