data/full_repos/permissive/143278/ivltests/event_list.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b'%Error: data/full_repos/permissive/143278/ivltests/event_list.v:25: Unsupported: event data types\n   event event_1, event_2;\n   ^~~~~\n%Error: data/full_repos/permissive/143278/ivltests/event_list.v:38: syntax error, unexpected ->\n      #1  -> event_1;\n          ^~\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/event_list.v:38: Unsupported: Ignoring delay on this delayed statement.\n      #1  -> event_1;\n      ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/event_list.v:40: Unsupported: Ignoring delay on this delayed statement.\n      #1\n      ^\n%Error: data/full_repos/permissive/143278/ivltests/event_list.v:60: syntax error, unexpected ->\n      #1  -> event_2;\n          ^~\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/event_list.v:60: Unsupported: Ignoring delay on this delayed statement.\n      #1  -> event_2;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/event_list.v:62: Unsupported: Ignoring delay on this delayed statement.\n      #1\n      ^\n%Error: Exiting due to 3 error(s), 4 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module main ();

   reg flag1, flag2, flag12;
   event event_1, event_2;

   always @ event_1  flag1 = ~flag1;

   always @ event_2  flag2 = ~flag2;

   always @(event_1 or event_2) flag12 = ~flag12;

   initial begin
      flag1 = 0;
      flag2 = 0;
      flag12 = 0;

      #1  -> event_1;

      #1
	if (flag1 !== 1) begin
	   $display("FAILED -- event_1 didn't trigger flag1");
	   $finish;
	end

        if (flag2 !== 0) begin
	   $display("FAILED -- event_1 DID trigger flag2");
	   $finish;
	end

        if (flag12 !== 1) begin
	   $display("FAILED -- event_1 didn't trigger flag12");
	   $finish;
	end

      flag1 = 0;
      flag2 = 0;
      flag12 = 0;

      #1  -> event_2;

      #1
	if (flag1 !== 0) begin
	   $display("FAILED -- event_2 DID trigger flag1");
	   $finish;
	end

        if (flag2 !== 1) begin
	   $display("FAILED -- event_2 didn't trigger flag2");
	   $finish;
	end

        if (flag12 !== 1) begin
	   $display("FAILED -- event_1 didn't trigger flag12");
	   $finish;
	end


      $display("PASSED");
   end

endmodule
module main ();


   reg flag1, flag2, flag12;
   event event_1, event_2;

   always @ event_1  flag1 = ~flag1;

   always @ event_2  flag2 = ~flag2;

   always @(event_1 or event_2) flag12 = ~flag12;

   initial begin
      flag1 = 0;
      flag2 = 0;
      flag12 = 0;

      #1  -> event_1;

      #1
	if (flag1 !== 1) begin
	   $display("FAILED -- event_1 didn't trigger flag1");
	   $finish;
	end

        if (flag2 !== 0) begin
	   $display("FAILED -- event_1 DID trigger flag2");
	   $finish;
	end

        if (flag12 !== 1) begin
	   $display("FAILED -- event_1 didn't trigger flag12");
	   $finish;
	end

      flag1 = 0;
      flag2 = 0;
      flag12 = 0;

      #1  -> event_2;

      #1
	if (flag1 !== 0) begin
	   $display("FAILED -- event_2 DID trigger flag1");
	   $finish;
	end

        if (flag2 !== 1) begin
	   $display("FAILED -- event_2 didn't trigger flag2");
	   $finish;
	end

        if (flag12 !== 1) begin
	   $display("FAILED -- event_1 didn't trigger flag12");
	   $finish;
	end


      $display("PASSED");
   end

endmodule