using the on-chip signal quality monitoring circuitry ... · pdf fileeyeq data...

10
September 2010 Altera Corporation AN-605-1.2 Application Note Subscribe © 2010 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS and STRATIX are Reg. U.S. Pat. & Tm. Off. and/or trademarks of Altera Corporation in the U.S. and other countries. All other trademarks and service marks are the property of their respective holders as described at www.altera.com/common/legal.html . Altera warrants performance of its semiconductor products to current specifications in accordance with Altera’s standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. 101 Innovation Drive San Jose, CA 95134 www.altera.com Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers This application note describes how to use the on-chip signal quality monitoring circuitry (EyeQ) feature available in Stratix IV transceivers to help you estimate the horizontal eye-opening and select the best data sampling point at the receiver. It also describes the system-level blocks that are required to use the EyeQ feature. Popular data communication, telecommunication serial protocols, and proprietary links target very stringent bit error ratio (BER) requirements. For example, Common Electrical I/O (CEI-6G-LR) targets a BER of 1E-15 at data rates up to 6.375 Gbps across 40 inches of copper. Encoded data streams of 64/66B experience significant inter-symbol interference (ISI) at these data rates due to the low-pass filter effect of the 40-inch trace and backplane connectors. Meeting the stringent BER targets of 1E-15 over lossy backplanes and connectors is challenging. Altera’s 40-nm Stratix IV GX and GT high-speed transceivers are equipped with the following features to meet these BER targets: Signal conditioning circuitry—combat ISI introduced by lossy backplanes and connectors with three tap transmitter pre-emphasis, up to 16 dB of continuous time linear equalization, and decision feedback equalizer (DFE) On-chip signal quality monitoring circuitry (EyeQ)—estimates the horizontal eye-opening at the receiver serial data sampling point and helps you select an optimum data sampling point at the receiver Link Evaluation and Remote In-System Debugging The EyeQ feature is designed to work with the following two applications: Optimal signal conditioning during the link evaluation (refer to “Using the EyeQ Feature During Link Evaluation”) Remote in-system debugging on the receiving bit errors (refer to “Using the EyeQ Feature for Remote In-System Debugging”) Using the EyeQ Feature During Link Evaluation The EyeQ feature in Stratix IV transceivers is designed to estimate the actual eye opening at the receiver data sampling point. You can use the EyeQ feature during the link evaluation phase to select the optimal combination of signal conditioning settings that result in the widest eye opening. The horizontal eye opening at the receiver data sampling point is the percentage of the unit interval (UI) where the signal amplitude is greater than the sampling threshold. The wider the eye opening at the receiver data sampling point, the better the sampling margin, resulting in a better BER performance.

Upload: vuongtu

Post on 27-Mar-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

September 2010 Altera Corporation

AN-605-1.2 Application Note

Subscribe

© 2010 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, HARDCOPY, MAX, MEGACORE, NIOS, QUARTUS and STRATIX are Reg. U.S. Pat. & Tm. Off. and/or trademarks of Altera Corporation in the U.S. and other countries. All other trademarks and service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performance of its semiconductor products to current specifications in accordance with Altera’s standard warranty, but reserves the right to make changes to any products and services at any time without notice. Altera assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Altera. Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services.

101 Innovation DriveSan Jose, CA 95134www.altera.com

Using the On-Chip Signal QualityMonitoring Circuitry (EyeQ) Feature in

Stratix IV Transceivers

This application note describes how to use the on-chip signal quality monitoring circuitry (EyeQ) feature available in Stratix IV transceivers to help you estimate the horizontal eye-opening and select the best data sampling point at the receiver. It also describes the system-level blocks that are required to use the EyeQ feature.

Popular data communication, telecommunication serial protocols, and proprietary links target very stringent bit error ratio (BER) requirements. For example, Common Electrical I/O (CEI-6G-LR) targets a BER of 1E-15 at data rates up to 6.375 Gbps across 40 inches of copper. Encoded data streams of 64/66B experience significant inter-symbol interference (ISI) at these data rates due to the low-pass filter effect of the 40-inch trace and backplane connectors.

Meeting the stringent BER targets of 1E-15 over lossy backplanes and connectors is challenging. Altera’s 40-nm Stratix IV GX and GT high-speed transceivers are equipped with the following features to meet these BER targets:

■ Signal conditioning circuitry—combat ISI introduced by lossy backplanes and connectors with three tap transmitter pre-emphasis, up to 16 dB of continuous time linear equalization, and decision feedback equalizer (DFE)

