data/full_repos/permissive/123318949/08 - Ready-made OR gate/tb_or_gate.v
1: b'%Error: Invalid Option: -\n'
module test (
  input [9:0] in,
  input out
  );

  integer file, i, j;
  reg checked = 1'b0;

  initial begin
    file = $fopen("/home/lsriw/sr/piotrpalka/lut.txt", "wb");
    for (i = 0; i < 1024; i = i + 1) begin
      #2;
      for (j = 0; j < 10; j = j + 1) begin
        checked = checked | in[j];
      end
      if (checked != out)
        $fwrite(file, "Error in: %d\n", in);
    end
    $fclose(file);
    end

endmodule
module test (
  input [9:0] in,
  input out
  );


  integer file, i, j;
  reg checked = 1'b0;

  initial begin
    file = $fopen("/home/lsriw/sr/piotrpalka/lut.txt", "wb");
    for (i = 0; i < 1024; i = i + 1) begin
      #2;
      for (j = 0; j < 10; j = j + 1) begin
        checked = checked | in[j];
      end
      if (checked != out)
        $fwrite(file, "Error in: %d\n", in);
    end
    $fclose(file);
    end

endmodule