data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v
1: b'%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:35: Unsupported or unknown PLI call: $monitor\n  $monitor ("req0=%b,req1=%b,gnt0=%b,gnt1=%b", req0,req1,gnt0,gnt1);\n  ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:40: Unsupported: Ignoring delay on this delayed statement.\n  #5 reset = 1;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:41: Unsupported: Ignoring delay on this delayed statement.\n  #15 reset = 0;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:42: Unsupported: Ignoring delay on this delayed statement.\n  #10 req0 = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:43: Unsupported: Ignoring delay on this delayed statement.\n  #10 req0 = 0;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:44: Unsupported: Ignoring delay on this delayed statement.\n  #10 req1 = 1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:45: Unsupported: Ignoring delay on this delayed statement.\n  #10 req1 = 0;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:46: Unsupported: Ignoring delay on this delayed statement.\n  #10 {req0,req1} = 2\'b11;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:47: Unsupported: Ignoring delay on this delayed statement.\n  #10 {req0,req1} = 2\'b00;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:48: Unsupported: Ignoring delay on this delayed statement.\n  #10 $finish;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/458737381/src/verilog-parser/tests/arbiter.v:52: Unsupported: Ignoring delay on this delayed statement.\n #5 clock = !clock;\n ^\n%Error: Exiting due to 1 error(s), 10 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module arbiter (
clock, 
reset, 
req_0,
req_1, 
gnt_0,
gnt_1
);

input clock, reset, req_0, req_1;
output gnt_0, gnt_1;

reg gnt_0, gnt_1;

always @ (posedge clock or posedge reset)
if (reset) begin
 gnt_0 <= 0;
 gnt_1 <= 0;
end else if (req_0) begin
  gnt_0 <= 1;
  gnt_1 <= 0;
end else if (req_1) begin
  gnt_0 <= 0;
  gnt_1 <= 1;
end

endmodule
module arbiter (
clock, 
reset, 
req_0,
req_1, 
gnt_0,
gnt_1
);


input clock, reset, req_0, req_1;
output gnt_0, gnt_1;

reg gnt_0, gnt_1;

always @ (posedge clock or posedge reset)
if (reset) begin
 gnt_0 <= 0;
 gnt_1 <= 0;
end else if (req_0) begin
  gnt_0 <= 1;
  gnt_1 <= 0;
end else if (req_1) begin
  gnt_0 <= 0;
  gnt_1 <= 1;
end

endmodule