data/full_repos/permissive/161356276/hdl/rtl/hpdmc/spartan6/hpdmc_iodelay.v
1: b"%Error: data/full_repos/permissive/161356276/hdl/rtl/hpdmc/spartan6/hpdmc_iodelay.v:45: Cannot find file containing module: 'IODELAY2'\n        IODELAY2 #(\n        ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/161356276/hdl/rtl/hpdmc/spartan6,data/full_repos/permissive/161356276/IODELAY2\n             data/full_repos/permissive/161356276/hdl/rtl/hpdmc/spartan6,data/full_repos/permissive/161356276/IODELAY2.v\n             data/full_repos/permissive/161356276/hdl/rtl/hpdmc/spartan6,data/full_repos/permissive/161356276/IODELAY2.sv\n             IODELAY2\n             IODELAY2.v\n             IODELAY2.sv\n             obj_dir/IODELAY2\n             obj_dir/IODELAY2.v\n             obj_dir/IODELAY2.sv\n%Error: Exiting due to 1 error(s)\n"
module hpdmc_iodelay #(
	parameter ODELAY_VALUE = 30,
                       parameter size = 2,
                       parameter DELAY_SRC = "IO"
) (

	input [size-1:0] IDATAIN,
	output [size-1:0] DATAOUT,

	input [size-1:0] T,
	output [size-1:0] TOUT,
	input [size-1:0] ODATAIN,
	output [size-1:0] DOUT,

	input INC,
	input CE,
	input RST,
	input CAL,
	input CLK,
	input IOCLK0,
	input IOCLK1
);

   genvar     i;
   
   generate
      for(i=0;i<size;i=i+1)
        IODELAY2 #(
	           .DELAY_SRC(DELAY_SRC),
	           .IDELAY_TYPE("VARIABLE_FROM_ZERO"),
	           .DATA_RATE("DDR"),
	           .ODELAY_VALUE(ODELAY_VALUE)
                   ) idelay (
	                      .IDATAIN(IDATAIN[i]),
	                     .DATAOUT(DATAOUT[i]),
	                     .T(T[i]),
	                     .TOUT(TOUT[i]),
	                     .ODATAIN(ODATAIN[i]),
	                     .DOUT(DOUT[i]),
	                     
	                     .INC(INC),
	                     .CE(CE),
	                     .RST(RST),
	                     .CLK(CLK),
	                     .IOCLK0(IOCLK0),
	                     .IOCLK1(IOCLK1),
	                     .CAL(CAL)
                             );
   endgenerate
   

endmodule
module hpdmc_iodelay #(
	parameter ODELAY_VALUE = 30,
                       parameter size = 2,
                       parameter DELAY_SRC = "IO"
) (

	input [size-1:0] IDATAIN,
	output [size-1:0] DATAOUT,

	input [size-1:0] T,
	output [size-1:0] TOUT,
	input [size-1:0] ODATAIN,
	output [size-1:0] DOUT,

	input INC,
	input CE,
	input RST,
	input CAL,
	input CLK,
	input IOCLK0,
	input IOCLK1
);


   genvar     i;
   
   generate
      for(i=0;i<size;i=i+1)
        IODELAY2 #(
	           .DELAY_SRC(DELAY_SRC),
	           .IDELAY_TYPE("VARIABLE_FROM_ZERO"),
	           .DATA_RATE("DDR"),
	           .ODELAY_VALUE(ODELAY_VALUE)
                   ) idelay (
	                      .IDATAIN(IDATAIN[i]),
	                     .DATAOUT(DATAOUT[i]),
	                     .T(T[i]),
	                     .TOUT(TOUT[i]),
	                     .ODATAIN(ODATAIN[i]),
	                     .DOUT(DOUT[i]),
	                     
	                     .INC(INC),
	                     .CE(CE),
	                     .RST(RST),
	                     .CLK(CLK),
	                     .IOCLK0(IOCLK0),
	                     .IOCLK1(IOCLK1),
	                     .CAL(CAL)
                             );
   endgenerate
   

endmodule