■ On-chip signal quality monitoring circuitry (EyeQ)—estimates the horizontal eye-opening at the receiver serial data sampling point and helps you select an optimum data sampling point at the receiver

Link Evaluation and Remote In-System DebuggingThe EyeQ feature is designed to work with the following two applications:

■ Optimal signal conditioning during the link evaluation (refer to “Using the EyeQ Feature During Link Evaluation”)

■ Remote in-system debugging on the receiving bit errors (refer to “Using the EyeQ Feature for Remote In-System Debugging”)

Using the EyeQ Feature During Link EvaluationThe EyeQ feature in Stratix IV transceivers is designed to estimate the actual eye opening at the receiver data sampling point. You can use the EyeQ feature during the link evaluation phase to select the optimal combination of signal conditioning settings that result in the widest eye opening.

The horizontal eye opening at the receiver data sampling point is the percentage of the unit interval (UI) where the signal amplitude is greater than the sampling threshold. The wider the eye opening at the receiver data sampling point, the better the sampling margin, resulting in a better BER performance.

Page 2: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

Page 2 Link Evaluation and Remote In-System Debugging

Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers September 2010 Altera Corporation

It is impossible to physically measure the eye opening at the receiver data sampling point with an oscilloscope. The nearest accessible probe point is at the receiver serial input pins on the device package. Measuring the eye-diagram at a receiver serial input pin of a device package does not give a true picture of the eye-width at the data sampling point, especially when you enable receiver equalization.

Figure 1 shows the eye diagram at a receiver input pin of a device package which is completely closed due to ISI. The eye diagram at the data sampling point is significantly open after equalization.

Using the EyeQ Feature for Remote In-System DebuggingUnder normal operation when the EyeQ feature is not enabled, the recovered clock from the clock data recovery (CDR) unit is used to sample the serial data at the receiver. The recovered clock from the bang-bang phase detector-based CDR is usually located at the center of the eye which may not always be the optimum sampling point.

Figure 2 shows an eye diagram at the receiver with the optimum sampling point not being in the middle because of unequal rise and fall times. The recovered clock from the CDR that samples the incoming data at the middle of the eye barely meets the BER requirement. Variation in environmental conditions and aging could cause further degradation in signal integrity, which results in bit errors.

Figure 1. Horizontal Eye Opening Before and After Receiver Equalization

Receiver Equalization

Eye Diagram Captured at a Receiver InputPin of a Device Package

Eye Diagram After Receiver Equalization

Stratix IV GX and GT Receiver Channel

RxLinear

Equalizer DFE

Deserializer

ReceiverClock

RecoveryUnit

DataSampler

Page 3: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

Measuring the Horizontal Eye Opening Using the EyeQ Feature Page 3

September 2010 Altera Corporation Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers

As part of remote in-system debug, you can enable the EyeQ feature and select the optimum sampling point to provide a better sampling margin and BER performance.

Measuring the Horizontal Eye Opening Using the EyeQ FeatureUnlike transmitter pre-emphasis and receiver equalization, the EyeQ feature does not combat high-frequency losses introduced by backplane connectors and traces. Instead, it allows you to estimate the effectiveness of a given transmitter pre-emphasis, or both receiver equalization settings by measuring the horizontal eye opening. Settings that yield a wider eye opening provide a better sampling margin and better BER performance.

The EyeQ feature provides 32 phase steps spanning one complete UI. You can select each of the 32 phase steps, one at a time, to sample the serial received data. By stepping through these 32 phase steps and monitoring the BER at each phase step, you can measure the horizontal eye opening after receiver equalization, as shown in Figure 3.

Figure 2. Optimal Sampling Point Not Located at the Center of the Eye

Sampling Threshhold

Recovered Clock fromCDR at the Middle of

the Eye

Optimum Sampling Point

Page 4: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

Page 4 Measuring the Horizontal Eye Opening Using the EyeQ Feature

Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers September 2010 Altera Corporation

The target BER of 1E-12 in the eye diagram (Figure 3) is achieved for 18 (marked in green) out of 32 phase steps generated by the EyeQ feature. This is an estimate of the eye opening after receiver equalization. To evaluate if another equalization setting yields a wider eye opening, simply step through the 32 EyeQ phase steps with the new equalization setting. If the number of EyeQ phase steps that meet the target BER with the new equalization setting is more than the old equalization setting, the new setting yields a wider eye opening and potentially better BER performance.

