Altera CPRI v6.0 MegaCore Function Manual de usuario

Busca en linea o descarga Manual de usuario para Instrumentos de medición Altera CPRI v6.0 MegaCore Function. Altera CPRI v6.0 MegaCore Function User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 115
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
CPRI v6.0 MegaCore Function User Guide
Last updated for Altera Complete Design Suite: 14.0 and 14.0 Arria 10
Edition
Subscribe
Send Feedback
UG-01156
2015.02.16
101 Innovation Drive
San Jose, CA 95134
www.altera.com
Vista de pagina 0
1 2 3 4 5 6 ... 114 115

Indice de contenidos

Pagina 1 - San Jose, CA 95134

CPRI v6.0 MegaCore Function User GuideLast updated for Altera Complete Design Suite: 14.0 and 14.0 Arria 10EditionSubscribeSend FeedbackUG-011562015.0

Pagina 2 - Contents

Release InformationTable 1-5: CPRI v6.0 IP Core Current Release InformationItem DescriptionCompatibleQuartus IISoftwareVersion14.0 14.0 Arria 10 Editi

Pagina 3

Table 5-13: CPRI v6.0 IP Core START_UP_TIMER Register at Offset 0x28Bits Field Name Type Value onResetDescription31:20 Reserved UR0 12'b019:0 sta

Pagina 4

Table 5-15: CPRI v6.0 IP Core CTRL_INDEX Register at Offset 0x30Frequency differences between the control and status interface clock cpu_clk and the m

Pagina 5 - About the CPRI v6.0 IP Core

Table 5-16: CPRI v6.0 IP Core TX_CTRL Register at Offset 0x34Frequency differences between the control and status interface clock cpu_clk and the main

Pagina 6

Bits Field Name Type Value onResetDescription7:0 lcv RC 8'b0 Number of line code violations (LCVs) detected in the 8B/10Bdecoding block in the tr

Pagina 7 - Device Family Support

Bits Field Name Type Value onResetDescription10:8 loop_reversedRW 3'b0 Testing reverse loopback mode. If you turn on Enable reverseloopback path

Pagina 8 - IP Core Verification

Bits Field Name Type Value onResetDescription1:0 loop_forwardRW 2'b0 Testing forward loopback mode. If you turn on Enabletransceiver PMA forward

Pagina 9

Bits Field Name Type Value onResetDescription8 tx_buf_resyncRW 1'b0 Force transmit buffer pointer resynchronization. You can usethis register fie

Pagina 10 - Release Information

Bits Field Name Type Value onResetDescription(RX_BUF_DEPTH -1):0rx_buf_delayRO 0 Current receive buffer fill level. Unit is 32-bit words. Maximumvalue

Pagina 11 - Related Information

Bits Field Name Type Value onResetDescription23 rx_ex_delay_validRC 1'b0 Indicates that the rx_ex_delay field has been updated.22:RX_BUF_DEPTHRes

Pagina 12

Bits Field Name Type Value onResetDescription20:16 rx_bitslip_outRO 5'b0 Number of bits of delay (bitslip) detected at the receiver word-aligner.

Pagina 13 - Installation and Licensing

OpenCore Plus Time-Out BehaviorOpenCore Plus hardware evaluation can support the following two modes of operation:• Untethered—the design runs for a l

Pagina 14 - 2014.08.18

Differences Between CPRI v6.0 IP Core and CPRIIP CoreA2014.08.18UG-01156SubscribeSend FeedbackThe CPRI v6.0 IP core achieves low latency and lower res

Pagina 15 - File Name Description

Property CPRI v6.0 IP Core (Initial Release) CPRI IP CoreEthernet MAC Includes Ethernet PCS block thatcommunicates with user logicthrough an IEEE 802.

Pagina 16

• MegaCore IP Library Release Notes and ErrataFor information about changes in different versions of the legacy CPRI IP core, refer to the ProductRevi

Pagina 17

Additional InformationB2015.02.16UG-01156SubscribeSend FeedbackCPRI v6.0 MegaCore Function User Guide Revision HistoryTable B-1: Document Revision His

Pagina 18 - CPRI v6.0 IP Core Parameters

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

Pagina 19

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

Pagina 20 - Parameter Description

Getting Started with the CPRI v6.0 IP Core22014.08.18UG-01156SubscribeSend FeedbackExplains how to install, parameterize, and simulate the Altera CPRI

Pagina 21

Installation and LicensingThe CPRI v6.0 IP core is an extended IP core which is not included with the Quartus II release. Thissection provides a gener

Pagina 22

