Testing is a huge part of digital design -- and generally the most expensive part. Here are a few links to things about testing.
module memory();
reg [15:0] mem[0:256];
integer a;
initial begin
$readmemh("mem.vmem", mem);
for (a=0; a<256; a=a+1) begin
$display("%x:\t%x", a, mem[a]);
end
end
endmodule
@0001 1234 5678 @0010 abcd