UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 65227

Ethernet 1000BASE-X PCS/PMA or SGMII - Using 1000BASE-X PCS/PMA or SGMII IP with GTY transceivers

Description

In Vivado 2015.2, the 1000BASE-X PCS/PMA or SGMII IP does not include a way to target the GTY transceivers.

To use GTY transceivers, follow the steps below.

Solution

Retargeting SGMII IP from UltraScale GTH to GTY transceivers:

Using Vivado 2015.2:

  1. Customize SGMII PHY using GTH transceivers and open the IP Example design.
  2. In the original Vivado session with the SGMII IP, use the UltraScale FPGA transceivers wizard to create a GTY version of the SGMII GT.
    Important: Name the GT ip <sgmii_ip_name>_gt

    1. Use the GTY-Gigabit Ethernet preset
    2. Set the refclk to 156.25MHz and bypass the RX Elastic Buffer
    3. Select the appropriate quad and refclk
    4. Add the following ports to the optional ports
      i. CPLLLOCK
      ii. DMONITOROUT
      iii. DRPADDDR
      iv. DRPCLK
      v. DRPDI
      vi. DRPDO
      vii. DRPEN
      viii. DRPRDY
      ix. DRPWE
      x. EYESCANDATAERROR
      xi. EYESCANRESET
      xii. EYESCANTRIGGER
      xiii. LOOPBACK
      xiv. PCSRSVD
      xv. RXCDRHOLD
      xvi. RXDFELPMRESET
      xvii. RXLPMEN
      xviii. RXPCSRESET
      xix. RXPD
      xx. RXPMARESET
      xxi. RXPOLARITY
      xxii. RXPRBSCNTRESET
      xxiii. RXPRBSERR
      xxiv. RXPRBSSEL
      xxv. RXRATE
      xxvi. RXRESETDONE
      xxvii. TXBUFSTATUS
      xxviii. TXDIFFCTRL
      xxix. TXELECIDLE
      xxx. TXINHIBIT
      xxxi. TXPCSRESET
      xxxii. TXPD
      xxxiii. TXPMARESET
      xxxiv. TXPOLARITY
      xxxv. TXPOSTCURSOR
      xxxvi. TXPRBSFORCEERR
      xxxvii. TXPRBSSEL
      xxxviii. TXPRECURSOR
      xxxix. TXPRGDIVRESETDONE
      xl. TXRESETDONE
    5. Press OK and generate the IP

  3. In the SGMII example design IP folder, you will see the following structure:
  4. The GTH-specific IP is located inside the ip_0 folder. Open the ip_0 folder, delete the contents, and replace with the IP and generated files from the GTY customization.
    The name of the GTY IP must match the name of the GTH IP exactly otherwise this will not work.
  5. Edit the instantiation for the GT in the SGMII (not the GT) IP.
    1. Using a text editor outside of Vivado, edit the <ipname>_transceiver.v file inside the synth/transceiver directory for the SGMII IP.
    2. Change all instances of GTH to GTY including gthtxp -> gtytxp etc.
    3. In the GT instantiation, comment out the port gtwiz_userclk_tx_reset_in as this is a GTH-specific port
    4. Save and close the file
  6. Edit the constraints file inside the SGMII IP.
    1. Using a text editor outside of Vivado, open <ipname>.xdc in the synth folder inside the IP directory structure.
    2. On the last 2 lines, change GTHE3_CHANNEL_PRIM_INST to GTYE3_CHANNEL_PRIM_INST.
    3. Save and close the file
    4. Inside Vivado, open the example design constraints file and add location constraints for the GTY refclk
  7. Synthesize and Implement the design
AR# 65227
Date Created 08/17/2015
Last Updated 11/12/2015
Status Active
Type General Article
Devices
  • Virtex UltraScale
  • Kintex UltraScale
Tools
  • Vivado Design Suite - 2015.2
IP
  • Ethernet 1000BASE-X PCS/PMA or SGMII