Randomize a 2-dimensional array to generate below pattern:

In reply to Bharat.manvani:

replace the $display with following code:

  foreach(h_1.x[i])begin
    foreach(h_1.x[j])begin
      $write(h_1.x[i][j]);
    end
    $display("");
  end