• Optionally select preset parameter values if provided for your IP core. Presets specify initialparameter values for specific applications.• Specify

Pagina 23 - Adding the Clean-Up PLL

Figure 2-3: IP Core Generated Files<your_testbench>_tb.csv<your_testbench>_tb.spd<your_ip>.cmp - VHDL component declaration file<

Pagina 24 - Adding the External TX PLL

File Name Description<my_ip>.cmp The VHDL Component Declaration (.cmp) file is a text file thatcontains local generic and port definitions that

Pagina 25

File Name Description<my_ip>.svdAllows HPS System Debug tools to view the register maps ofperipherals connected to HPS within a Qsys system.Duri

Pagina 26

CPRI v6.0 IP Core ParametersThe CPRI v6.0 parameter editor provides the parameters you can set to configure the CPRI v6.0 IP coreand simulation testbe

Pagina 27 - Simulating Altera IP Cores

Parameter Range DefaultSettingParameter DescriptionReceiver FIFO depth4, 5, 6, 7, or 8 6The value you specify for this parameter is log2 ofthe IP core

Pagina 28 - Running the Testbench

ContentsAbout the CPRI v6.0 IP Core...1-1CPRI v6.0 IP Core Supported Featur

Pagina 29 - Parameter Value

Parameter Range DefaultSettingParameter DescriptionAuxiliary latencycycle(s)0 to 9 0Specifies the additional write latency on the AUXTX interface and

Pagina 30

Parameter Range DefaultSettingParameter DescriptionEnable direct ctrl_axcaccess interface• On• OffOffTurn on this parameter to include a dedicatedinte

Pagina 31 - Functional Description

Parameter Range DefaultSettingParameter DescriptionL2 Ethernet PCS Tx/Rx FIFO depth7, 8, 9, 10 7The value you specify for this parameter is log2 ofthe

Pagina 32

The CPRI v6.0 IP core requires that you define, instantiate, and connect the following additional softwareand hardware modules for all CPRI v6.0 IP co

Pagina 33

Drive the clean-up PLL with the CPRI v6.0 IP core xcvr_recovered_clk output clock, and connect thecleaned up output to the external TX PLL input refer

Pagina 34

User logic must provide the connection. Refer to the demonstration testbench for example working userlogic including one correct method to instantiate

Pagina 35 - Information

You must connect the external reset controller signals and the CPRI v6.0 IP core reset controller interfacesignals according to the following rules. R

Pagina 36

Simulating Altera IP CoresThe Quartus II software supports RTL- and gate-level design simulation of Altera IP cores in supportedEDA simulators. Simula

Pagina 37

Understanding the TestbenchAltera provides a demonstration testbench with the CPRI v6.0 IP core.If you click Example Design in the CPRI v6.0 parameter

Pagina 38

Parameter ValueOperation mode MasterSupported receiver CDR frequency (MHz) 307.2Receiver FIFO depth (value shown is log2 of actualdepth)6Enable auto-r

Pagina 39 - AUX Interface

Media Independent Interface (MII) to External Ethernet Block... 3-32CPU Interface to CPRI v6.0 IP

Pagina 40 - AUX Interface Signals

Note: You must select a simulator that is supported by the Quartus II v14.0 or v14.0 Arria 10 Editionsoftware, as appropriate.9. Change directory to y

Pagina 41 - AUX RX Interface Data Signals

Functional Description32014.08.18UG-01156SubscribeSend FeedbackThe Altera CPRI v6.0 IP core implements Layer 1 of the CPRI V6.0 specification and prov

Pagina 42 - AUX TX Interface Data Signals

Multiple interfaces control the contents of the outbound CPRI frame control words and data. The CPRIv6.0 implements the following transmission priorit

Pagina 43

CPRI v6.0 IP Core Clocking StructureFigure 3-2: CPRI v6.0 IP Core Clocking StructureIllustrates the clocks and clock domains in the CPRI v6.0 IP core.

Pagina 44

CPRI v6.0 Input Clock Informationcpri_10g_coreclkDrives the CPRI v6.0 IP core clock cpri_clkout when the IP coreis running at the CPRI line bit rate o

Pagina 45

CPRI v6.0 IP Core Reset RequirementsTo reset the entire CPRI v6.0 IP core, you must assert the reset signals to the required external resetcontroller

Pagina 46

Figure 3-3: Required External BlocksAn example showing how you could connect required components to a single CPRI v6.0 IP core.Reset ControllerReset C

Pagina 47 - Auxiliary Latency Cycles

Table 3-4: Start-Up Sequence Interface SignalsAll interface signals are clocked by the cpri_clkout clock.Signal Name Direction Descriptionstate_startu