Figure 3. Measuring the Horizontal Eye Opening Using the EyeQ Feature

Sample Threshold

EyeQ Phase Steps thatDo Not Meet Target BERof 1E-12

EyeQ Phase Stepsthat Meet Target BERof 1E-12

32 Phase Steps Generatedby the EyeQ Circuitry

HorizontalEye Opening

BE

R w

ith 9

5% C

onfid

ence

1 UI

1E-12

1E-3

1E-6

1E-9

Page 5: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

Describing the EyeQ Feature Page 5

September 2010 Altera Corporation Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers

Describing the EyeQ FeatureFigure 4 shows a block diagram of the EyeQ feature.

Each receiver channel located in Stratix IV transceiver blocks has independent EyeQ circuitry that is comprised of the following blocks:

■ Phase interpolator—the recovered clock from the CDR feeds into the phase interpolator. The phase interpolator uses this recovered clock as a reference to generate the 32 phase steps spanning one UI.

■ EyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase steps that have the signal amplitude above the sampling threshold, the EyeQ data sampler captures the serial bits correctly, which yields good BER performance. For the remaining phase steps, the EyeQ data sampler captures the serial bits incorrectly, yielding poor BER performance. Stepping through all 32 phase steps and monitoring the BER for each provides an estimate of the horizontal eye opening.

■ Datapath selection multiplexers—if you enable the EyeQ feature, the datapath selection multiplexers select the data sampled by the EyeQ data sampler to feed to the deserializer. Otherwise, it selects the data sampled by the receiver CDR to feed the deserializer.

Figure 4. Block Diagram of the EyeQ Feature

RXRx

Equalization CDR

Data toRx PCS

Clock toRx PCS

User Phase-StepSelection

0

0

1

1

CDR DataSampler

EyeQ DataSampler

User-SelectedEyeQ Clock

EyeQCircuitry

Recovered Clock

RecoveredClock

PhaseInterpolator

(PI)

RxDeserializer

DatapathSelection

Multiplexer

Page 6: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

Page 6 Describing the EyeQ Feature

Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers September 2010 Altera Corporation

Required Soft-Blocks for the EyeQ FeatureThe EyeQ feature in the receiver channel is only responsible for generating the 32 phase steps from the recovered clock. To use the EyeQ feature, you must implement the following additional blocks in the FPGA fabric:

■ Dynamic reconfiguration controller (ALTGX_RECONFIG megafunction)—enables the EyeQ feature and steps through the 32 phase steps for the desired receiver channel. It interfaces with the user-logic through the standard Avalon® memory mapped interface.

■ User-logic—instructs the dynamic reconfiguration controller through the Avalon memory mapped interface to enable the EyeQ feature and step through the 32 phase steps.

■ BER checker—monitors the BER for the selected phase step.

f For step-by-step instructions about how to enable the EyeQ feature and step through the 32 phase steps with the ALTGX_RECONFIG controller, refer to the “EyeQ” section in the Stratix IV Dynamic Reconfiguration chapter in the Stratix IV Device Handbook.

1 You must assert rx_digitalreset (receiver physical coding sublayer [PCS] reset) for two parallel clock cycles whenever you enable or disable the EyeQ feature or select a new EyeQ phase step for the channel.

Figure 5 shows a typical implementation block diagram of the EyeQ feature.

Figure 5. System Implementation Block Diagram for the EyeQ Feature

RXRx

EqualizationReceiver

CDR

EyeQ

Deserializer PCS Blocks

rx_clkout

FPGA FabricReceiver PMAOff-Chip Receiver PCS

BERChecker

DynamicReconfigController

AvalonMemory-Mapped

Interface

User Logic

Page 7: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

Recommended EyeQ Feature Flow Process for Link Evaluation Page 7

September 2010 Altera Corporation Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers

Recommended EyeQ Feature Flow Process for Link EvaluationTo improve the sampling margin at the receiver and to meet a stringent BER target, use the recommended EyeQ feature flow process shown in Figure 6 during link evaluation.

Figure 7 and Figure 8 show a sample EyeQ phase step versus BER plots derived with the flow shown in Figure 6.

■ The plot in Figure 7 uses the linear receiver (RX) equalization setting of 3 and yields 19 EyeQ phase steps (0 – 15 and 29 – 31) that meet the BER target of 1E-15.

