background image

Ethernet 1000BASE-X PCS/PMA or SGMII v7.0

www.xilinx.com

15

UG145 January 18, 2006

R

Chapter 2

Installing and Licensing the Core

This chapter provides instructions for installing the Ethernet 1000BASE-X PCS/PMA or 
SGMII core and obtaining a license for the core, which you must do before using the core in 
your designs. The Ethernet 1000BASE-X PCS/PMA or SGMII core is provided under the 
terms of the 

Xilinx LogiCORE Site License Agreement

, which conforms to the terms of the 

SignOnce

 IP License standard defined by the Common License Consortium.

System Requirements

Windows

Windows® 2000 Professional with Service Pack 2-4

Windows XP Professional with Service Pack 1

Solaris/Linux

Sun Solaris® 8/9

Red Hat®

 

Enterprise Linux 3.0 (32-bit and 64-bit)

Software

Xilinx ISE

TM

 8.1i 

Before You Begin

Before installing the core, you must have a Xilinx.com account and the ISE 8.1i software 
installed on your system. If you have already completed these steps, go to 

“Installing the 

Core.”

 

1.

Click Login at the top of the 

Xilinx home page

; then follow the onscreen instructions to 

create a support account.

2.

Install the ISE 8.1i software and the applicable Service Pack software. ISE Service Packs 
can be downloaded from 

www.xilinx.com/support/download.htm

.

Installing the Core

You can install the core in two ways—using the CORE Generator IP Updates Installer, 
which lets you select from a list of updates—or by performing a manual installation after 
downloading the core from the web. 

Содержание LogiCORE

Страница 1: ...R LogiCORE Ethernet 1000BASE X PCS PMA or SGMII v7 0 Getting Started Guide UG145 January 18 2006...

Страница 2: ...REE THAT YOU HAVE NOT RELIED ON ANY ORAL OR WRITTEN INFORMATION OR ADVICE WHETHER GIVEN BY XILINX OR ITS AGENTS OR EMPLOYEES XILINX MAKES NO OTHER WARRANTIES WHETHER EXPRESS IMPLIED OR STATUTORY REGAR...

Страница 3: ...tarted Guide UG145 January 18 2006 The following table shows the revision history for this document Date Version Revision 09 30 04 1 0 Initial Xilinx release 04 28 05 2 0 Updated to version 6 0 of the...

Страница 4: ...www xilinx com Ethernet 1000BASE X PCS PMA or SGMII v7 0 UG145 January 18 2006...

Страница 5: ...or SGMII Core 14 Document 14 Chapter 2 Installing and Licensing the Core System Requirements 15 Before You Begin 15 Installing the Core 15 CORE Generator IP Updates Installer 16 Manual Installation 1...

Страница 6: ...iver 33 Transmitter Elastic Buffer 33 Demonstration Test Bench 34 Customizing the Test Bench 35 Core Example Design with Ten Bit Interface 36 Example Design Top Level HDL 36 Transmitter Elastic Buffer...

Страница 7: ...BASE X PCS PMA using RocketIO 32 Figure 4 4 Demonstration Test Bench Using RocketIO 34 Figure 4 5 Example Design Top Level HDL for the Ethernet 1000BASE X PCS with TBI 36 Figure 4 6 Demonstration Test...

Страница 8: ...8 www xilinx com Ethernet 1000BASE X PCS PMA or SGMII v7 0 UG145 January 18 2006 R...

Страница 9: ...rovides information about installing and licensing the core Chapter 3 Quick Start Example Design provides instructions to quickly generate the core and run the example design through implementation an...

Страница 10: ...om xlnx xil_tt_home jsp Resource Description URL Convention Meaning or Use Example Courier font Messages prompts and program files that the system displays speed grade 100 Courier bold Literal command...

Страница 11: ...k_name loc1 loc2 locn Notations The prefix 0x or the suffix h indicate hexadecimal notation A read of address 0x00112975 returned 45524943h A _n means the signal is active low usr_teof_n is active low...

