data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v
 line:57: before: "$"
1: b'%Error: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:28: Unsupported or unknown PLI call: $ivlh_rising_edge\n      if ($ivlh_rising_edge(a))\n          ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:30: Unsupported or unknown PLI call: $ivlh_falling_edge\n      if ($ivlh_falling_edge(a))\n          ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:33: Unsupported or unknown PLI call: $ivlh_rising_edge\n      if ($ivlh_rising_edge(b))\n          ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:35: Unsupported or unknown PLI call: $ivlh_falling_edge\n      if ($ivlh_falling_edge(b))\n          ^~~~~~~~~~~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:40: Unsupported: Ignoring delay on this delayed statement.\n      #1 a <= 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/ivlh_rising_falling.v:41: Unsupported: Ignoring delay on this delayed statement.\n      #1 b <= 1;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:43: Unsupported: Ignoring delay on this delayed statement.\n      #1 a <= 0;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:44: Unsupported: Ignoring delay on this delayed statement.\n      #1 b <= 0;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:46: Unsupported: Ignoring delay on this delayed statement.\n      #1 a <= 0;     \n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:47: Unsupported: Ignoring delay on this delayed statement.\n      #1 b <= 0;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:49: Unsupported: Ignoring delay on this delayed statement.\n      #1 a <= 1;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:50: Unsupported: Ignoring delay on this delayed statement.\n      #1 b <= 1;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:52: Unsupported: Ignoring delay on this delayed statement.\n      #1 a <= 1;     \n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:53: Unsupported: Ignoring delay on this delayed statement.\n      #1 b <= 1;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:55: Unsupported: Ignoring delay on this delayed statement.\n      #1 a <= 0;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:56: Unsupported: Ignoring delay on this delayed statement.\n      #1 b <= 0;\n      ^\n%Warning-STMTDLY: data/full_repos/permissive/143278/ivltests/ivlh_rising_falling.v:57: Unsupported: Ignoring delay on this delayed statement.\n      #1 $finish(0);\n      ^\n%Error: Exiting due to 4 error(s), 13 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module main;

   reg a, b;

   always @(a or b) begin
      if ($ivlh_rising_edge(a))
	$display("%0t: rising_edge(a)", $time);
      if ($ivlh_falling_edge(a))
	$display("%0t: falling_edge(a)", $time);

      if ($ivlh_rising_edge(b))
	$display("%0t: rising_edge(b)", $time);
      if ($ivlh_falling_edge(b))
	$display("%0t: falling_edge(b)", $time);
   end

   initial begin
      #1 a <= 1;
      #1 b <= 1;

      #1 a <= 0;
      #1 b <= 0;

      #1 a <= 0;
      #1 b <= 0;

      #1 a <= 1;
      #1 b <= 1;

      #1 a <= 1;
      #1 b <= 1;

      #1 a <= 0;
      #1 b <= 0;
      #1 $finish(0);
   end

endmodule
module main;


   reg a, b;

   always @(a or b) begin
      if ($ivlh_rising_edge(a))
	$display("%0t: rising_edge(a)", $time);
      if ($ivlh_falling_edge(a))
	$display("%0t: falling_edge(a)", $time);

      if ($ivlh_rising_edge(b))
	$display("%0t: rising_edge(b)", $time);
      if ($ivlh_falling_edge(b))
	$display("%0t: falling_edge(b)", $time);
   end

   initial begin
      #1 a <= 1;
      #1 b <= 1;

      #1 a <= 0;
      #1 b <= 0;

      #1 a <= 0;
      #1 b <= 0;

      #1 a <= 1;
      #1 b <= 1;

      #1 a <= 1;
      #1 b <= 1;

      #1 a <= 0;
      #1 b <= 0;
      #1 $finish(0);
   end

endmodule