Xilinx RocketIO User Manual page 60

Hide thumbs Also See for RocketIO:
Table of Contents

Advertisement

R
Verilog Template
60
end if;
end process;
end RTL;
// Module:
gt_reset
// Description: Verilog Submodule
//
reset for4-byte GT
//
// Device:
Virtex-II Pro Family
module gt_reset(
USRCLK2_M,
DCM_LOCKED,
RST
);
input
USRCLK2_M;
input
DCM_LOCKED;
output
RST;
wire
USRCLK2_M;
wire
DCM_LOCKED;
reg
RST;
reg [7:0]
startup_counter;
always @ ( posedge USRCLK2_M )
if ( !DCM_LOCKED )
startup_counter <= 8'h0;
else if ( startup_counter != 8'h02 )
startup_counter <= startup_counter + 1;
always @ ( posedge USRCLK2_M or negedge DCM_LOCKED )
if ( !DCM_LOCKED )
RST <= 1'b1;
else
RST <= ( startup_counter != 8'h02 );
endmodule
www.xilinx.com
1-800-255-7778
Chapter 2: Digital Design Considerations
RocketIO™ Transceiver User Guide
UG024 (v2.3.2) June 24, 2004

Advertisement

Table of Contents
loading

Table of Contents