Altera 40-Gbps Ethernet MAC and PHY MegaCore Function Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Instruments de mesure Altera 40-Gbps Ethernet MAC and PHY MegaCore Function. Altera 40-Gbps Ethernet MAC and PHY MegaCore Function User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 199
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs

Résumé du contenu

Page 1 - MegaCore Function User Guide

40- and 100-Gbps Ethernet MAC and PHYMegaCore Function User GuideLast updated for Altera Complete Design Suite: 14.1SubscribeSend FeedbackUG-010882014

Page 2 - Contents

Simulation EnvironmentAltera performs the following tests on the 40-100GbE MAC and PHY IP core in the simulation environ‐ment using internal and third

Page 3

Signal Name Descriptiontx_clk_ref In Sync–E variations (IP core duplex variations with the Sync–E optionenabled), this clock replaces clk_ref as the r

Page 4 - PHY MegaCore Function

Figure 3-32: Clock Generation CircuitryProvides a high-level view of the clock generation circuitry and clock distribution to the transceiver. InSync–

Page 5 - 40- or 100-GbE MAC

Signal Name Direction Descriptionpcs_rx_arst_STInput PHY PCS RX asynchronous reset signalpcs_tx_arst_ST Input PHY PCS TX asynchronous reset signalpma_

Page 6

Figure 3-33: Top-Level Signals of the 40-100GbE IP Core Without AdaptersEthernet Top-Level Signals without Adaptersrx_serial [<v>-1:0]tx_serial

Page 7 - Device Family Support

Table 3-18: 40-100GbE MAC and PHY IP Core Without Adapters: Transmit Side SignalsSignal Name Direction Interfacemac_tx_arst_STInputResetspcs_tx_arst_S

Page 8

Signal Name Direction Interfacetx_inc_64OutputStatistics counter incrementvectorstx_inc_127Outputtx_inc_255Outputtx_inc_511Outputtx_inc_1023Outputtx_i

Page 9 - IP Core Verification

Table 3-19: 40-100GbE MAC and PHY IP Core Without Adapters: Receive Side SignalsSignal Name Direction Descriptionmac_rx_arst_STInputResetspcs_rx_arst_

Page 10 - Hardware Testing

Signal Name Direction Descriptionremote_fault_from_rxOutputLink fault signaling interfaceThese two signals are not visiblein duplex variations.local_f

Page 11 - Module ALMs Logic Registers

Signal Name Direction Descriptionrx_inc_runtOutputStatistics counter incrementvectorsrx_inc_64Outputrx_inc_127Outputrx_inc_255Outputrx_inc_511Outputrx

Page 12

Table 3-20: 40-100GbE MAC and PHY IP Core Without Adapters: Common SignalsSignal Name Direction Descriptionpma_arst_STInput Resetsclk_refInput Clockst

Page 13

Table 1-4: 40GbE IP Core FPGA Resource Utilization in Stratix V and Arria V GZ Devices Lists the resources and expected performance for selected varia

Page 14

reconfig_to_xcvrInputExternal reconfigurationcontroller interfaceThese signals are available inArria V GZ and Stratix V devicesonly.The _to_xcvr<n&

Page 15

upi_mode_en[3:0]Input40GBASE-KR4 microprocessorinterface. These signals arepresent only in 40GBASE-KR4variations for which you turn onEnable microproc

Page 16

rc_busy[3:0]Input40GBASE-KR4 reconfigurationinterface. These signals arepresent only in 40GBASE-KR4variations for which you turn onEnable KR4 Reconfig

Page 17

• 40-100GbE IP Core RX Data Bus Without Adapters (Custom Streaming Interface) on page 3-28• Control and Status Interface on page 3-51• External Reconf

Page 18

Figure 3-34: Top-Level Signals of the 40-100GbE IP Core with AdaptersEthernet Top-Level Signals with AdaptersMAC and PHYAsynchronousReset SignalsAvalo

Page 19

Signals of 40-100GbE MAC‑Only IP Core Variations40-100GbE MAC-only IP core variations are the variations that do not include a PHY. The signals in aMA

Page 20

Figure 3-35: Top-Level Signals of the 40-100GbE IP Core with AdaptersEthernet Top-Level Signals with AdaptersMAC and PHYAsynchronousReset SignalsAvalo

Page 21 - Release Information

Figure 3-36: Top-Level Signals of the 40-100GbE IP Core Without AdaptersEthernet Top-Level Signals without Adaptersrx_serial [<v>-1:0]tx_serial

Page 22 - Item Description

