AMC13
Firmwares for the different applications of the AMC13 uTCA board made at Boston University
 All Classes Variables
uhtr_trigpd.vhd
1 -------------------------------------------------------------------------------
2 -- ____ ____
3 -- / /\/ /
4 -- /___/ \ / Vendor: Xilinx
5 -- \ \ \/ Version : 2.7
6 -- \ \ Application : 7 Series FPGAs Transceivers Wizard
7 -- / / Filename : uhtr_trigpd.vhd
8 -- /___/ /\
9 -- \ \ / \
10 -- \___\/\___\
11 --
12 --
13 -- Module uHTR_trigPD (a GT Wrapper)
14 -- Generated by Xilinx 7 Series FPGAs Transceivers Wizard
15 --
16 --
17 -- (c) Copyright 2010-2012 Xilinx, Inc. All rights reserved.
18 --
19 -- This file contains confidential and proprietary information
20 -- of Xilinx, Inc. and is protected under U.S. and
21 -- international copyright and other intellectual property
22 -- laws.
23 --
24 -- DISCLAIMER
25 -- This disclaimer is not a license and does not grant any
26 -- rights to the materials distributed herewith. Except as
27 -- otherwise provided in a valid license issued to you by
28 -- Xilinx, and to the maximum extent permitted by applicable
29 -- law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND
30 -- WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES
31 -- AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING
32 -- BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-
33 -- INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and
34 -- (2) Xilinx shall not be liable (whether in contract or tort,
35 -- including negligence, or under any other theory of
36 -- liability) for any loss or damage of any kind or nature
37 -- related to, arising under or in connection with these
38 -- materials, including for any direct, or any indirect,
39 -- special, incidental, or consequential loss or damage
40 -- (including loss of data, profits, goodwill, or any type of
41 -- loss or damage suffered as a result of any action brought
42 -- by a third party) even if such damage or loss was
43 -- reasonably foreseeable or Xilinx had been advised of the
44 -- possibility of the same.
45 --
46 -- CRITICAL APPLICATIONS
47 -- Xilinx products are not designed or intended to be fail-
48 -- safe, or for use in any application requiring fail-safe
49 -- performance, such as life-support or safety devices or
50 -- systems, Class III medical devices, nuclear facilities,
51 -- applications related to the deployment of airbags, or any
52 -- other applications that could lead to death, personal
53 -- injury, or severe property or environmental damage
54 -- (individually and collectively, "Critical
55 -- Applications"). Customer assumes the sole risk and
56 -- liability of any use of Xilinx products in Critical
57 -- Applications, subject only to applicable laws and
58 -- regulations governing limitations on product liability.
59 --
60 -- THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS
61 -- PART OF THIS FILE AT ALL TIMES.
62 
63 
64 library ieee;
65 use ieee.std_logic_1164.all;
66 use ieee.numeric_std.all;
67 library UNISIM;
68 use UNISIM.VCOMPONENTS.ALL;
69 
70 
71 --***************************** Entity Declaration ****************************
72 
73 entity uHTR_trigPD is
74 generic
75 (
76  QPLL_FBDIV_TOP : integer := 16;
77 
78  -- Simulation attributes
79  WRAPPER_SIM_GTRESET_SPEEDUP : string := "FALSE"; -- Set to "true" to speed up sim reset
80  RX_DFE_KL_CFG2_IN : bit_vector := X"301148AC";
81  PMA_RSV_IN : bit_vector := x"00018480"
82 
83 );
84 port
85 (
86  --_________________________________________________________________________
87  --_________________________________________________________________________
88  --GT0 (X0Y12)
89  --____________________________CHANNEL PORTS________________________________
90  --------------------------------- CPLL Ports -------------------------------
91  GT0_CPLLFBCLKLOST_OUT : out std_logic;
92  GT0_CPLLLOCK_OUT : out std_logic;
93  GT0_CPLLLOCKDETCLK_IN : in std_logic;
94  GT0_CPLLREFCLKLOST_OUT : out std_logic;
95  GT0_CPLLRESET_IN : in std_logic;
96  -------------------------- Channel - Clocking Ports ------------------------
97  GT0_GTREFCLK0_IN : in std_logic;
98  ---------------------------- Channel - DRP Ports --------------------------
99  GT0_DRPADDR_IN : in std_logic_vector(8 downto 0);
100  GT0_DRPCLK_IN : in std_logic;
101  GT0_DRPDI_IN : in std_logic_vector(15 downto 0);
102  GT0_DRPDO_OUT : out std_logic_vector(15 downto 0);
103  GT0_DRPEN_IN : in std_logic;
104  GT0_DRPRDY_OUT : out std_logic;
105  GT0_DRPWE_IN : in std_logic;
106  ------------------------------ Power-Down Ports ----------------------------
107  GT0_RXPD_IN : in std_logic_vector(1 downto 0);
108  GT0_TXPD_IN : in std_logic_vector(1 downto 0);
109  --------------------- RX Initialization and Reset Ports --------------------
110  GT0_RXUSERRDY_IN : in std_logic;
111  -------------------------- RX Margin Analysis Ports ------------------------
112  GT0_EYESCANDATAERROR_OUT : out std_logic;
113  ------------------------- Receive Ports - CDR Ports ------------------------
114  GT0_RXCDRLOCK_OUT : out std_logic;
115  ------------------ Receive Ports - FPGA RX Interface Ports -----------------
116  GT0_RXUSRCLK_IN : in std_logic;
117  GT0_RXUSRCLK2_IN : in std_logic;
118  ------------------ Receive Ports - FPGA RX interface Ports -----------------
119  GT0_RXDATA_OUT : out std_logic_vector(31 downto 0);
120  ------------------- Receive Ports - Pattern Checker Ports ------------------
121  GT0_RXPRBSERR_OUT : out std_logic;
122  GT0_RXPRBSSEL_IN : in std_logic_vector(2 downto 0);
123  ------------------- Receive Ports - Pattern Checker ports ------------------
124  GT0_RXPRBSCNTRESET_IN : in std_logic;
125  ------------------ Receive Ports - RX 8B/10B Decoder Ports -----------------
126  GT0_RXDISPERR_OUT : out std_logic_vector(3 downto 0);
127  GT0_RXNOTINTABLE_OUT : out std_logic_vector(3 downto 0);
128  --------------------------- Receive Ports - RX AFE -------------------------
129  GT0_GTXRXP_IN : in std_logic;
130  ------------------------ Receive Ports - RX AFE Ports ----------------------
131  GT0_GTXRXN_IN : in std_logic;
132  -------------------- Receive Ports - RX Equailizer Ports -------------------
133  GT0_RXLPMHFHOLD_IN : in std_logic;
134  GT0_RXLPMLFHOLD_IN : in std_logic;
135  --------------- Receive Ports - RX Fabric Output Control Ports -------------
136  GT0_RXOUTCLK_OUT : out std_logic;
137  ------------- Receive Ports - RX Initialization and Reset Ports ------------
138  GT0_GTRXRESET_IN : in std_logic;
139  GT0_RXPMARESET_IN : in std_logic;
140  ------------------- Receive Ports - RX8B/10B Decoder Ports -----------------
141  GT0_RXCHARISK_OUT : out std_logic_vector(3 downto 0);
142  -------------- Receive Ports -RX Initialization and Reset Ports ------------
143  GT0_RXRESETDONE_OUT : out std_logic;
144  --------------------- TX Initialization and Reset Ports --------------------
145  GT0_GTTXRESET_IN : in std_logic;
146  GT0_TXUSERRDY_IN : in std_logic;
147  ------------------ Transmit Ports - FPGA TX Interface Ports ----------------
148  GT0_TXUSRCLK_IN : in std_logic;
149  GT0_TXUSRCLK2_IN : in std_logic;
150  ------------------ Transmit Ports - TX Data Path interface -----------------
151  GT0_TXDATA_IN : in std_logic_vector(31 downto 0);
152  ---------------- Transmit Ports - TX Driver and OOB signaling --------------
153  GT0_GTXTXN_OUT : out std_logic;
154  GT0_GTXTXP_OUT : out std_logic;
155  ----------- Transmit Ports - TX Fabric Clock Output Control Ports ----------
156  GT0_TXOUTCLK_OUT : out std_logic;
157  GT0_TXOUTCLKFABRIC_OUT : out std_logic;
158  GT0_TXOUTCLKPCS_OUT : out std_logic;
159  --------------------- Transmit Ports - TX Gearbox Ports --------------------
160  GT0_TXCHARISK_IN : in std_logic_vector(3 downto 0);
161  ------------- Transmit Ports - TX Initialization and Reset Ports -----------
162  GT0_TXRESETDONE_OUT : out std_logic;
163  ------------------ Transmit Ports - pattern Generator Ports ----------------
164  GT0_TXPRBSSEL_IN : in std_logic_vector(2 downto 0);
165 
166 
167  --____________________________COMMON PORTS________________________________
168  ---------------------- Common Block - Ref Clock Ports ---------------------
169  GT0_GTREFCLK0_COMMON_IN : in std_logic;
170  ------------------------- Common Block - QPLL Ports ------------------------
171  GT0_QPLLLOCK_OUT : out std_logic;
172  GT0_QPLLLOCKDETCLK_IN : in std_logic;
173  GT0_QPLLREFCLKLOST_OUT : out std_logic;
174  GT0_QPLLRESET_IN : in std_logic
175 
176 
177 );
178 
179 
180 end uHTR_trigPD;
181 
182 architecture RTL of uHTR_trigPD is
183 
184  attribute CORE_GENERATION_INFO : string;
185  attribute CORE_GENERATION_INFO of RTL : architecture is "uHTR_trigPD,gtwizard_v2_7,{protocol_file=Start_from_scratch}";
186 
187 
188 --***********************************Parameter Declarations********************
189 
190  constant DLY : time := 1 ns;
191 
192 --***************************** Signal Declarations *****************************
193 
194  -- ground and tied_to_vcc_i signals
195  signal tied_to_ground_i : std_logic;
196  signal tied_to_ground_vec_i : std_logic_vector(63 downto 0);
197  signal tied_to_vcc_i : std_logic;
198  signal gt0_qplloutclk_i : std_logic;
199  signal gt0_qplloutrefclk_i : std_logic;
200 
201 
202  signal gt0_mgtrefclktx_i : std_logic_vector(1 downto 0);
203  signal gt0_mgtrefclkrx_i : std_logic_vector(1 downto 0);
204 
205 
206  signal gt0_qpllclk_i : std_logic;
207  signal gt0_qpllrefclk_i : std_logic;
208 
209 
210 --*************************** Component Declarations **************************
211 component uHTR_trigPD_GT
212 generic
213 (
214  -- Simulation attributes
215  GT_SIM_GTRESET_SPEEDUP : string := "FALSE";
216  RX_DFE_KL_CFG2_IN : bit_vector := X"3010D90C";
217  PMA_RSV_IN : bit_vector := X"00000000";
218  PCS_RSVD_ATTR_IN : bit_vector := X"000000000000"
219 );
220 port
221 (
222  --------------------------------- CPLL Ports -------------------------------
223  CPLLFBCLKLOST_OUT : out std_logic;
224  CPLLLOCK_OUT : out std_logic;
225  CPLLLOCKDETCLK_IN : in std_logic;
226  CPLLREFCLKLOST_OUT : out std_logic;
227  CPLLRESET_IN : in std_logic;
228  -------------------------- Channel - Clocking Ports ------------------------
229  GTREFCLK0_IN : in std_logic;
230  ---------------------------- Channel - DRP Ports --------------------------
231  DRPADDR_IN : in std_logic_vector(8 downto 0);
232  DRPCLK_IN : in std_logic;
233  DRPDI_IN : in std_logic_vector(15 downto 0);
234  DRPDO_OUT : out std_logic_vector(15 downto 0);
235  DRPEN_IN : in std_logic;
236  DRPRDY_OUT : out std_logic;
237  DRPWE_IN : in std_logic;
238  ------------------------------- Clocking Ports -----------------------------
239  QPLLCLK_IN : in std_logic;
240  QPLLREFCLK_IN : in std_logic;
241  ------------------------------ Power-Down Ports ----------------------------
242  RXPD_IN : in std_logic_vector(1 downto 0);
243  TXPD_IN : in std_logic_vector(1 downto 0);
244  --------------------- RX Initialization and Reset Ports --------------------
245  RXUSERRDY_IN : in std_logic;
246  -------------------------- RX Margin Analysis Ports ------------------------
247  EYESCANDATAERROR_OUT : out std_logic;
248  ------------------------- Receive Ports - CDR Ports ------------------------
249  RXCDRLOCK_OUT : out std_logic;
250  ------------------ Receive Ports - FPGA RX Interface Ports -----------------
251  RXUSRCLK_IN : in std_logic;
252  RXUSRCLK2_IN : in std_logic;
253  ------------------ Receive Ports - FPGA RX interface Ports -----------------
254  RXDATA_OUT : out std_logic_vector(31 downto 0);
255  ------------------- Receive Ports - Pattern Checker Ports ------------------
256  RXPRBSERR_OUT : out std_logic;
257  RXPRBSSEL_IN : in std_logic_vector(2 downto 0);
258  ------------------- Receive Ports - Pattern Checker ports ------------------
259  RXPRBSCNTRESET_IN : in std_logic;
260  ------------------ Receive Ports - RX 8B/10B Decoder Ports -----------------
261  RXDISPERR_OUT : out std_logic_vector(3 downto 0);
262  RXNOTINTABLE_OUT : out std_logic_vector(3 downto 0);
263  --------------------------- Receive Ports - RX AFE -------------------------
264  GTXRXP_IN : in std_logic;
265  ------------------------ Receive Ports - RX AFE Ports ----------------------
266  GTXRXN_IN : in std_logic;
267  -------------------- Receive Ports - RX Equailizer Ports -------------------
268  RXLPMHFHOLD_IN : in std_logic;
269  RXLPMLFHOLD_IN : in std_logic;
270  --------------- Receive Ports - RX Fabric Output Control Ports -------------
271  RXOUTCLK_OUT : out std_logic;
272  ------------- Receive Ports - RX Initialization and Reset Ports ------------
273  GTRXRESET_IN : in std_logic;
274  RXPMARESET_IN : in std_logic;
275  ------------------- Receive Ports - RX8B/10B Decoder Ports -----------------
276  RXCHARISK_OUT : out std_logic_vector(3 downto 0);
277  -------------- Receive Ports -RX Initialization and Reset Ports ------------
278  RXRESETDONE_OUT : out std_logic;
279  --------------------- TX Initialization and Reset Ports --------------------
280  GTTXRESET_IN : in std_logic;
281  TXUSERRDY_IN : in std_logic;
282  ------------------ Transmit Ports - FPGA TX Interface Ports ----------------
283  TXUSRCLK_IN : in std_logic;
284  TXUSRCLK2_IN : in std_logic;
285  ------------------ Transmit Ports - TX Data Path interface -----------------
286  TXDATA_IN : in std_logic_vector(31 downto 0);
287  ---------------- Transmit Ports - TX Driver and OOB signaling --------------
288  GTXTXN_OUT : out std_logic;
289  GTXTXP_OUT : out std_logic;
290  ----------- Transmit Ports - TX Fabric Clock Output Control Ports ----------
291  TXOUTCLK_OUT : out std_logic;
292  TXOUTCLKFABRIC_OUT : out std_logic;
293  TXOUTCLKPCS_OUT : out std_logic;
294  --------------------- Transmit Ports - TX Gearbox Ports --------------------
295  TXCHARISK_IN : in std_logic_vector(3 downto 0);
296  ------------- Transmit Ports - TX Initialization and Reset Ports -----------
297  TXRESETDONE_OUT : out std_logic;
298  ------------------ Transmit Ports - pattern Generator Ports ----------------
299  TXPRBSSEL_IN : in std_logic_vector(2 downto 0)
300 
301 
302 );
303 end component;
304 
305 
306 
307 --*************************Logic to set Attribute QPLL_FB_DIV*****************************
308  impure function conv_qpll_fbdiv_top (qpllfbdiv_top : in integer) return bit_vector is
309  begin
310  if (qpllfbdiv_top = 16) then
311  return "0000100000";
312  elsif (qpllfbdiv_top = 20) then
313  return "0000110000" ;
314  elsif (qpllfbdiv_top = 32) then
315  return "0001100000" ;
316  elsif (qpllfbdiv_top = 40) then
317  return "0010000000" ;
318  elsif (qpllfbdiv_top = 64) then
319  return "0011100000" ;
320  elsif (qpllfbdiv_top = 66) then
321  return "0101000000" ;
322  elsif (qpllfbdiv_top = 80) then
323  return "0100100000" ;
324  elsif (qpllfbdiv_top = 100) then
325  return "0101110000" ;
326  else
327  return "0000000000" ;
328  end if;
329  end function;
330 
331  impure function conv_qpll_fbdiv_ratio (qpllfbdiv_top : in integer) return bit is
332  begin
333  if (qpllfbdiv_top = 16) then
334  return '1';
335  elsif (qpllfbdiv_top = 20) then
336  return '1' ;
337  elsif (qpllfbdiv_top = 32) then
338  return '1' ;
339  elsif (qpllfbdiv_top = 40) then
340  return '1' ;
341  elsif (qpllfbdiv_top = 64) then
342  return '1' ;
343  elsif (qpllfbdiv_top = 66) then
344  return '0' ;
345  elsif (qpllfbdiv_top = 80) then
346  return '1' ;
347  elsif (qpllfbdiv_top = 100) then
348  return '1' ;
349  else
350  return '1' ;
351  end if;
352  end function;
353 
354  constant QPLL_FBDIV_IN : bit_vector(9 downto 0) := conv_qpll_fbdiv_top(QPLL_FBDIV_TOP);
355  constant QPLL_FBDIV_RATIO : bit := conv_qpll_fbdiv_ratio(QPLL_FBDIV_TOP);
356 
357 --********************************* Main Body of Code**************************
358 
359 begin
360 
361  tied_to_ground_i <= '0';
362  tied_to_ground_vec_i(63 downto 0) <= (others => '0');
363  tied_to_vcc_i <= '1';
364 -- gt0_qpllclk_i <= gt0_qplloutclk_i;
365 -- gt0_qpllrefclk_i <= gt0_qplloutrefclk_i;
366  gt0_qpllclk_i <= '0';
367  gt0_qpllrefclk_i <= '0';
368 
369 
370 
371  --------------------------- GT Instances -------------------------------
372 
373  --_________________________________________________________________________
374  --_________________________________________________________________________
375  --GT0 (X0Y12)
376 
377  gt0_uHTR_trigPD_i : uHTR_trigPD_GT
378  generic map
379  (
380  -- Simulation attributes
381  GT_SIM_GTRESET_SPEEDUP => WRAPPER_SIM_GTRESET_SPEEDUP ,
382  RX_DFE_KL_CFG2_IN => RX_DFE_KL_CFG2_IN,
383  PMA_RSV_IN => PMA_RSV_IN,
384  PCS_RSVD_ATTR_IN => X"000000000000"
385  )
386  port map
387  (
388  --------------------------------- CPLL Ports -------------------------------
389  CPLLFBCLKLOST_OUT => GT0_CPLLFBCLKLOST_OUT ,
390  CPLLLOCK_OUT => GT0_CPLLLOCK_OUT,
391  CPLLLOCKDETCLK_IN => GT0_CPLLLOCKDETCLK_IN ,
392  CPLLREFCLKLOST_OUT => GT0_CPLLREFCLKLOST_OUT ,
393  CPLLRESET_IN => GT0_CPLLRESET_IN,
394  -------------------------- Channel - Clocking Ports ------------------------
395  GTREFCLK0_IN => GT0_GTREFCLK0_IN,
396  ---------------------------- Channel - DRP Ports --------------------------
397  DRPADDR_IN => GT0_DRPADDR_IN,
398  DRPCLK_IN => GT0_DRPCLK_IN,
399  DRPDI_IN => GT0_DRPDI_IN,
400  DRPDO_OUT => GT0_DRPDO_OUT,
401  DRPEN_IN => GT0_DRPEN_IN,
402  DRPRDY_OUT => GT0_DRPRDY_OUT,
403  DRPWE_IN => GT0_DRPWE_IN,
404  ------------------------------- Clocking Ports -----------------------------
405  QPLLCLK_IN => gt0_qpllclk_i,
406  QPLLREFCLK_IN => gt0_qpllrefclk_i,
407  ------------------------------ Power-Down Ports ----------------------------
408  RXPD_IN => GT0_RXPD_IN,
409  TXPD_IN => GT0_TXPD_IN,
410  --------------------- RX Initialization and Reset Ports --------------------
411  RXUSERRDY_IN => GT0_RXUSERRDY_IN,
412  -------------------------- RX Margin Analysis Ports ------------------------
413  EYESCANDATAERROR_OUT => GT0_EYESCANDATAERROR_OUT,
414  ------------------------- Receive Ports - CDR Ports ------------------------
415  RXCDRLOCK_OUT => GT0_RXCDRLOCK_OUT,
416  ------------------ Receive Ports - FPGA RX Interface Ports -----------------
417  RXUSRCLK_IN => GT0_RXUSRCLK_IN,
418  RXUSRCLK2_IN => GT0_RXUSRCLK2_IN,
419  ------------------ Receive Ports - FPGA RX interface Ports -----------------
420  RXDATA_OUT => GT0_RXDATA_OUT,
421  ------------------- Receive Ports - Pattern Checker Ports ------------------
422  RXPRBSERR_OUT => GT0_RXPRBSERR_OUT,
423  RXPRBSSEL_IN => GT0_RXPRBSSEL_IN,
424  ------------------- Receive Ports - Pattern Checker ports ------------------
425  RXPRBSCNTRESET_IN => GT0_RXPRBSCNTRESET_IN ,
426  ------------------ Receive Ports - RX 8B/10B Decoder Ports -----------------
427  RXDISPERR_OUT => GT0_RXDISPERR_OUT,
428  RXNOTINTABLE_OUT => GT0_RXNOTINTABLE_OUT ,
429  --------------------------- Receive Ports - RX AFE -------------------------
430  GTXRXP_IN => GT0_GTXRXP_IN,
431  ------------------------ Receive Ports - RX AFE Ports ----------------------
432  GTXRXN_IN => GT0_GTXRXN_IN,
433  -------------------- Receive Ports - RX Equailizer Ports -------------------
434  RXLPMHFHOLD_IN => GT0_RXLPMHFHOLD_IN,
435  RXLPMLFHOLD_IN => GT0_RXLPMLFHOLD_IN,
436  --------------- Receive Ports - RX Fabric Output Control Ports -------------
437  RXOUTCLK_OUT => GT0_RXOUTCLK_OUT,
438  ------------- Receive Ports - RX Initialization and Reset Ports ------------
439  GTRXRESET_IN => GT0_GTRXRESET_IN,
440  RXPMARESET_IN => GT0_RXPMARESET_IN,
441  ------------------- Receive Ports - RX8B/10B Decoder Ports -----------------
442  RXCHARISK_OUT => GT0_RXCHARISK_OUT,
443  -------------- Receive Ports -RX Initialization and Reset Ports ------------
444  RXRESETDONE_OUT => GT0_RXRESETDONE_OUT ,
445  --------------------- TX Initialization and Reset Ports --------------------
446  GTTXRESET_IN => GT0_GTTXRESET_IN,
447  TXUSERRDY_IN => GT0_TXUSERRDY_IN,
448  ------------------ Transmit Ports - FPGA TX Interface Ports ----------------
449  TXUSRCLK_IN => GT0_TXUSRCLK_IN,
450  TXUSRCLK2_IN => GT0_TXUSRCLK2_IN,
451  ------------------ Transmit Ports - TX Data Path interface -----------------
452  TXDATA_IN => GT0_TXDATA_IN,
453  ---------------- Transmit Ports - TX Driver and OOB signaling --------------
454  GTXTXN_OUT => GT0_GTXTXN_OUT,
455  GTXTXP_OUT => GT0_GTXTXP_OUT,
456  ----------- Transmit Ports - TX Fabric Clock Output Control Ports ----------
457  TXOUTCLK_OUT => GT0_TXOUTCLK_OUT,
458  TXOUTCLKFABRIC_OUT => GT0_TXOUTCLKFABRIC_OUT ,
459  TXOUTCLKPCS_OUT => GT0_TXOUTCLKPCS_OUT ,
460  --------------------- Transmit Ports - TX Gearbox Ports --------------------
461  TXCHARISK_IN => GT0_TXCHARISK_IN,
462  ------------- Transmit Ports - TX Initialization and Reset Ports -----------
463  TXRESETDONE_OUT => GT0_TXRESETDONE_OUT ,
464  ------------------ Transmit Ports - pattern Generator Ports ----------------
465  TXPRBSSEL_IN => GT0_TXPRBSSEL_IN
466 
467  );
468 
469  --_________________________________________________________________________
470  --_________________________________________________________________________
471  --_________________________GTXE2_COMMON____________________________________
472 
473 -- gtxe2_common_0_i : GTXE2_COMMON
474 -- generic map
475 -- (
476 -- -- Simulation attributes
477 -- SIM_RESET_SPEEDUP => WRAPPER_SIM_GTRESET_SPEEDUP,
478 -- SIM_QPLLREFCLK_SEL => ("001"),
479 -- SIM_VERSION => "4.0",
480 --
481 --
482 -- ------------------COMMON BLOCK Attributes---------------
483 -- BIAS_CFG => (x"0000040000001000"),
484 -- COMMON_CFG => (x"00000000"),
485 -- QPLL_CFG => (x"06801C1"),
486 -- QPLL_CLKOUT_CFG => ("0000"),
487 -- QPLL_COARSE_FREQ_OVRD => ("010000"),
488 -- QPLL_COARSE_FREQ_OVRD_EN => ('0'),
489 -- QPLL_CP => ("0000011111"),
490 -- QPLL_CP_MONITOR_EN => ('0'),
491 -- QPLL_DMONITOR_SEL => ('0'),
492 -- QPLL_FBDIV => (QPLL_FBDIV_IN),
493 -- QPLL_FBDIV_MONITOR_EN => ('0'),
494 -- QPLL_FBDIV_RATIO => (QPLL_FBDIV_RATIO),
495 -- QPLL_INIT_CFG => (x"000006"),
496 -- QPLL_LOCK_CFG => (x"21E8"),
497 -- QPLL_LPF => ("1111"),
498 -- QPLL_REFCLK_DIV => (1)
499 --
500 --
501 -- )
502 -- port map
503 -- (
504 -- ------------- Common Block - Dynamic Reconfiguration Port (DRP) -----------
505 -- DRPADDR => tied_to_ground_vec_i(7 downto 0),
506 -- DRPCLK => tied_to_ground_i,
507 -- DRPDI => tied_to_ground_vec_i(15 downto 0),
508 -- DRPDO => open,
509 -- DRPEN => tied_to_ground_i,
510 -- DRPRDY => open,
511 -- DRPWE => tied_to_ground_i,
512 -- ---------------------- Common Block - Ref Clock Ports ---------------------
513 -- GTGREFCLK => tied_to_ground_i,
514 -- GTNORTHREFCLK0 => tied_to_ground_i,
515 -- GTNORTHREFCLK1 => tied_to_ground_i,
516 -- GTREFCLK0 => GT0_GTREFCLK0_COMMON_IN,
517 -- GTREFCLK1 => tied_to_ground_i,
518 -- GTSOUTHREFCLK0 => tied_to_ground_i,
519 -- GTSOUTHREFCLK1 => tied_to_ground_i,
520 -- ------------------------- Common Block - QPLL Ports -----------------------
521 -- QPLLDMONITOR => open,
522 -- ----------------------- Common Block - Clocking Ports ----------------------
523 -- QPLLOUTCLK => gt0_qplloutclk_i,
524 -- QPLLOUTREFCLK => gt0_qplloutrefclk_i,
525 -- REFCLKOUTMONITOR => open,
526 -- ------------------------- Common Block - QPLL Ports ------------------------
527 -- QPLLFBCLKLOST => open,
528 -- QPLLLOCK => GT0_QPLLLOCK_OUT,
529 -- QPLLLOCKDETCLK => GT0_QPLLLOCKDETCLK_IN,
530 -- QPLLLOCKEN => tied_to_vcc_i,
531 -- QPLLOUTRESET => tied_to_ground_i,
532 -- QPLLPD => tied_to_vcc_i,
533 -- QPLLREFCLKLOST => GT0_QPLLREFCLKLOST_OUT,
534 -- QPLLREFCLKSEL => "001",
535 -- QPLLRESET => GT0_QPLLRESET_IN,
536 -- QPLLRSVD1 => "0000000000000000",
537 -- QPLLRSVD2 => "11111",
538 -- --------------------------------- QPLL Ports -------------------------------
539 -- BGBYPASSB => tied_to_vcc_i,
540 -- BGMONITORENB => tied_to_vcc_i,
541 -- BGPDB => tied_to_vcc_i,
542 -- BGRCALOVRD => "00000",
543 -- PMARSVD => "00000000",
544 -- RCALENB => tied_to_vcc_i
545 --
546 -- );
547 --
548 --
549 --
550 end RTL;