data/full_repos/permissive/123318949/07 - State machine/tb_machine.v
1: b'%Error: Invalid Option: -\n'
module save (
  input in
  );

  integer file;
  reg [7:0] counter = 8'b00000000;
  wire data = in;

  initial begin
    file = $fopen("C:/Users/Piotr/Desktop/output.txt", "wb");
    for (counter = 0; counter < 56; counter = counter + 1) begin
      #2; $fwrite(file, "%d", data);
    end
    $fclose(file);
  end

endmodule
module save (
  input in
  );


  integer file;
  reg [7:0] counter = 8'b00000000;
  wire data = in;

  initial begin
    file = $fopen("C:/Users/Piotr/Desktop/output.txt", "wb");
    for (counter = 0; counter < 56; counter = counter + 1) begin
      #2; $fwrite(file, "%d", data);
    end
    $fclose(file);
  end

endmodule