1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-17 20:02:53 +08:00
oh/xilibs/hdl/IDELAYCTRL.v
Andreas Olofsson c60f9236da Adding hack model for RDY signal
-should probably last for more cycles thatn this?
2015-10-07 19:18:54 -04: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