data/full_repos/permissive/12496495/ticket-machine/systemverilog/TicketMachineTestBench.sv
 line:14: before: ":"
1: b"%Error: data/full_repos/permissive/12496495/ticket-machine/systemverilog/TicketMachineTestBench.sv:14: syntax error, unexpected IDENTIFIER, expecting PACKAGE-IDENTIFIER or STRING\n  import definitions::*;\n         ^~~~~~~~~~~\n%Error: data/full_repos/permissive/12496495/ticket-machine/systemverilog/TicketMachineTestBench.sv:25: syntax error, unexpected '@'\n  forever @(posedge Clock) begin \n          ^\n%Error: Cannot continue\n"
module TestBench;

  reg Clock, Clear, Ten, Twenty;
  wire Ready, Bill, Dispense, Return;

  import definitions::*;
  
  TicketVendorBotOneHot TFSM(Clock, Clear, Ten, Twenty, Ready, Bill, Dispense, Return);
  




  initial
  begin
  $display("              Time          Ten   Twenty    Ready   Dispense   Return   Bill   State");
  forever @(posedge Clock) begin 
  #1
  $display($time, "  %s    %b    %b        %b         %b         %b        %b     %s",Testcase,Ten,Twenty,Ready,Dispense,Return,Bill,State);
  end
  end





  initial
  begin
  Clock = FALSE;
  forever #CLOCK_WIDTH Clock = ~Clock;
  end





  initial
  begin

  Clear = 1;
  repeat (2) @(negedge Clock); 
  Clear = 0;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b00;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b11;

  $stop;
  $finish;
  end

endmodule
module TestBench;


  reg Clock, Clear, Ten, Twenty;
  wire Ready, Bill, Dispense, Return;

  import definitions::*;
  
  TicketVendorBotOneHot TFSM(Clock, Clear, Ten, Twenty, Ready, Bill, Dispense, Return);
  




  initial
  begin
  $display("              Time          Ten   Twenty    Ready   Dispense   Return   Bill   State");
  forever @(posedge Clock) begin 
  #1
  $display($time, "  %s    %b    %b        %b         %b         %b        %b     %s",Testcase,Ten,Twenty,Ready,Dispense,Return,Bill,State);
  end
  end





  initial
  begin
  Clock = FALSE;
  forever #CLOCK_WIDTH Clock = ~Clock;
  end





  initial
  begin

  Clear = 1;
  repeat (2) @(negedge Clock); 
  Clear = 0;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b10;
  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b01;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b00;

  Testcase = Testcase.next;

  repeat (1) @(negedge Clock); {Ten,Twenty} = 2'b11;

  $stop;
  $finish;
  end

endmodule