Страница 12: ...12 www xilinx com Ethernet 1000BASE X PCS PMA or SGMII v7 0 UG145 January 18 2006 Preface About This Guide R...

Страница 13: ...ce Although the Ethernet 1000BASE X PCS PMA or SGMII core is a fully verified solution the challenge associated with implementing a complete design varies depending on the configuration and functional...

Страница 14: ...gns that do not follow these guidelines Feedback Xilinx welcomes comments and suggestions about the Ethernet 1000BASE X PCS PMA or SGMII core and the documentation supplied with the core Ethernet 1000...

Страница 15: ...Professional with Service Pack 1 Solaris Linux Sun Solaris 8 9 Red Hat Enterprise Linux 3 0 32 bit and 64 bit Software Xilinx ISETM 8 1i Before You Begin Before installing the core you must have a Xi...

Страница 16: ...stall_history Note that this step assumes your Xilinx software is installed in C Xilinx Manual Installation 1 Close the CORE Generator application if it is running 2 Download the IP Update ZIP file fr...

Страница 17: ...of the cores choose an option from the Show drop down list at the top of the window Latest Versions Display the latest versions of all cores All Versions Display all versions of cores including new co...

Страница 18: ...ining Your License Note Because the Simulation Only Evaluation license is provided with the CORE Generator no action is required Obtaining a Full License To obtain a Full license you must register for...

Страница 19: ...ter 4 Detailed Example Design Overview The Ethernet 1000BASE X PCS PMA example design consists of Ethernet 1000BASE X PCS PMA core netlist Example design HDL top level and associated HDL files Demonst...

Страница 20: ...ct 3 For project options select the following A VirtexTM II Pro part to generate the default Ethernet 1000BASE X PCS PMA core In the Design Entry section select VHDL or Verilog then select Other for V...

Страница 21: ...nd place and routes the example design The script then creates gate level netlist HDL files in either VHDL or Verilog along with associated timing information SDF files Simulating the Example Design S...

Страница 22: ...Verilog A timing simulation model is generated when run through the Xilinx tools using the implementation script You must implement the core before attempting to run timing simulation To run a VHDL o...

Страница 23: ...component_name is the component name as entered in the core customization window Note The implement and simulation timing directories are only present with a Full license Figure 4 1 Core Directories...

Страница 24: ...tput products component_name _flist txt A test file listing all of the output files produced when a customized core is generated by CORE Generator project_dir component_name gig_eth_pcs_pma_v7_0_relea...

Страница 25: ...ectory is produced by the implementation scripts and is used to run through the example design and the core through the Xilinx implementation tools Once the implement script has completed it contains...

Страница 26: ...It is called by the simulate_ncsim sh script file project_dir component_name simulation timing Note This directory is only present with the Full license simulate_mti do A ModelSim macro file that comp...

Страница 27: ...sed to generate a core An XCO file is generated by the CORE Generator for each core that it creates in the current project directory An XCO file can also be used as an input to the CORE Generator comp...

Страница 28: ...n This directory contains the support files necessary for a Verilog implementation of the example design component_name _top v This file is the top level Verilog file for the example design Other Veri...

Страница 29: ...he following sections in this document for more information Core Example Design Using RocketIO page 32 Core Example Design with Ten Bit Interface page 36 SGMII Example Design Dynamic Switching Example...

Страница 30: ...erforms the following steps 1 The HDL example design files are synthesized using XST 2 Ngdbuild is run to consolidate the core netlist and the example design netlist into the NGD file containing the e...

Страница 31: ...on Timing simulation Note This script is only present with the Full license The test script is a ModelSim or an IUS macro that automates the simulation of the test bench It is located at project_dir c...

Страница 32: ...ponent_name _top v The example design HDL top level contains the following An instance of the Ethernet 1000BASE X PCS PMA core An instance of a Virtex II Pro or Virtex 4 RocketIO transceiver Clock man...

