data/full_repos/permissive/106408053/verilog/async_fifo.v
 line:109: before: "."
1: b'%Error: data/full_repos/permissive/106408053/verilog/async_fifo.v:175: Cannot find include file: gray.v\n`include "gray.v" \n         ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/106408053/verilog,data/full_repos/permissive/106408053/gray.v\n             data/full_repos/permissive/106408053/verilog,data/full_repos/permissive/106408053/gray.v.v\n             data/full_repos/permissive/106408053/verilog,data/full_repos/permissive/106408053/gray.v.sv\n             gray.v\n             gray.v.v\n             gray.v.sv\n             obj_dir/gray.v\n             obj_dir/gray.v.v\n             obj_dir/gray.v.sv\n%Error: data/full_repos/permissive/106408053/verilog/async_fifo.v:306: Cannot find include file: gray.v\n`include "gray.v" \n         ^~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/106408053/verilog/async_fifo.v:225: Unsupported: Ignoring delay on this delayed statement.\n  #1;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/106408053/verilog/async_fifo.v:253: Unsupported: Ignoring delay on this delayed statement.\n          #1; \n          ^\n%Warning-STMTDLY: data/full_repos/permissive/106408053/verilog/async_fifo.v:266: Unsupported: Ignoring delay on this delayed statement.\n  #1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/106408053/verilog/async_fifo.v:353: Unsupported: Ignoring delay on this delayed statement.\n  #1;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/106408053/verilog/async_fifo.v:387: Unsupported: Ignoring delay on this delayed statement.\n  #1;\n  ^\n%Error: Exiting due to 2 error(s), 5 warning(s)\n'
module async_fifo (
  wrclk, wrreset, rdclk, rdreset,

  space_avail, wrenb, wrdata,

  read_req, data_avail, 
  data_valid, data_out);

parameter ASYNC_FIFO_MAXINDEX = 3;
parameter ASYNC_FIFO_MAXDATA = 31;
parameter ASYNC_FIFO_FULLTHRESHOLD = 4;

input wrclk, wrreset;
input rdclk, rdreset;


output space_avail;
input wrenb;
input [ASYNC_FIFO_MAXDATA:0] wrdata;


input read_req;
output data_avail, data_valid;
output [ASYNC_FIFO_MAXDATA:0] data_out;

wire [ASYNC_FIFO_MAXINDEX+1:0] stable_wrptr, stable_rdptr;
wire [ASYNC_FIFO_MAXINDEX:0] ram_wraddr, ram_rdaddr;
wire [ASYNC_FIFO_MAXDATA:0] ram_wrdata, ram_rddata;




async_fifo_ram ram (
  wrclk, rdclk, 
  ram_wrenb, ram_wraddr, ram_wrdata, 
  ram_rdenb, ram_rdaddr, ram_rddata);

defparam ram.ASYNC_FIFO_MAXINDEX = ASYNC_FIFO_MAXINDEX;
defparam ram.ASYNC_FIFO_MAXDATA = ASYNC_FIFO_MAXDATA;





async_fifo_wrpath wrpath (
  wrclk, wrreset, 
  space_avail, wrenb, wrdata,
  ram_wrenb, ram_wraddr, ram_wrdata,
  stable_wrptr, stable_rdptr);

defparam wrpath.ASYNC_FIFO_MAXINDEX = ASYNC_FIFO_MAXINDEX;
defparam wrpath.ASYNC_FIFO_MAXDATA = ASYNC_FIFO_MAXDATA;
defparam wrpath.ASYNC_FIFO_FULLTHRESHOLD = ASYNC_FIFO_FULLTHRESHOLD;





async_fifo_rdpath rdpath (
  rdclk, rdreset, 
  read_req, data_avail, 
  data_valid, data_out,
  ram_rdenb, ram_rdaddr, ram_rddata,
  stable_wrptr, stable_rdptr);

defparam rdpath.ASYNC_FIFO_MAXINDEX = ASYNC_FIFO_MAXINDEX;
defparam rdpath.ASYNC_FIFO_MAXDATA = ASYNC_FIFO_MAXDATA;

endmodule
module async_fifo (
  wrclk, wrreset, rdclk, rdreset,

  space_avail, wrenb, wrdata,

  read_req, data_avail, 
  data_valid, data_out);


parameter ASYNC_FIFO_MAXINDEX = 3;
parameter ASYNC_FIFO_MAXDATA = 31;
parameter ASYNC_FIFO_FULLTHRESHOLD = 4;

input wrclk, wrreset;
input rdclk, rdreset;


output space_avail;
input wrenb;
input [ASYNC_FIFO_MAXDATA:0] wrdata;


input read_req;
output data_avail, data_valid;
output [ASYNC_FIFO_MAXDATA:0] data_out;

wire [ASYNC_FIFO_MAXINDEX+1:0] stable_wrptr, stable_rdptr;
wire [ASYNC_FIFO_MAXINDEX:0] ram_wraddr, ram_rdaddr;
wire [ASYNC_FIFO_MAXDATA:0] ram_wrdata, ram_rddata;




async_fifo_ram ram (
  wrclk, rdclk, 
  ram_wrenb, ram_wraddr, ram_wrdata, 
  ram_rdenb, ram_rdaddr, ram_rddata);

defparam ram.ASYNC_FIFO_MAXINDEX = ASYNC_FIFO_MAXINDEX;
defparam ram.ASYNC_FIFO_MAXDATA = ASYNC_FIFO_MAXDATA;





async_fifo_wrpath wrpath (
  wrclk, wrreset, 
  space_avail, wrenb, wrdata,
  ram_wrenb, ram_wraddr, ram_wrdata,
  stable_wrptr, stable_rdptr);

defparam wrpath.ASYNC_FIFO_MAXINDEX = ASYNC_FIFO_MAXINDEX;
defparam wrpath.ASYNC_FIFO_MAXDATA = ASYNC_FIFO_MAXDATA;
defparam wrpath.ASYNC_FIFO_FULLTHRESHOLD = ASYNC_FIFO_FULLTHRESHOLD;





async_fifo_rdpath rdpath (
  rdclk, rdreset, 
  read_req, data_avail, 
  data_valid, data_out,
  ram_rdenb, ram_rdaddr, ram_rddata,
  stable_wrptr, stable_rdptr);

defparam rdpath.ASYNC_FIFO_MAXINDEX = ASYNC_FIFO_MAXINDEX;
defparam rdpath.ASYNC_FIFO_MAXDATA = ASYNC_FIFO_MAXDATA;

endmodule