`timescale 1ns/1ps
module m_top
(
input GCLK,//100MHz,Y9
input [7:0] i_in1,
output o_out1,
output reg o_out2,
inout io_data
);
reg hh [2:0][1:0] ;
reg [2:0]hh2[1:0] ;
always @(negedge GCLK)begin
hh[1][1]=3'b1;
$display("%b",hh);//Memory hh is not a legal argument for printing.
hh2[1][1]=3'b1;
$display("%b",hh2);// Memory hh2 is not a legal argument for printing.
end
endmodule
I want to know the value of hh in Verilog 2011(not system verilog),but is not a legal argument for printing,how to achieve it?