1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00
oh/xilibs/dv/IDELAYCTRL.v
aolofsson 289024fd89 Flattening directory tree (again)
- Creating an arbitrary 'src' directory really doesn't help much...
- Goal is to make each folder self contained
- Make meta repos and individual repos have the same directory structure
2022-06-21 14:48:48 -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