Example 1A: Two-Byte Clock With Dcm - Xilinx RocketIO User Manual

Hide thumbs Also See for RocketIO:
Table of Contents

Advertisement

R

Example 1a: Two-Byte Clock with DCM

The following HDL codes are examples of a simple clock scheme using 2-byte data with both
USRCLK and USRCLK2 at the same frequency. USRCLK_M is the input for both USRCLK and
USRCLK2.
Clocks for 2-Byte Data Path
VHDL Template
44
REFCLK
TXUSRCLK
RXUSRCLK
TXUSRCLK2
RXUSRCLK2
Figure 2-2: Two-Byte Clock with DCM
-- Module:
TWO_BYTE_CLK
-- Description:
VHDL submodule
--
DCM for 2-byte GT
--
-- Device:
Virtex-II Pro Family
---------------------------------------------------------------------
library IEEE;
use IEEE.std_logic_1164.all;
--
-- pragma translate_off
library UNISIM;
use UNISIM.VCOMPONENTS.ALL;
-- pragma translate_on
--
entity TWO_BYTE_CLK is
port (
REFCLKIN
: in std_logic;
RST
: in std_logic;
USRCLK_M
: out std_logic;
REFCLK
: out std_logic;
LOCK
: out std_logic
);
end TWO_BYTE_CLK;
--
architecture TWO_BYTE_CLK_arch of TWO_BYTE_CLK is
--
-- Components Declarations:
component BUFG
port (
I : in std_logic;
O : out std_logic
);
end component;
--
component IBUFG
port (
I : in std_logic;
www.xilinx.com
1-800-255-7778
Chapter 2: Digital Design Considerations
MGT + DCM for 2-Byte Data Path
IBUFGDS
REFCLK_P
CLKIN
REFCLK_N
CLKFB
RST
GT_std_2
0
REFCLKSEL
DCM
REFCLK
TXUSRCLK2
RXUSRCLK2
TXUSRCLK
RXUSRCLK
CLK0
BUFG
ug024_02a_112202
RocketIO™ Transceiver User Guide
UG024 (v2.3.2) June 24, 2004

Advertisement

Table of Contents
loading

Table of Contents