Страница 33: ...r component_name example_design cal_block_v1_2_1 vhd Verilog project_dir component_name example_design cal_block_v1_2_1 v Transmitter Elastic Buffer The Transmitter Elastic Buffer is described in the...

Страница 34: ...e simulation demo_tb v The demonstration test bench is a simple VHDL or Verilog program to exercise the example design and the core itself Core with MDIO Interface The demonstration test bench perform...

Страница 35: ...test bench performs the following tasks Input clock signals are generated A reset is applied to the example design The Ethernet 1000BASE X PCS PMA core is configured using the Configuration Vector to...

Страница 36: ...ted the core can be reconfigured by editing the injected MDIO frame in the demonstration test bench See the Xilinx LogiCORE Ethernet 1000BASE X PCS PMA or SGMII User Guide for more information on usin...

Страница 37: ...c Buffer is described in the following files VHDL project_dir component_name example_design tx_elastic_buffer vhd Verilog project_dir component_name example_design tx_elastic_buffer v When the GMII is...

Страница 38: ...am to exercise the example design and the core itself Core with MDIO Interface The demonstration test bench performs the following tasks Input clock signals are generated A reset is applied to the exa...

Страница 39: ...nfigured via the Configuration Vector to take the core out of the Isolate state The following frames are injected into the GMII transmitter by the GMII stimulus block the first is a minimum length fra...

Страница 40: ...ORE Ethernet 1000BASE X PCS PMA or SGMII User Guide for more information about using the MDIO interface If the MDIO interface option has not been selected the core can be reconfigured by modifying the...

Страница 41: ...ster instances where required Input and output buffers for other port signals of the example design top level The example design HDL top level connects the GMII of the core to the SGMII adaptation mod...

Страница 42: ...e core 100 times This GMII style interface is not a standard interface true GMII only operates at a clock frequency of 125 MHz but it does allow a straightforward internal connection to an Ethernet MA...

Страница 43: ...100 Mbps speeds At 1 Gbps sgmii_clk_r is fixed at logic 0 sgmii_clk_f is fixed at logic 1 sgmii_clk_r is connected to the rising edge triggered flip flop of an IOB output DDR clocked with clk125m sgm...

Страница 44: ...0BASE X PCS PMA or SGMII v7 0 UG145 January 18 2006 Chapter 4 Detailed Example Design R sgmii_clk This clock enable signal is used as the control for the data byte repetition in the Transmitter and Re...

Страница 45: ...following files VHDL project_dir component_name example_design sgmii_adapt johnson_cntr vhd Verilog project_dir component_name example_design sgmii_adapt johnson_cntr v Figure 4 9 Clock Generator Out...

Страница 46: ...This module accepts transmitter data from the GMII style interface from the attached client MAC and samples the input data on the 125 MHz reference clock clk125m This sampled data can then be connecte...

Страница 47: ...t 1000BASE X PCS PMA or SGMII core This data is sampled and sent out of the GMII receiver interface for the attached client MAC The 1 Gbps and 100 Mbps cases are illustrated in Figure 4 11 At 1 Gbps t...

Страница 48: ...e Adaptation module also performs a second function that accounts for the latency inferred in Figure 4 11 The 8 bit Start of Frame Delimiter SFD code is detected and if required it is realigned across...

Страница 49: ...he demonstration test bench performs the following tasks Input clock signals are generated A reset is applied to the example design The Ethernet 1000BASE X PCS PMA core is configured through the MDIO...

Страница 50: ...ted in both stimulus and monitor functions Changing Frame Error Status Errors can be inserted into any of the predefined frames in any position by setting the error field to 1 in any column of that fr...

Страница 51: ...xilinx com 51 UG145 January 18 2006 SGMII Example Design Dynamic Switching Example Design R 100 Mbps operation set speed_is_10_100 to logic 1 set speed_is_100 to logic 1 10 Mbps operation set speed_is...

Страница 52: ...52 www xilinx com Ethernet 1000BASE X PCS PMA or SGMII v7 0 UG145 January 18 2006 Chapter 4 Detailed Example Design R...

Отзывы: