module top; parameter amax = 9; reg [31:0] mem [amax:0]; integer i, tmp; integer fail [amax:0]; integer pass; initial begin pass = 1; for (i=0; i