The following 40-100GbE MAC and PHY IP core signals are not available in MAC-only IP corevariations:• Clock signals:• clk_ref (relevant only for IP co

Page 23 - Getting Started

Related Information• Lane to Lane Deskew Interface on page 3-43• Signals of MAC and PHY Variations Without Adapters on page 3-55• Signals of MAC and P

Page 24 - OpenCore Plus IP Evaluation

Module ALMs Logic RegistersMemoryM20K• alt_e40_mac_rx:mac_rx3000 7000 9• alt_e40_mac_tx:mac_tx2600 4800 0• alt_e40_mac_csr:mac_csr withoutstatistics c

Page 25 - IP Core Parameters

Figure 3-37: Top-Level Signals of the 40-100GbE IP Core with AdaptersEthernet Top-Level Signals with AdaptersMAC and PHYAsynchronousReset SignalsAvalo

Page 26

Figure 3-38: Top-Level Signals of the 40-100GbE IP Core Without AdaptersEthernet Top-Level Signals without Adaptersrx_serial [<v>-1:0]tx_serial

Page 27

The following 40-100GbE MAC and PHY IP core signals are available in PHY-only IP core variations:• Clock signals:• clk_ref (relevant only for IP core

Page 28 - Parameter Description

• Lane to Lane Deskew Interface on page 3-43Describes the lanes_deskewed PHY output signal.• MAC to PHY Connection Interface on page 3-43• External Re

Page 29

Word Offset Register Description0x01A Test pattern counter register.0x01B One of two link fault signaling registers.0x01C Reserved.0x01D PHY reset reg

Page 30

Word Offset Register Description0x118–0x11F Reserved.0x120 MAC hardware error register.0x121 MAC reset register.0x122 One of two link fault signaling

Page 31

Table 3-25: 40-100GbE Example Design RegistersLists the memory mapped registers for the 40-100GbE IP core example design.Word Offset Register Category

Page 32 - Simulating the IP Core

Lock Status Registers on page 3-84Bit Error Flag Registers on page 3-86PCS Hardware Error Register on page 3-87BER Monitor Register on page 3-87Test M

Page 33 - Pin Assignments

Table 3-26: Scratch and Clock Registers for Applicable DevicesAddress Name ApplicableDevice(s)Bit Description HW ResetValueAccess0x000PHY_VERSIONArria

Page 34

Address Name ApplicableDevice(s)Bit Description HW ResetValueAccess0x007 GX_CTRL1 Stratix IV[31] When set, places thetransceiver in Internalserial loo

Page 35

Module ALMs Logic RegistersMemoryM20K40GBASE-KR4 PHY• AN• LT• FEC• Use M20K blocksfor FEC buffer23800 24500 840GBASE-KR4 PHY• AN• LT• FEC• Do not use

Page 36 - 40-100GbE IP Core Testbenches

Table 3-27: Stratix IV Transceiver Analog Settings Register GX_CTRL1—Offset 0x007—Bits [28:4]Describes the fields in bits [28:4] of the analog setting

Page 37 - Testbenches with Adapters

Lock Status RegistersThe following registers show the lock status of the high speed I/O and RX PCS. RX_AGGREGATE[0]aggregates the status of the indivi

Page 38 - File Names Description

Address Name Bit Description HW ResetValueAccess0x010IO_LOCKS For theCAUI-4 configu‐ration only .[31:26] Reserved. 0x3f R[25:22] When asserted, indica

Page 39

Address Name Bit Description HW ResetValueAccess0x014 RX_AGGREGATE[4] When asserted, indicates a change inPCS-VLANE permutation. This statusbit clears

Page 40 - Testbenches without Adapters

PCS Hardware Error RegisterTable 3-30: PCS Hardware Error RegisterAddress Name Bit Description HWResetValueAccess0x017 PCS_HW_ERR[8] When asserted, in

Page 41

Test Mode RegisterTable 3-32: Test Mode Register—Offset 0x019Address Name Bit Description HWResetValueAccess0x019 TEST_MODE[2] This bit clears the tes

Page 42

Table 3-35: Link Fault Signaling Configuration Register—Offset 0x122Address Name Bit Description HWResetValueAccess0x122MAC/RS linkfaultsequenceconfig

Page 43

Table 3-36: MAC Reset RegisterWriting a 1’b1 to any of the reset register fields initiates the corresponding reset sequence.Address Name Bit Descripti

Page 44

PCS‑VLANE RegistersTable 3-38: PCS‑VLANE RegistersWhen the RX PCS is properly locked, the PCS-VLANE registers contain a permutation of the numbers [0–

Page 45

Address Name Bit Description HWResetValueAccess0x023 PCS VLANE3[9:5] Virtual index for physical lane 19 5h’00 R[4:0] Virtual index for physical lane 1

Page 46 - Initializing the IP Core

Module ALMs Logic RegistersMemoryM9KMAC with Avalon-STclient interface andwith statisticscounters13700 22200 20• alt_e40_adapter_rx:adapter_rx700 1000

Page 47

Table 3-40: 40-100GbE IP Core 40GBASE-KR4 Registers and Register Fields Not in 10GBASE-KR PHY IP CoreDocuments the differences between the 10GBASE-KR

Page 48

Address Name Bit Description HWResetValueAccess0x0B9KR4 FECCorrectedBlocks, Lane2[31:0]Maintains count of corrected FEC blocks onLane 2, saturating (n

Page 49 - High Level System Overview

Address Name Bit Description HWResetValueAccess0x0CCOverride ANChannelSelect[3:0]If you set the value of the Override AN ChannelEnable register field

Page 50 - 40-100GbE IP Core TX Datapath

Address Name Bit Description HWResetValueAccess0x0D1Updated TXCoef new,Lane 1[5]When set to 1, indicates that new link partnercoefficients are availab

Page 51 - Address Insertion

Address Name Bit Description HWResetValueAccess0x0D1Updated RXCoef new,Lane 1[9]When set to 1, indicates that new local devicecoefficients are availab

Page 52 - Frame Padding

Address Name Bit Description HWResetValueAccess0xD2[15:8]Register bits 0xD2[7:0] refer to Lane 0. These bitsare the equivalent of 0xD2[7:0] for Lane 1

Page 53 - 40GbE IP Core 100GbE IP Core

Address Name Bit Description HWResetValueAccess0xE6 This register is the equivalent of register 0xD5 for Lane 2 link training. (Refer to 10GBASE-KR PH

Page 54

Address Name Bit Description HW ResetValueAccess0x102MAC_CMD_config[4] When set to 1, the transmit CRC FIFO iscleared. Used for hardware diagnostics.

Page 55

Address Name Bit Description HW ResetValueAccess0x103RX_FILTER_CTRL[17:8]Packet length limit in 16-byte words, for the40GbE IP core. The IP core disca

Page 56

Related Information• 40-100GbE IP Core RX Filtering on page 3-21Describes how the IP core interprets the packet length limits in RX_FILTER_CTRL[17:8]

Page 57

Module ALMs Logic RegistersMemoryM9K• • alt_e40_pcs_tx:pcs_tx3600 3900 0• • alt_e40_phy_csr:phy_csr700 1100 0• alt_e40_phy_pma_siv:pma600 500 0Related

Page 58

Addr Name Bit Description HW ResetValueAccess0x113RECEIVE_PAUSE_CONTROL[9] When set to 1, enables unicast pause receive. 1’b0 RW[8] When set to 1, ena

Page 59

MAC Hardware Error RegisterTable 3-43: MAC Hardware Error RegisterAddress Name Bit Description HWResetValueAccess0x120 MAC_HW_ERR[6] When asserted, in

Page 60

CRC Configuration RegisterTable 3-44: CRC Configuration RegisterAddress Name Bit Description HWResetValueAccess0x123 CRC_CONFIG[1] The RX CRC configur

Page 61

Address Name Bit Description HWResetValueAccess0x125PreamblePass-ThroughConfiguration[1] Enable TX preamble pass-through. This bit has thefollowing va

Page 62

• 40-100GbE IP Core Preamble Processing on page 3-21Describes the RX preamble pass-through feature and the effect of bit [0] of the Preamble Pass-Thro

Page 63

Address Name Bit Description HW ResetValueAccess0x160 DST_AD0_LO [23:0] Destination address 0 (lower 24 bits). 0x00000000 RW0x161 DST_AD0_HI [23:0] De

Page 64

parameter in the 40-100GbE parameter editor, the counters are not implemented in the CSR, and readaccess to the counters returns read data equal to 0.

Page 65

Address Name- Description Access0x20C CNTR_TX_1519toMAXB_LONumber of transmitted frames between 1519 and max sizedefined in 0x103 (lower 32 bits)RO0x2

Page 66

Address Name- Description Access0x21C CNTR_TX_MCAST_CTRL_LONumber of valid multicast frames transmitted (lower 32bits)RO0x21D CNTR_TX_MCAST_CTRL_HINum

Page 67 - 40-100GbE IP Core RX Datapath

Address Name- Description Access0x22B CNTR_TX_ST_HI Number of transmitted frame starts, excluding pause frames(upper 32 bits)RO0x22C CNTR_TX_DB_LO Num

Page 68

Module ALMs Logic RegistersMemoryM20KMAC with Avalon-STclient interfacewithout statisticscounters21600 45200 28MAC with Avalon-STclient interface andw

Page 69 - RX CRC Forwarding

Address Name- Description Access0x28A CNTR_RX_1024to1518B_LONumber of received frames between 1024–1518 bytes (lower32 bits)RO0x28B CNTR_RX_1024to1518

Page 70

Address Name- Description Access0x29A CNTR_RX_UCAST_DATA_OK_LONumber of valid unicast frames received, excluding controlframes (lower 32 bits)RO0x29B

Page 71 - Pause Ignore

Address Name- Description Access0x2A9 CNTR_RX_CRCERR_HINumber of received frames between the length of 64 and thevalue configured in 0x103 register wi

Page 72

Address Name- Description Access0x2B7 Reserved0x2B8 CNTR_RX_FCS Number of received packets with FCS errors. This registermaintains a count of the numb

Page 73 - Name Direction Description

Address Name Bits Description HW Reset Value Access0x403 CMD_STATUS[6] PMD global alarm. 1b’0 R[5] Programmable alarm 3. Defaults tomodule ready.1b’0

Page 74

Address Name Bits Description HW Reset Value Access0x411 MDIO_RDATA[31] Link is busy. 1b’0 R[15:0] Result of previous read. 0x0000 R0x412 MDIO_ADDR[14

Page 75

Address Name Bits Description HW Reset Value Access0x421 2WS_RDATA[31] When asserted, the link is busy. 1b’0 R[30] When asserted, indicates that thesl

Page 76

Term DefinitionFCS Frame Check Sequence. A CRC-32 with bit reordering and inversion.Frame Ethernet formatted packet. A frame consists of a start delim

Page 77

Debugging the 40GbE and 100GbE Link42014.12.15UG-01088SubscribeSend FeedbackIf you are experiencing difficulties bringing up your 40-100GbE IP core li

Page 78

40-100GbE IP Core Example DesignA2014.12.15UG-01088SubscribeSend FeedbackAltera provides an example design with the 40-100GbE IP core. This example de

Page 79 - 100GbE CAUI–4 PHY

Module ALMs Logic RegistersMemoryM20K• alt_e100_phy_pcs:phy_pcs23000 41700 0• • alt_e100_pcs_rx:pcs_rx13600 26300 0• • alt_e100_pcs_tx:pcs_tx8700 1370

Page 80

Figure A-1: High Level Block Diagram for the 40-100GbE Example DesignHigh level block diagram for non-40GBASE-KR4 example designs. You can generate a

Page 81

Figure A-2: High Level Block Diagram for the 40GBASE-KR4 Example DesignHigh level block diagram for 40GBASE-KR4 example designs. You can generate a 40

Page 82 - Pause Transmission Logic

The interface between the MAC and PHY modules of the IP core is XLGMII for the 40GbE IP core andCGMII for the 100GbE IP core. The interface between th

Page 83

Address Map Changes for the 40-100GbE IPCore v12.0 ReleaseB2014.12.15UG-01088SubscribeSend FeedbackTable B-1: Address Map and Register Name Changes fo

Page 84

10GBASE-KR RegistersC2014.12.15UG-01088SubscribeSend FeedbackThis appendix duplicates the 10GBASE-KR PHY register listings from the Altera Transceiver

Page 85

The following table specifies the control and status registers that you can access over the Avalon-MMPHY management interface. A single address space

Page 86 - Statistics Counters Interface

WordAddrBit R/W Name Description18 RW Assert KR FECRequestWhen set to 1, indicates that the core is requesting the FECability. When this bit changes,

Page 87 - Description

WordAddrBit R/W Name Description0xB4 31:0 RSC FEC UncorrectedBlocksCounts the number of uncorrectable FEC blocks. Resets to 0when read. Otherwise, it

Page 88

WordAddrBit R/W Name Description3 RO AN ADV RemoteFaultWhen set to 1, fault information has been sent to the linkpartner. When 0, a fault has not occu

Page 89 - Control Data Description

WordAddrBit R/W Name Description• [4:0]: Selector• [9:5]: Echoed nonce which are set by the state machine• [12:10]: Pause bits• [13]: Remote Fault bit

Page 90 - Lane to Lane Deskew Interface

Module ALMs Logic RegistersMemoryM9KMAC with Avalon-STclient interface andwith statisticscounters35600 55000 29• alt_e100_adapter_rx:adapter_rx4100 63

Page 91 - MII Data

WordAddrBit R/W Name Description0xC5 15:0 RW User Next pagelowThe Auto-Negotiation TX state machine uses these bits if theAuto-Negotiation next pages

Page 92 - PCS BER Monitor

WordAddrBit R/W Name Description0xCB24:0RO AN LP ADV Tech_A[24:0]Received technology ability field bits of Clause 73Auto-Negotiation. The 10GBASE-KR P

Page 93

WordAddrBit R/W Name Description7:4 RW main_step_cnt[3:0]Specifies the number of equalization steps for each main tapupdate. There are about 20 settin

Page 94

WordAddrBit R/W Name Description22:20 RW rx_ctle_modeRX CTLE mode in the Link Training algorithm. The defaultvalue is 3'b000. The following encod

Page 95

WordAddrBit R/W Name Description0xD20RO Link Trained -Receiver statusWhen set to 1, the receiver is trained and is ready to receivedata. When set to 0

Page 96

WordAddrBit R/W Name Description19:10 RW ber_time_k_frames Specifies the number of thousands of training frames toexamine for bit errors on the link f

Page 97

WordAddrBit R/W Name Description13:8 RO LD coefficientstatus[5:0]Status report register for the contents of the second, 16-bitword of the training fra

Page 98 - Control and Status Interface

WordAddrBit R/W Name Description23 ROorRWLP PresetCoefficientsWhen set to 1, The local device TX coefficients are set to astate where equalization is

Page 99

WordAddrBit R/W Name Description0xD55:0 R LT VOD setting Stores the most recent VOD setting that LT specified using theTransceiver Reconfiguration Con

Page 100 - Signal Name Description

WordAddrBit R/W Name Description20:16 RW LT VPOST ovrd Override value for the VPOSTRULE parameter. Whenenabled, this value substitutes for the VPOSTRU

Page 101 - 2014.12.15

Module ALMs Logic RegistersMemoryM9K• • alt_e100_pcs_tx:pcs_tx11200 16600 0• • alt_e100_phy_csr:phy_csr1100 1700 0• alt_e100_phy_pma_siv:pma600 500 0I

Page 102 - Related Information

Additional InformationD2014.12.15UG-01088SubscribeSend Feedback40- and 100-Gbps Ethernet MAC and PHY MegaCore Function User GuideRevision HistoryTable

Page 103 - Functional Description

Date ACDSVersionChanges• Added link to Low Latency 40-100GbE IP core user guide in About the40- and 100-Gbps Ethernet MAC and PHY MegaCore Function an

Page 104

Date ACDSVersionChanges• In "Simulating the 40-100GbE IP Core with the Testbenches" section,removed option to include or exclude waveform ge

Page 105

Date ACDSVersionChangesJune 2013 1.3(v13.0softwarerelease)• Updated for use with version 13.0 of the Quartus II software and theMegaWizard Plug-In Man

Page 106

Date ACDSVersionChangesDecember20121.2 • Updated Slowest Supported Device Speed Grades table on page 1–4:• Supported speed grades for the Arria V GZ d

Page 107

Date ACDSVersionChanges• If you are transitioning from an earlier version of the IP core, you mustcomplete the following steps:• Generate the 12.1 rel

Page 108

June 2012 1.0 • Updated for use with version 12.0 of the Quartus II software.• Updated address map.• Updated device family support.• Updated interface

Page 109

November2011EarlyAccess• Corrected the following issues in the MegaCore function:• Corrected sequence ordered set encoding in PCS.• Corrected error co

Page 110

How to Contact AlteraTable D-2: How to Contact AlteraTo locate the most up-to-date information about Altera products, refer to this table. You can als

Page 111

Visual Cue MeaningItalic Type with Initial Capital Letters Indicate document titles. For example, Stratix VDesign Guidelines.italic type Indicates va

Page 112

ContentsAbout the 40- and 100-Gbps Ethernet MAC and PHY MegaCore Function...1-140- and 100-Gbps Ethernet MAC and PHY IP Core Supported Features...

Page 113

Module ALMs Logic RegistersMemoryM20KMAC&PHY withAvalon-ST clientinterface and withstatistics counters54600 110100 28MAC with Avalon-STclient inte

Page 114

Module ALMs Logic RegistersMemoryM20K• alt_e100_mac_csr:mac_csr withstatistics counters4600 8500 0PHY 28600 57400 0• alt_e100_phy_pcs_caui4:phy_pcs272

Page 115

Item DescriptionOrdering Codes IP-40GEMACIP-40GEPHYIP-100GEMACIP-100GEPHYIP-40GEMACPHYIP-100GEMACPHYIP-40GBASEKR4PHYProduct ID 40Gb Ethernet MAC: 00DF

Page 116

Getting Started22014.12.15UG-01088SubscribeSend FeedbackThe following sections explain how to install, parameterize, simulate, and initialize the 40-1

Page 117

Installing and Licensing IP CoresThe Altera IP Library provides many useful IP core functions for production use without purchasing anadditional licen

Page 118

Specifying the 40-100GbE IP Core Parameters and OptionsThe 40-100GbE parameter editor allows you to quickly configure your custom IP variation. Use th

Page 119

Parameter Type Range Default Setting Parameter DescriptionMAC configu‐rationString • 40 GbE• 100 GbE100 GbE Selects the MAC datapath width.Core option

Page 120

Parameter Type Range Default Setting Parameter DescriptionPHY referencefrequency (2)Integer(encoding)The range and default settings dependon the PHY c

Page 121

Table 2-2: 40-100GbE Parameters: 40GBASE-KR4 TabDescribes the parameters for customizing a 40GBASE-KR4 40-100GbE IP core, on the 40GBASE-KR4 tab of th

Page 122

Parameter Type Range DefaultSettingParameter DescriptionAuto-Negotia‐tion MasterString • Lane 0• Lane 1• Lane 2• Lane 3Lane 0 Selects the master chann

Page 123 - Software Interface: Registers

40-100GbE IP Core TX Datapath...3-340-100GbE IP Core TX

Page 124 - Register Description

Parameter Type Range DefaultSettingParameter DescriptionINITPREVAL Integer0–15 5Specifies the initial Pre-tap value.Link Training: GeneralEnable LinkT

Page 125

Parameter Type Range DefaultSettingParameter DescriptionInclude FECsublayerBoolean • True• FalseFalse If this parameter is turned on, the IP core incl

Page 126 - 40-100GbE IP Core Registers

• 40-100GbE IP Core Testbenches on page 2-14Provides a list of IP core variations (parameter value choices) for which the Quartus II software cangener

Page 127

In the top-level wrapper file for your simulation project, you can set the FAST_SIMULATION parameter toenable simulation optimization. Parameters are

Page 128 - Bit Description HW Reset

You can use the IP Catalog to generate an Altera transceiver reconfiguration controller.• For Arria V GZ and Stratix V devices, select the Transceiver

Page 129

Table 2-5: External Altera Transceiver Reconfiguration Controller Ports for Connection to 40-100GbE IPCore Signal Name Direction Descriptionreconfig_t

Page 130 - Bits Description HW Reset

• ALTGX_RECONFIG Megafunction User Guide for Stratix IV DevicesChapter in volume 3: Transceiver Configuration Guide of the Stratix IV Device Handbook.

Page 131 - Lock Status Registers

custom streaming client interface) are identical, except for the bandwidth. The following sections firstdescribe the testbenches that include adapters

Page 132

Figure 2-4: 40GBASE-KR4 40GbE IP Core Testbench with AdaptersIllustrates the top-level modules of the 40GBASE-KR4 example testbench that uses adapters

Page 133 - Bit Error Flag Registers

File Names Descriptionrun_vcs.shThe Synopsys VCS script to run the testbench.run_ncsim.shThe Cadence NCSim script to run the testbench.Figure 2-5: Typ

Page 134 - BER Monitor Register

About the 40- and 100-Gbps Ethernet MAC andPHY MegaCore Function12014.12.15UG-01088SubscribeSend FeedbackThe Altera® 40- and 100-Gbps Ethernet (40GbE

Page 135 - Test Pattern Counter Register

7. At marker 7, the 40GbE IP core asserts l4_rx_valid, indicating that the it has valid data to send to theclient on l4_rx_data[255:0].8. At marker 8,

Page 136 - MAC and PHY Reset Registers

File Names Descriptionalt_40gbe_tb.sv, alt_100gbe_tb.v The testbench wrapper file.Testbench Scriptsrun_vsim.doThe ModelSim script to run the testbench

Page 137

Simulating the 40‑100GbE IP Core With the TestbenchesYou can simulate the 40-100GbE IP core using the Altera-supported versions of the Mentor Graphics

Page 138 - PCS‑VLANE Registers

Generating the 40-100GbE TestbenchA single procedure generates both the testbench and the example project. To generate the testbench andexample projec

Page 139 - 40GBASE-KR4 Registers

The successful testbench run displays the following output:# # *****************************************# ** 40g Ethernet Testbench# **# **# ** Ta

Page 140

Testbench Output Example: 100GbE IP Core with AdaptersThis section shows successful simulation using the 100GbE IP core with adapters testbench (alt_1

Page 141

# ** Sending Packet 5...# ** Sending Packet 6...# ** Sending Packet 7...# ** Sending Packet 8...# ** Sending P

Page 142

• Control and Status Interface on page 3-51In step 3, write to the MAC_CMD_config register using this interface.• MAC Configuration and Filter Registe

Page 143

Functional Description32014.12.15UG-01088SubscribeSend FeedbackThis chapter provides a detailed description of the 40-100GbE IP core. The chapter begi

Page 144

High Level System OverviewFigure 3-1: 40GbE and 100GbE MAC and PHY MegaCore FunctionMain block, internal connections, and external block requirements.

Page 145

Figure 1-1: 40GbE and 100GbE MAC and PHY MegaCore FunctionMain block, internal connections, and external block requirements.40- or 100-Gbps Ethernet M

Page 146

The MAC includes the following interfaces:• Datapath client-interface–The following options are available:• 40GbE with adapters—Avalon-ST, 256 bits• 4

Page 147

Figure 3-2: Typical Client Frame at the Transmit InterfaceIllustrates the changes that the TX MAC makes to the client frame. This figure uses the foll

Page 148

Related InformationMAC Address Registers on page 3-107Includes information about the MADDR_CTRL, SRC_AD_LO, and SRC_AD_HI registers.Length/Type Field

Page 149 - Pause Registers

Related InformationMAC Feature Configuration Registers on page 3-105Includes information about the IPG_DEL_PERIOD and IPG_DEL_ENABLE registers.40-100G

Page 150

bits). In both cases the client interfaces operate at a frequency above 315 MHz in the standard IP corevariations, and at or above the frequency of 19

Page 151 - MAC Hardware Error Register

Signal Name Direction Descriptionl<n>_tx_readyOutput When asserted, the MAC is ready to receive data. Thel<n>_tx_ready signal acts as an a

Page 152 - CRC Configuration Register

Figure 3-5: Traffic on the TX and RX Client Interface for 100GbE IP Core Using the Eight- to Five-WordAdaptersShows typical traffic for the TX and RX

Page 153

Table 3-3: Signals of the TX Client Interface Without AdaptersIn the table, <w> = 2 for the 40GbE IP core and <w> = 5 for the 100GbE IP co

Page 154 - MAC Address Registers

Figure 3-7: Reduced Bandwidth With Left-Aligned SOP RequirementIllustrates the reduction of bandwidth that would be caused by left-aligning the SOP fo

Page 155 - Statistics Registers

40GbE IP Core Without AdaptersThe following figures illustrate the transmission of a short packet when preamble pass-through is turnedoff and when it

Page 156

40- and 100-Gbps Ethernet MAC and PHY IP Core Supported FeaturesThe 40- and 100-Gbps Ethernet MAC and PHY IP core offers the following features:• Para

Page 157

Figure 3-9: Short Packet Example With PreambleIllustrates the transmission of a short packet when preamble pass-through is turned on. In this example,

Page 158

Figure 3-10: Sample 40GbE IP Core TX Bus ActivityIllustrates the deassertion of the din_ack signal. The data beginning with 0xe6e7 is not immediatelya

Page 159

Figure 3-12: Short TX Packet Example With PreambleIllustrates the transmission of a short packet for the 100GbE IP core when preamble pass-through ist

Page 160

For example, din_start might be set to 5’b11000, indicating the start of a new packet in two successivewords. In this case, din_end_pos could equal 40

Page 161

Figure 3-15: Octet Transmission on the Avalon-ST Signals Without Preamble Pass-ThroughIllustrates how the octets of the client frame are transferred o

Page 162

Figure 3-16: Byte Order on the Avalon-ST Interface Lanes With Preamble Pass‑ThroughDescribes the byte order on the Avalon-ST interface when the preamb

Page 163 - PMD Registers

Figure 3-17: Octet Transmission on the Avalon-ST Signals With Preamble Pass-ThroughIllustrates how the octets of the client frame are transferred over

Page 164 - MDIO Registers

40-100GbE IP Core RX DatapathThe 40-100GbE RX MAC receives Ethernet frames from the PHY and forwards the payload with relevantheader bytes to the clie

Page 165

40-100GbE IP Core RX FilteringThe 40-100GbE IP core can operate in cut-through mode or in store and forward mode. In cut-throughmode, the IP core does

Page 166 - Ethernet Glossary

By default, the MAC RX removes all Start, SFD, preamble, and IPG bytes from accepted frames. However,if you turn on the RX preamble pass-through featu

Page 167 - Term Definition

• Programmable IPG fine adjustment for Ethernet repeater/bump-in-the-wire applications and trafficshaping.• Ethernet flow control using the pause regi

Page 168

Figure 3-20: Flow of Frame Through the MAC RX Without Preamble Pass-ThroughIllustrates the typical flow of frame through the MAC RX when the preamble

Page 169 - Subscribe

Related InformationMAC Feature Configuration Registers on page 3-105Information about the PAD_CONFIG register.Address CheckingThe RX MAC supports all

Page 170

• Pause Registers on page 3-10240-100GbE IP Core RX Data Bus InterfacesThis section describes the RX data bus at the user interface and includes the f

Page 171

Figure 3-22: RX MAC to Client Interface with AdaptersThe Avalon-ST interface bus width varies with the IP core variation. In the figure, <n> = 4

Page 172

Figure 3-23: Traffic on the TX and RX Client Interface for 40GbE IP Core Using the Four- to Two-WordAdaptersShows typical traffic for the TX and RX Av

Page 173 - Core v12.0 Release

40-100GbE IP Core RX Data Bus Without Adapters (Custom Streaming Interface)The RX bus without adapters consists of five 8-byte words, or 320 bits, ope

Page 174 - 10GBASE-KR Registers

Signal Name Direction Descriptiondout_runt_last_data[<w>-1:0]Output Indicates that the last_data (the final data byte of the frame) is the final

Page 175 - Bit R/W Name Description

100GbE IP Core RX Client Interface ExamplesExample on RX Client Interface Without Preamble Pass-ThroughFigure 3-26: Typical Traffic on the RX Client I

Page 176

The dout_payload signal marks words that contain frame data payload. Words that contain data payloadmight also contain Idle or sequence control inform

Page 177

Error Conditions on the RX DatapathThe RX MAC indicates error conditions by asserting l<n>_rx_error. The following error conditions aredefined:•

Page 178

Device Support Level DefinitionFinal The IP core is verified with final timing models forthis device family. The IP core meets all functionaland timin

Page 179

Congestion and Flow Control Using Pause FramesThe 40-100GbE IP core provides flow control to reduce congestion at the local or remote link partner.Whe

Page 180

Conditions Triggering XOFF Frame TransmissionThe TX MAC transmits XOFF frames when one of the following conditions occurs:• Client requests XOFF trans

Page 181

Pause Transmission LogicFigure 3-29: Block Diagram of the Pause Transmission Logic Tx MACMac Data and ControlFrame Generator Rx MACFrame ProcessorXOFF

Page 182

Signal Name Direction Descriptionpause_insert_mcast Input When asserted, specifies that the IP core should generate a pausepacket with the well-known

Page 183

packet filtering. The reset state for both bits is 1, where filtering is enabled. The bits are gated byRX_FILTER_CTRL bit [0], which enables and disab

Page 184

MAC and the XLGMII or CGMII to manage local and remote faults. Link fault signaling on the Ethernetlink is disabled by default but can be enabled by t

Page 185

Signal Name Direction Descriptionlocal_fault_statusOutputAsserted when local fault is detected in RX MAC in a duplex IPcore variation. In duplex IP co

Page 186

Name SignalDirectionDescriptiontx_inc_mcast_data_errOutput Asserted for one cycle when an errored multicast TX frame, excludingcontrol frames, is tran

Page 187

Name SignalDirectionDescriptionrx_inc_127Output Asserted for one cycle when a 65–127 byte RX frame is received.rx_inc_255Output Asserted for one cycle

Page 188

Name SignalDirectionDescriptionrx_inc_fcs_errOutput Asserted for one cycle when a RX packet with FCS errors is received.Assertion of this signal might

Page 189

MegaCore Function Device Family Supported Speed Grades40GbE (24.24 Gbps option)Arria V GZ I3, C3Stratix IV (GX) I3, C3Stratix IV (GT) I3Stratix V (GX)

Page 190 - Additional Information

Control Data Description1 fd End of Frame (fd = frame done).1 fe XL/CGMII Error. Typically a bit error which switched a 66-bit blockbetween data and c

Page 191 - Date ACDS

Table 3-12: Lane to Lane Deskew Interface SignalsSignal Name Direction Descriptionlanes_deskewedInput Indicates lane to lane skew iscorrected. Availab

Page 192

align_status is true and the scrambled idle RX test-pattern mode is active, the scrambled idle test-pattern checker observes the synchronous header an

Page 193 - at offset 0x127), described

40GBASE-KR4 IP Core VariationsThe 40GBASE-KR4 IP core supports low-level control of analog transceiver properties for link trainingand auto-negotiatio

Page 194

Related InformationAltera Transceiver PHY IP Core User GuideThe 40GBASE-KR4 variations of the 40-100GbE IP core use the Altera 10GBASE-KR PHY IP core.

Page 195

Signal Name Direction Descriptiontap_to_upd[11:0]Output Specifies the TX equalization tap to update to optimizesignal quality. Each lane's field

Page 196

Signal Name Direction Descriptionpcs_mode_rc[5:0]Output Specifies the PCS mode for reconfiguration. Has thefollowing valid values:• b'000001: aut

Page 197

Signal Name Direction Descriptionupi_adj[7:0]Input Selects the active tap for the corresponding lane. Each lane'sfield has the following valid va

Page 198 - Typographic Conventions

Signal Name Direction Descriptionupo_ber_max[3:0]Output When a bit is asserted, the BER counter for thecorresponding lane has rolled over.upo_coef_max

Page 199 - Visual Cue Meaning

to 644.53125 MHz ±100 ppm. For 24.24 Gbps variations, you must set the frequency of clk_ref either to390.625 MHz ±100 ppm or to 195.3125 MHz ±100 ppm.

Commentaires sur ces manuels

Pas de commentaire