Pagina 48

Signal Name Direction Descriptionnego_protocol_complete InputIndicates the CPRI protocol version negotiation iscomplete.This signal is available only

Pagina 49

Figure 3-4: Start-Up Sequence State Machine Timing Diagram000 111 110 101001 011000001011 111 110cpri_clkoutstate_startup_sequencestate_l1_syncnego_bi

Pagina 50

TX_EX_DELAY Register...5-18RX_E

Pagina 51 - Direct IQ Interface

AUX Interface SignalsTable 3-5: AUX Interface SignalsIf you turn on Enable auxiliary interface in the CPRI v6.0 parameter editor, the AUX interface is

Pagina 52

AUX RX Interface Data SignalsSignal Name Direction Descriptionaux_rx_ctrl[3:0] Output Control slots indicator. Each asserted bit indicates that thecor

Pagina 53

AUX TX Interface Data SignalsSignal Name Direction Descriptionaux_tx_data[31:0] Input Data the IP core receives on the AUX TX interface. Thedata is al

Pagina 54

Figure 3-5: AUX RX Interface Timing DiagramAUX RX interface behavior in a CPRI v6.0 IP core running at 0.6144 Gbps.4095 003255 1149 02 0 1 2 3 0 1 2X

Pagina 55

Figure 3-7: AUX TX Interface Timing Diagram with One Auxiliary Latency CycleExpected behavior on the AUX TX interface of a CPRI v6.0 IP core running a

Pagina 56

Figure 3-8: AUX TX Interface Timing Diagram with Four Auxiliary Latency CyclesExpected behavior on the AUX TX interface of a CPRI v6.0 IP core running

Pagina 57 - Direct HDLC Serial Interface

Figure 3-9: AUX TX Timing Diagram with ErrorIllustrates the behavior of the aux_tx_err signal on the AUX TX interface of a CPRI v6.0 IP core runningat

Pagina 58

AUX Interface SynchronizationFigure 3-10: Relationship Between Synchronization Pulses and Numbers on the AUX InterfaceThe output synchronization signa

Pagina 59

In the CPRI v6.0 parameter editor, you can specify a non-zero number of Auxiliary latency cycle(s) toincrease the write latency on the AUX TX interfac

Pagina 60

various direct interfaces in this format. The only exception is the L1 CSR interface, which transmits andreceives information in individual bits.Figur

Pagina 61