■ The plot in Figure 8 uses the linear RX equalization setting of 9 and yields 23 EyeQ phase steps (0 – 19 and 29 – 31) that meet the BER target of 1E-15.

Figure 6. Recommended EyeQ Feature Flow Process During Link Signal Integrity Evaluation

Note to Figure 6:(1) The established transceiver link implies that the CDR has locked to the incoming data and the stable recovered clock

is used to sample it.

YesNo

Establish the transceiver linkwith the EyeQ feature disabled (1)

Program signal conditioning settings (Tx Preemphasis,Rx Equalization) that must be evaluated

1) Enable the EyeQ feature with phase step 0 using the ALTGX_RECONFIG megafunction

2) Note the BER for phase step 0

1) Increment the EyeQ phase step selection by 1 using the ALTGX_RECONFIG megafunction

2) Note the BER for the new phase step

Plot the 32 phase steps on the X-axis and thecorresponding BER values on the Y-axis to

estimate the horizontal eye opening

Does the last programmed EyeQ phasestep = 31?

Yes NoDoes the eye opening provide asufficient sampling margin to meet the

stringent BER target?

The target BER and samplingmargin are achieved with

the selected settings

Page 8: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

Page 8 Recommended EyeQ Feature Flow Process for Link Evaluation

Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers September 2010 Altera Corporation

As evident from Figure 7 and Figure 8, the equalization setting of 9 yields a wider horizontal eye opening and a better sampling margin when compared with the equalization setting of 3.

Figure 7. Example of BER Versus EyeQ Phase Step Plot for an RX Equalization Setting of 3

Sample Threshold

0

<1E-3

1E-15

1E-12

1E-9

1E-6

31

EyeQ Phase Steps thatDo Not Meet Target BERof 1E-12

EyeQ Phase Stepsthat Meet Target BERof 1E-12

Phase Steps0 – 15 meet target

BER of 1E-15

BE

R w

ith 9

5% c

onfid

ence

Phase Steps29 – 31 meet target

BER of 1E-15

32 Phase Steps Generatedby the EyeQ Circuitry

Page 9: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

Translating EyeQ Phase Steps into a Percentage of the Eye Opening Page 9

September 2010 Altera Corporation Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers

Translating EyeQ Phase Steps into a Percentage of the Eye OpeningUse Equation 1 to calculate the percentage of the horizontal eye opening when you use the EyeQ feature.

The horizontal eye opening shown in Figure 7 with 19 EyeQ phase steps that meet the BER target of 1E-15 is 19 * 3.125 ±3% = 56% to 62%.

The horizontal eye opening shown in Figure 8 with 23 EyeQ phase steps that meet the BER target of 1E-15 is 23 * 3.125 ±3% = 69% to 75%.

Figure 8. Example BER Versus EyeQ Phase Step Plot for an RX Equalization Setting of 9

Sample Threshold

0

<1E-3

1E-15

1E-12

1E-9

1E-6

31

EyeQ Phase Steps thatDo Not Meet Target BERof 1E-12

EyeQ Phase Stepsthat Meet Target BERof 1E-12

Phase Steps0 – 19 meet target

BER of 1E-15

BE

R w

ith 9

5% c

onfid

ence

Phase Steps29 – 31 meet target

BER of 1E-15

32 Phase Steps Generatedby the EyeQ Circuitry

Equation 1.

% horizontal eye opening = (NBER * 3.125) ±3%

where, NBER is the number of phase steps for which the target BER is met

Page 10: Using the On-Chip Signal Quality Monitoring Circuitry ... · PDF fileEyeQ data sampler—uses the user-selected phase step to sample the data post receiver equalization. For phase

Page 10 Conclusion

Using the On-Chip Signal Quality Monitoring Circuitry (EyeQ) Feature in Stratix IV Transceivers September 2010 Altera Corporation

ConclusionThe EyeQ feature provides a unique way of estimating the horizontal eye opening at the receiver data sampling point, as well as performing remote in-system debugging. With the EyeQ feature you can achieve a good margin to meet stringent BER requirements at high data rates.

f For a reference design of the EyeQ feature, refer to Stratix IV GX Board EyeQ Reference Design.

Document Revision HistoryTable 1 lists the revision history for this application note.

Table 1. Document Revision History

Date Version Changes

September 2010 1.2■ Updated to improve searchability

■ Updated document title.

August 2010 1.1■ Updated to improve searchability.

■ Minor text edits.

March 2010 1.0 Initial release.