This is my program,
class a;
int a=0;
mailbox mbx=new();
task call();
repeat(10)
begin
a=a++;
mbx.put(a);
end
endtask
endclass
module tb();
a aa=new();
initial
begin
aa.call();
$display("mailbox=%p",aa.mbx);
end
endmodule
When I run the above program I am not getting the mailbox contents.