About the CPRI v6.0 IP Core12014.08.18UG-01156SubscribeSend FeedbackThe Altera® CPRI v6.0 MegaCore® function implements the CPRI Specification V6.0 (2

Pagina 62 - RX MII Signals

0 1 2 ... 30 31[31:24] #Z.X.0.0(1)#Z.X.0.4(1)#Z.X.1.0 ... #Z.X.14.0 #Z.X.15.4[23:16] #Z.X.0.1(1)#Z.X.0.5(1)#Z.X.1.1

Pagina 63 - TX MII Signals

Direct IQ InterfaceIf you turn on Enable direct IQ mapping interface in the CPRI v6.0 parameter editor, the direct IQinterface is available. This inte

Pagina 64 - MII Status Signals

Figure 3-14: Direct IQ RX Interface Timing DiagramDirect IQ RX interface behavior in a CPRI v6.0 IP core running at 0.6144 Gbps.The aux_rx_x and aux_r

Pagina 65

Related InformationAvalon Interface SpecificationsFor more information about the Avalon-ST protocol, including timing diagrams, refer to the AvalonStr

Pagina 66 - CPU Interface Signals

Figure 3-16: Direct VS RX Timing DiagramDirect VS RX interface behavior in a CPRI v6.0 IP core running at 0.6144 Gbps.The aux_rx_x signal is not part

Pagina 67 - Specifying the Control Word

Figure 3-17: Direct VS TX Timing DiagramExpected behavior on the direct VS TX interface of a CPRI v6.0 IP core running at 0.6144 Gbps.The aux_tx_x sig

Pagina 68

Table 3-8: Real-Time Vendor Specific Interface SignalsAll interface signals are clocked by the cpri_clkout clock.Real-Time Vendor Specific RX Interfac

Pagina 69

Figure 3-19: Direct RTVS TX Timing DiagramExpected behavior on the direct RTVS TX interface of a CPRI v6.0 IP core running at 10.1376 Gbps.The aux_tx_

Pagina 70 - Auto-Rate Negotiation

Direct HDLC Serial RX InterfaceSignal Name Direction Descriptionhdlc_rx_data Output HDLC data stream received from the CPRI frame. Thehdlc_rx_valid si

Pagina 71 - Extended Delay Measurement

Direct L1 Control and Status InterfaceIf you turn on Enable Z.130.0 access interface in the CPRI v6.0 parameter editor, the direct L1 controland statu

Pagina 72 - Resolution

CPRI v6.0 IP Core Supported FeaturesThe CPRI v6.0 IP core offers the following features:• Compliant with the Common Public Radio Interface (CPRI) Spec

Pagina 73 - Deterministic Latency

Signal Name Direction Descriptionz130_local_rai Output Indicates that either the z130_local_lof or the z130_local_los signal is high; clears when both

Pagina 74

Figure 3-22: sdi_assert to sdi_req on Direct L1 Control and Status Interfacecpri_clkoutMaster z130_sdi_assertDL Frame Z.130.0[2] (Internal)Slave z130_

Pagina 75 - CPRI Link

Figure 3-24: LOF, LOS, and RAI on Direct L1 Control and Status Interfacecpri_clkoutz130_local/remote_lofz130_local/remote_losz130_local/remote_raiLOF

Pagina 76

RX MII SignalsSignal Name Direction Descriptionmii_rxreset Input Resets the MII receiver interface and FIFO read logic. Thisreset signal is active low

Pagina 77

MII Status SignalsSignal Name Direction Descriptionmii_tx_fifo_status[3:0] Output Ethernet Tx PCS FIFO fill level status. The individual bitshave the

Pagina 78 - Interface to the External PLL

Figure 3-26: TX MII Timing Diagrammii_txclkmii_txenmii_txdmii_txerEncoded FrameD1 D2 D3 D4 D5 D6 D7 XX/J/ /K/ /D1/ /D2/ /F/ /D4/ /F/ X/I/ /D6/ /D7/ /T

Pagina 79 - Testing Features

CPU Interface SignalsTable 3-12: CPRI v6.0 IP Core CPU Interface SignalsThe CPRI v6.0 IP core CPU interface has the following features:• Avalon-MM sla

Pagina 80

Accessing the Hyperframe Control WordsWhen you turn on Enable all control word access in the CPRI v6.0 parameter editor, you can access the256 control

Pagina 81

Specifying the Position in the Control WordYou can access only 32 bits in a single register access. Depending on the CPRI line bit rate, a control wor

Pagina 82 - CPRI v6.0 IP Core Signals

Example 3-1: Control Word Retrieval ExampleTo retrieve the vendor-specific portion of a control word in the most recent received hyperframe,perform th

Pagina 83

CPRI v6.0 IP Core Device Family and Speed Grade SupportThe following sections list the device family and device speed grade support offered by the CPR

Pagina 84

6. If the CPRI line bit rate is greater than 6.144 Gbps, increment the tx_ctrl_seq field of theCTRL_INDEX register to the value of 3 and write the fou

Pagina 85

Table 3-14: Auto-Rate Negotiation Control and Status Interface SignalsAll interface signals are clocked by the cpri_clkout clock.Signal Name Direction

Pagina 86 - Direction

sections explain how you set and use these register values to derive the extended Tx delay measurementinformation.M/N Ratio SelectionAs your selected

Pagina 87

calculate the number of cpri_clkout clock cycles of delay through the Rx buffer directly, asrx_msrm_period/N.Related Information• TX_EX_DELAY Register

Pagina 88

Table 3-18: Delays on Transmit Path Through CPRI v6.0 IP Core in Arria 10 DevicesIn this table, P1 is the duration of one cpri_clkout clock cycle, and

Pagina 89

Table 3-21: Delays on Receive Path Through CPRI v6.0 IP Core in Stratix V DevicesIn this table, P1 is the duration of one cpri_clkout clock cycle, and

Pagina 90 - CPRI v6.0 IP Core Registers

Main Transceiver Clock and Reset SignalsTable 3-23: Main Transceiver Clock and Reset-Done SignalsThe clocks for individual interfaces are listed with

Pagina 91 - 2015.02.16

The Avalon-MM interface implements a standard memory-mapped protocol. You can connect an Avalonmaster to this bus to access the registers of the embed

Pagina 92 - L1_STATUS Register

Signal Name Direction Descriptionxcvr_tx_cal_busyOutput Indicates to external reset controller that the transmitter isstill busy with the calibration

Pagina 93 - L1_CONFIG Register

Transceiver Debug InterfaceTable 3-28: Transceiver Debug Interface SignalsIf you turn on Enable debug interface in the CPRI v6.0 parameter editor, the

Pagina 94 - BIT_RATE_CONFIG Register

CPRI v6.0 IP Core Performance: Device Speed Grade SupportTable 1-3: Slowest Supported Device Speed GradesLower speed grade numbers correspond to faste

Pagina 95 - PROT_VER Register

Table 3-29: Loopback ModesTag in Figure Description How to Configure1 External loopback: Use this configurationto test the full Tx and Rx paths from a

Pagina 96 - RX_SCR Register

Related InformationL1_CONFIG Register on page 5-4UG-011562014.08.18CPRI v6.0 IP Core Self-Synchronization Feature3-51Functional DescriptionAltera Corp

Pagina 97 - CM_CONFIG Register

CPRI v6.0 IP Core Signals42014.08.18UG-01156SubscribeSend FeedbackThe CPRI v6.0 IP core communicates with the surrounding design through multiple exte

Pagina 98 - START_UP_SEQ Register

Signal Name Direction Interfacemii_tx_fifo_status[3:0] OutputMII status signalsThese signals are available only if you turn on EnableIEEE 802.3 100BAS

Pagina 99 - START_UP_TIMER Register

Signal Name Direction Descriptionaux_tx_data[31:0] InputAUX TX interface data signalsThese signals are available only if you turn on Enableauxiliary i

Pagina 100 - CTRL_INDEX Register

Signal Name Direction Descriptionhdlc_rx_valid Output Direct HDLC serial RX interfaceThese signals are available only if you turn on Enabledirect HDLC

Pagina 101 - TX_CTRL Register

Table 4-3: CPRI v6.0 IP Core Management SignalsClock NameDirectionDescriptioncpri_clkout OutputMain clock signalscpri_10g_coreclk Inputreset Input Mai

Pagina 102 - RX_ERR Register

Clock NameDirectionDescriptionex_delay_clk InputExtended delay measurement interfaceex_delay_reset Inputrx_lcv Output L1 debug interfaceThese signals

Pagina 103 - RX_BFN Register

Signal Name Direction Descriptionreconfig_clk InputArria V GZ and Stratix V transceiver reconfigurationinterfaceThese signals are present only in P co

Pagina 104 - Description

Related Information• Main Transceiver Clock and Reset Signals on page 3-46• CPRI Link on page 3-45• Arria V GZ and Stratix V Transceiver Reconfigurati

Pagina 105 - TX_DELAY Register

Table 1-4: IP Core FPGA Resource UtilizationLists the resources and expected performance for selected variations of the CPRI v6.0 IP core in an Arria

Pagina 106 - RX_DELAY Register

CPRI v6.0 IP Core Registers52015.02.16UG-01156SubscribeSend FeedbackThe CPRI v6.0 IP core internal registers are accessible using the CPU interface, a

Pagina 107 - RX_EX_DELAY Register

Offset Register Name Function Location of Additional Information0x14 TX_SCR Transmitter ScramblerControlTX_SCR Register on page 5-70x18 RX_SCR Receive

Pagina 108 - XCVR_BITSLIP Register

INTR RegisterTable 5-3: CPRI v6.0 IP Core INTR Register at Offset 0x00Bits Field Name Type Value onResetDescription31:19 Reserved UR0 13'b018 int

Pagina 109

Bits Field Name Type Value onResetDescription11 rx_freq_alarm_holdRC 1'b0 CPRI receive clock is not synchronous with main IP core clock(cpri_clko

Pagina 110 - Send Feedback

Bits Field Name Type Value onResetDescription2 tx_enable_forceRW 1'b0 Specifies whether the RE slave self-synchronization testingfeature is activ

Pagina 111

Bits Field Name Type Value onResetDescription4:0 bit_rate #nik1411442180153/fn_RO_or_RW#nik1411442180153/fn_param_ed_detCPRI line bit rate to be used

Pagina 112 - Altera Corporation

Bits Field Name Type Value onResetDescription9prot_ver_autoRW 1'b1 Enables auto negotiation of protocol version.If you turn on Enable L1 inband p

Pagina 113 - Additional Information

Table 5-9: CPRI v6.0 IP Core RX_SCR Register at Offset 0x18Bits Field Name Type Value onResetDescription31 rx_scr_activeRO 1'b0 Indicates that th

Pagina 114 - Typographic Conventions

CM_STATUS RegisterTable 5-11: CPRI v6.0 IP Core CM_STATUS Register at Offset 0x20Bits Field Name Type Value onResetDescription31:12 Reserved UR0 20&ap

Pagina 115 - Visual Cue Meaning

Bits Field Name Type Value onResetDescription10:8 state_startup_seqRO 3'b0 Indicates the current state of the start-up sequence. This fieldhas th

Comentarios a estos manuales

Sin comentarios