1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00
oh/xilibs/dv/IDELAYCTRL.v
2020-01-28 18:12:57 -05:00

27 lines
481 B
Verilog

/*An empty IDELAYCTRL model*/
module IDELAYCTRL (/*AUTOARG*/
// Outputs
RDY,
// Inputs
REFCLK, RST
);
output RDY; //goes high when delay has been calibrated
input REFCLK; //reference clock for setting tap delay
input RST; //reset pulse for setting
reg RDY;
always @ (posedge REFCLK or posedge RST)
if(RST)
RDY <= 1'b0;
else
RDY <= 1'b1; //one clock cycle on REFCLK
endmodule // IDELAYCTRL