eFEX firmware  1.7.3
ATLAS l1-calo - electron and tau feature extraction firmware for eFEX boards

Back to eFEX documentation
efex_aurora_hub2_clock_module.vhd
1 -- (c) Copyright 2008 Xilinx, Inc. All rights reserved.
2 --
3 -- This file contains confidential and proprietary information
4 -- of Xilinx, Inc. and is protected under U.S. and
5 -- international copyright and other intellectual property
6 -- laws.
7 --
8 -- DISCLAIMER
9 -- This disclaimer is not a license and does not grant any
10 -- rights to the materials distributed herewith. Except as
11 -- otherwise provided in a valid license issued to you by
12 -- Xilinx, and to the maximum extent permitted by applicable
13 -- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND
14 -- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES
15 -- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
16 -- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-
17 -- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and
18 -- (2) Xilinx shall not be liable (whether in contract or tort,
19 -- including negligence, or under any other theory of
20 -- liability) for any loss or damage of any kind or nature
21 -- related to, arising under or in connection with these
22 -- materials, including for any direct, or any indirect,
23 -- special, incidental, or consequential loss or damage
24 -- (including loss of data, profits, goodwill, or any type of
25 -- loss or damage suffered as a result of any action brought
26 -- by a third party) even if such damage or loss was
27 -- reasonably foreseeable or Xilinx had been advised of the
28 -- possibility of the same.
29 --
30 -- CRITICAL APPLICATIONS
31 -- Xilinx products are not designed or intended to be fail-
32 -- safe, or for use in any application requiring fail-safe
33 -- performance, such as life-support or safety devices or
34 -- systems, Class III medical devices, nuclear facilities,
35 -- applications related to the deployment of airbags, or any
36 -- other applications that could lead to death, personal
37 -- injury, or severe property or environmental damage
38 -- (individually and collectively, "Critical
39 -- Applications"). Customer assumes the sole risk and
40 -- liability of any use of Xilinx products in Critical
41 -- Applications, subject only to applicable laws and
42 -- regulations governing limitations on product liability.
43 --
44 -- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS
45 -- PART OF THIS FILE AT ALL TIMES.
46 --
47 --
48 
49 --
50 -- CLOCK_MODULE
51 --
52 --
53 --
54 -- Description: A module provided as a convenience for desingners using 4-byte
55 -- lane Aurora Modules. This module takes the V5 reference clock as
56 -- input, and produces a fabric clock on a global clock net suitable
57 -- for driving application logic connected to the Aurora User Interface.
58 --
59 
60 library IEEE;
61 use IEEE.STD_LOGIC_1164.all;
62 use IEEE.NUMERIC_STD.all;
63 
64 -- synthesis translate_off
65 library UNISIM;
66 use UNISIM.VCOMPONENTS.ALL;
67 -- synthesis translate_on
68 
70 
71  port (
72  -- INIT_CLK_P : in std_logic;
73  -- INIT_CLK_N : in std_logic;
74  INIT_CLK : in std_logic;
75  INIT_CLK_O : out std_logic;
76  GT_CLK : in std_logic;
77  GT_CLK_LOCKED : in std_logic;
78  USER_CLK : out std_logic;
79  SYNC_CLK : out std_logic;
80  PLL_NOT_LOCKED : out std_logic
81 
82  );
83 
85 
87  attribute core_generation_info : string;
88  attribute core_generation_info of MAPPED : architecture is "efex_aurora_hub2,aurora_8b10b_v11_1_2,{user_interface=AXI_4_Streaming,backchannel_mode=Timer,c_aurora_lanes=4,c_column_used=left,c_gt_clock_1=GTHQ3,c_gt_clock_2=None,c_gt_loc_1=X,c_gt_loc_10=X,c_gt_loc_11=X,c_gt_loc_12=X,c_gt_loc_13=X,c_gt_loc_14=4,c_gt_loc_15=2,c_gt_loc_16=3,c_gt_loc_17=1,c_gt_loc_18=X,c_gt_loc_19=X,c_gt_loc_2=X,c_gt_loc_20=X,c_gt_loc_21=X,c_gt_loc_22=X,c_gt_loc_23=X,c_gt_loc_24=X,c_gt_loc_25=X,c_gt_loc_26=X,c_gt_loc_27=X,c_gt_loc_28=X,c_gt_loc_29=X,c_gt_loc_3=X,c_gt_loc_30=X,c_gt_loc_31=X,c_gt_loc_32=X,c_gt_loc_33=X,c_gt_loc_34=X,c_gt_loc_35=X,c_gt_loc_36=X,c_gt_loc_37=X,c_gt_loc_38=X,c_gt_loc_39=X,c_gt_loc_4=X,c_gt_loc_40=X,c_gt_loc_41=X,c_gt_loc_42=X,c_gt_loc_43=X,c_gt_loc_44=X,c_gt_loc_45=X,c_gt_loc_46=X,c_gt_loc_47=X,c_gt_loc_48=X,c_gt_loc_5=X,c_gt_loc_6=X,c_gt_loc_7=X,c_gt_loc_8=X,c_gt_loc_9=X,c_lane_width=2,c_line_rate=64120,c_nfc=false,c_nfc_mode=IMM,c_refclk_frequency=160300,c_simplex=true,c_simplex_mode=TX,c_stream=false,c_ufc=true,flow_mode=UFC,interface_mode=Framing,dataflow_config=TX-only_Simplex}";
89 
90  component IBUFDS
91  port (
92 
93  O : out std_ulogic;
94  I : in std_ulogic;
95  IB : in std_ulogic);
96 
97  end component;
98 
99 
100 -- External Register Declarations --
101 
102 
103  component BUFG
104 
105  port (
106 
107  O : out std_ulogic;
108  I : in std_ulogic
109 
110  );
111 
112  end component;
113 
114  signal user_clk_i : std_logic;
115  signal INIT_CLK_I : std_logic;
116 
117 begin
118 
119 
120 
121  USER_CLK <= user_clk_i;
122  SYNC_CLK <= user_clk_i;
123  PLL_NOT_LOCKED <= not GT_CLK_LOCKED;
124 
125  -- The User Clock is distributed on a global clock net.
126  user_clk_buf_i : BUFG
127 
128  port map (
129 
130  I => GT_CLK,
131  O => user_clk_i
132 
133  );
134 -- init_clk_ibufg_i : IBUFDS
135 -- port map (
136 -- I => INIT_CLK_P,
137 -- IB => INIT_CLK_N,
138 -- O => INIT_CLK_I
139 -- );
140 
141  init_clk_buf_i : BUFG
142  port map
143  (
144  -- I => INIT_CLK_I,
145  I => INIT_CLK,
146  O => INIT_CLK_O
147  );
148 
149 end MAPPED;