an 522: implementing bus lvds interface in supported ...implementing bus lvds interface in supported...

22
Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS) extends the capability of LVDS point-to-point communication to multipoint configuration. Multipoint BLVDS offers an efficient solution for multipoint backplane applications. A good multipoint design must consider the capacitive load and termination on the bus to obtain better signal integrity. You can minimize the load capacitance by selecting a transceiver with low pin capacitance, connector with low capacitance, and keeping the stub length short. You can implement the BLVDS interface in supported Altera ® device families: Arria ® 10, Arria V, and Arria II devices Cyclone ® V, Cyclone IV, Cyclone III, and Cylone III LS devices Stratix ® V, Stratix IV, and Stratix III devices The programmable features of the drive strength and slew rate options in these devices enable you to customize your multipoint system for maximum performance. To determine the maximum data rate supported, you must perform a simulation or measurement based on your specific system setup and application. You can use the included Cyclone III BLVDS design example to analyze the performance of a multipoint application. The design example is applicable to all supported Altera devices. For Arria 10 devices, you need to migrate the design example to Arria 10 devices first before you can use it. BLVDS Overview Typical multipoint BLVDS system consists of a number of transmitter and receiver pairs (transceivers) that are connected to the bus. Figure 1: Multipoint BLVDS R T R T R T R T R T R T R T R T R T R T R T R T R T R T R T R T R T R T The configuration in the preceding figure provides bidirectional half-duplex communication while minimizing interconnect density. Any transceiver can assume the role of a transmitter, with the © 2014 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos are trademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified as trademarks or 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. ISO 9001:2008 Registered www.altera.com 101 Innovation Drive, San Jose, CA 95134

Upload: others

Post on 09-Sep-2021

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Implementing Bus LVDS Interface in Supported AlteraDevice Families

2014.08.18

AN-522 Subscribe Send Feedback

Bus LVDS (BLVDS) extends the capability of LVDS point-to-point communication to multipointconfiguration. Multipoint BLVDS offers an efficient solution for multipoint backplane applications.

A good multipoint design must consider the capacitive load and termination on the bus to obtain bettersignal integrity. You can minimize the load capacitance by selecting a transceiver with low pincapacitance, connector with low capacitance, and keeping the stub length short.

You can implement the BLVDS interface in supported Altera® device families:

• Arria® 10, Arria V, and Arria II devices• Cyclone® V, Cyclone IV, Cyclone III, and Cylone III LS devices• Stratix® V, Stratix IV, and Stratix III devices

The programmable features of the drive strength and slew rate options in these devices enable you tocustomize your multipoint system for maximum performance. To determine the maximum data ratesupported, you must perform a simulation or measurement based on your specific system setup andapplication.

You can use the included Cyclone III BLVDS design example to analyze the performance of a multipointapplication. The design example is applicable to all supported Altera devices. For Arria 10 devices, youneed to migrate the design example to Arria 10 devices first before you can use it.

BLVDS OverviewTypical multipoint BLVDS system consists of a number of transmitter and receiver pairs (transceivers)that are connected to the bus.

Figure 1: Multipoint BLVDS

R

TR

TR

TR

TR

TR

TR

TR

TR

TR

TR

TR

TR

TR

TR

TR

TR

TR

T

The configuration in the preceding figure provides bidirectional half-duplex communication whileminimizing interconnect density. Any transceiver can assume the role of a transmitter, with the

© 2014 Altera Corporation. All rights reserved. ALTERA, ARRIA, CYCLONE, ENPIRION, MAX, MEGACORE, NIOS, QUARTUS and STRATIX words and logos aretrademarks of Altera Corporation and registered in the U.S. Patent and Trademark Office and in other countries. All other words and logos identified astrademarks or service marks are the property of their respective holders as described at www.altera.com/common/legal.html. Altera warrants performanceof its semiconductor products to current specifications in accordance with Altera's standard warranty, but reserves the right to make changes to anyproducts 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 devicespecifications before relying on any published information and before placing orders for products or services.

ISO9001:2008Registered

www.altera.com101 Innovation Drive, San Jose, CA 95134

Page 2: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

remaining transceivers acting as receivers (only one transmitter can be active at a time). Bus trafficcontrol, either through a protocol or hardware solution is typically required to avoid driver contention onthe bus. The performance of a multipoint BLVDS is greatly affected by the capacitive loading andtermination on the bus.

One of the multipoint BLVDS design consideration is the effective differential impedance of a fully loadedbus, referred to as effective impedance, and the propagation delay through the bus. Other multipointBLVDS design considerations include fail-safe biasing, connector type and pintout, PCB bus trace layout,and driver edge rate specifications.

Effective ImpedanceThe effective impedance depends on the bus trace characteristic impedance Zo and capacitive loading onthe bus. The connectors, the stub on the plug-in card, the packaging, and the receiver input capacitance allcontribute to capacitive loading, which reduces the bus effective impedance.

Figure 2: Effective Differential Impedance Equation

Use this equation to approximate the effective differential impedance of the loaded bus (Zeff).

Where:

• Zdiff (Ω) ≈ 2 × Zo = the differential characteristic impedance of the bus• Co (pF/inch) = characteristic capacitance per unit length of the bus• CL (pF) = capacitance of each load• N = number of loads on the bus• H (inch) = d × N = total length of the bus• d (inch) = spacing between each plug-in card• Cd (pF/inch) = CL/d = distributed capacitance per unit length across the bus

The increment in load capacitance or closer spacing between the plug-in cards reduces the effectiveimpedance. To optimize the system performance, it is important to select a low capacitance transceiverand connector. Keep each receiver stub length between the connector and transceiver I/O pin as short aspossible.

Figure 3: Normalized Effective Impedance Versus Cd/Co

This figure shows the effects of distributed capacitance on normalized effective impedance.

2 Effective ImpedanceAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 3: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

0.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

1.1

0 1 2 3 4 5 6 7 8 9 10

Cd / Co

Zef

f / Z

diff

Termination is required at each end of the bus, while the data flows in both directions. To reducereflection and ringing on the bus, you must match the termination resistor to the effective impedance. Fora system with Cd/Co = 3, the effective impedance is 0.5 times of Zdiff. With double terminations on thebus, the driver sees an equivalent load of 0.25 times of Zdiff; and thus reduces the signals swing anddifferential noise margin across the receiver inputs (if standard LVDS driver is used). The BLVDS driveraddresses this issue by increasing the drive current to achieve similar voltage swing at the receiver inputs.

Propagation DelayThe propagation delay (tPD = Zo × Co) is the time delay through the transmission line per unit length. Itdepends on the characteristic impedance and characteristic capacitance of the bus.

Figure 4: Effective Propagation Delay

For a loaded bus, you can calculate the effective propagation delay with this equation. You can calculatethe time for the signal to propagate from driver A to receiver B as the tPDEFF × length of line betweendriver A and receiver B.

AN-5222014.08.18 Propagation Delay 3

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 4: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

BLVDS Technology in Altera DevicesIn supported Altera devices, the BLVDS interface is supported in any row or column I/O banks that arepowered by a VCCIO of 1.8 V (Arria 10 devices) or 2.5 V (other supported devices). The interface issupported on the differential I/O pins, but not the clock pins in these I/O banks.

• The BLVDS transmitter uses two single-ended output buffers with the second output bufferprogrammed as inverted.

• The BLVDS receiver uses a dedicated LVDS input buffer.

Figure 5: BLVDS I/O Buffers in the Supported Devices

OE

Output Data

Output Data

OE

Input Data

To device core

Single-ended OutputBuffer (inverted)

Single-ended Output BufferNear-End

Series Termination

Bi-directional Pins

Diff Input Buffer

Different input or output buffers are used depending on the application type:

• Multidrop application—the input or output buffer is used, depending on whether the device isintended for driver or receiver operation.

• Multipoint application—the output buffer and input buffer shares the same I/O pins. An output enable(oe) signal is required to tri-state the LVDS output buffer when it is not sending signals.

• Do not enable the on-chip series termination (RS OCT) for the output buffer.• Use external resistors at the output buffers to provide impedance matching to the stub on the plug-

in card.• Do not enable the on-chip differential termination (RD OCT) for the differential input buffer

because the bus termination is usually implemented using the external termination resistors at bothends of the bus.

I/O Standards for BLVDS Interface in Altera DevicesYou can implement the BLVDS interface using the relevant I/O standards and current strengthrequirements for the supported Altera devices.

4 BLVDS Technology in Altera DevicesAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 5: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Table 1: I/O Standard and Features Support for the BLVDS Interface in Supported Altera Devices

Devices Pin I/O Standard V CCIO (V)

Current StrengthOption

Slew Rate

Column I/O

Row I/O OptionSetting

Quartus IISetting

Cyclone III

Cyclone IVDIFFIO BLVDS 2.5

8, 12(default),

16

8, 12(default),

16

Slow 0Medium 1

Fast(default)

2

Arria II

Stratix III

Stratix IV

DIFFIO_RX(1)

Differential SSTL-2Class I 2.5 8, 10, 12 8, 12

Slow 0Medium 1Medium

fast2

Fast(default)

3

Differential SSTL-2Class II 2.5 16 16

Slow 0Medium 1Medium

fast2

Fast(default)

3

Arria V

Cyclone V

Stratix V

DIFFIO_RX(1)

Differential SSTL-2Class I

2.5 8, 10, 12 8, 12 Slow 0

Differential SSTL-2Class II

2.5 16 16 Fast(default)

1

Arria 10 LVDS

Differential SSTL-18Class I

1.8 4, 6, 8,10, 12

— Slow 0

Differential SSTL-18Class II

1.8 16 — Fast(default)

1

For more information, refer to the respective device documentation as listed in the related informationsection:

• For pin assignments information, refer to the device pin-out files.• For the I/O standards features, refer to the device handbook I/O chapter.• For the electrical specifications, refer to the device datasheet or DC and switching characteristics

document.

Related Information

• Cyclone V Device Pin-Out Files• Cyclone IV Device Pin-Out Files

(1) DIFFIO_TX pin does not support true LVDS differential receivers.

AN-5222014.08.18 I/O Standards for BLVDS Interface in Altera Devices 5

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 6: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

• Cyclone III Device Pin-Out Files• Arria 10 Device Pin-Out Files• Arria V Device Pin-Out Files• Arria II GX Device Pin-Out Files• Stratix V Pin-Out Files• Stratix IV Pin-Out Files• Stratix III Device Pin-Out Files• I/O Features in Cyclone V Devices• I/O Features in Cyclone IV Devices• I/O Features in the Cyclone III Device Family• I/O and High Speed I/O in Arria 10 Devices• I/O Features in Arria V Devices• I/O Features in Arria II Devices• I/O Features in Stratix V Devices• I/O Features in Stratix IV Device• Stratix III Device I/O Features• Cyclone V Device Datasheet• Cyclone IV Device Datasheet• Cyclone III Device Datasheet• Arria 10 Device Datasheet• Arria V Device Datasheet• Device Datasheet for Arria II Devices• Stratix V Device Datasheet• DC and Switching Characteristics for Stratix IV Devices• DC and Switching Characteristics for Stratix III Devices

BLVDS Power ConsumptionIn comparison to other high-performance bus technologies such as GTL, which uses more than 40 mA,BLVDS typically drives out current in the range of 10 mA. For example, based on the Cyclone IIIPowerPlay Early Power Estimator (EPE) estimation for typical power characteristics of Cyclone IIIdevices in an ambient temperature of 25°C, the average power consumption of a BLVDS bidirectionalbuffer at a data rate of 50 MHz and an output enabled 50% of the time is approximately 17 mW.

• Before implementing your design into the device, use the Excel-based EPE for the supported deviceyou use to get an estimated magnitude of the BLVDS I/O power consumption.

• For input and bidirectional pins, the BLVDS input buffer is always enabled. The BLVDS input bufferconsumes power if there is switching activity on the bus (for example, other transceivers are sendingand receiving data, but the Cyclone III device is not the intended recipient).

• If you use BLVDS as an input buffer in multidrop or as a bidirectional buffer in multipoint applica‐tions, Altera recommends entering a toggle rate that includes all activities on the bus, not just activitiesintended for the Altera device BLVDS input buffer.

6 BLVDS Power ConsumptionAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 7: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Figure 6: Example of BLVDS I/O Data Entry in the Cyclone III EPE 9.0 SP2

This figure shows the BLVDS I/O entry in the Cyclone III EPE. For Arria II, Arria V, Arria 10, Cyclone V,Stratix III, Stratix IV, and Stratix V devices, select 2.5-V Differential SSTL Class I or Class II under the I/Ostandard column in the relevant EPE.

Altera recommends that you use the Quartus® II PowerPlay Power Analyzer to perform an accurateBLVDS I/O power analysis after you complete your design. The PowerPlay Power Analyzer estimatespower based on the specifics of the design after place-and-route is completed. The PowerPlay PowerAnalyzer applies a combination of user-entered, simulation-derived, and estimated signal activities which,combined with the detailed circuit models, yields very accurate power estimates.

Related Information

• PowerPlay Power Analysis chapter, Quartus II Handbook• PowerPlay Early Power Estimator (EPE) and Power Analyzer page

Design ExampleThe design example shows you how to instantiate the BLVDS I/O buffer in the supported devices with therelevant general purpose I/O (GPIO) IP cores in the Quartus II software.

• Arria 10 devices—use the Altera GPIO IP core.• All other supported devices—use the ALTIOBUF IP core.

You can download the design example from the link in the related information.

Figure 7: Block Diagram of the Design Example in the Quartus II Software

AN-5222014.08.18 Design Example 7

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 8: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

When you instantiate the BLVDS I/O buffer, Altera recommends that you specify the following items inyour design:

• Two single-ended output buffers with the oe signal controlled by the same signal• A differential input buffer• A signal splitter that connects two single-ended output buffers• Assign the I/O standard to the bidirectional pins:

• Cyclone III and Cyclone IV devices—BLVDS I/O standard.• Arria II, Arria V, Cyclone V, Stratix III, Stratix IV, and Stratix V devices—2.5 V Differential SSTL

Class I or II I/O standard.• Arria 10—1.8 V Differential SSTL Class I or II I/O standard.

Table 2: Input or Output Buffers Operation During Write and Read Operations

Write Operation (BLVDS I/O Buffer) Read Operation (Differential Input Buffer)

• Receive a serial data stream from the FPGA corethrough the doutp input port

• Create an inverted version of the data• Transmit the data through the two single-ended

output buffers connected to the p and n bidirec‐tional pins

• Receive the data from the bus through the p andn bidirectional pins

• Sends the serial data to the FPGA core throughthe din port

• The oe port receives the oe signal from the device core to enable or disable the single-ended outputbuffers.

• Keep the oe signal low to tri-state the output buffers during read operation.• The function of the AND gate is to stop the transmitted signal from going back into the device core.

The differential input buffer is always enabled.

Related Information

• Design Examples for AN 522• I/O Buffer (ALTIOBUF) IP Core User Guide• Altera GPIO IP Core User Guide• Introduction to Altera IP Cores

Design Example GuidelinesThe steps are applicable to all supported devices. Ensure you select the correct device and GPIO IP core.

• Arria 10 devices—use the Altera GPIO IP core.• All other supported devices—use the ALTIOBUF IP core.

Note: For Arria 10 devices, port the design example and migrate the design example to use the AlteraGPIO IP core. Refer to the related information.

1. Create the single-ended output buffers:

8 Design Example GuidelinesAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 9: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

a. Instantiate the GPIO IP core.b. Configure the module As an output buffer.c. In What is the number of buffers to be instantiated, enter 1.d. Turn on Use output enable port(s).

2. Create the differential input buffer:a. Instantiate the GPIO IP core.b. Configure the module As an input buffer.c. In What is the number of buffers to be instantiated, enter 1.d. Turn on Use differential model.

3. Instantiate the signal splitter function:a. In the menu, select Edit > Insert Symbol.b. Under the Project directory, select pdo symbol.

The pdo symbol is a custom function included in the design example. By using this function, theinversion of the data input from the core is implemented in the I/O element (IOE) to ensureminimum skew between the p and n output signals.

Note: In the pdo.v file, modify the module instantiation of <family_name>_pseudo_diff_out withthe respective device family name:

• Arria II—arriaii

• Arria V—arriav

• Arria 10—arria10

• Cyclone III—cycloneiii

• Cyclone III LS—cycloneiiils

• Cyclone V—cyclonev

• Stratix III—stratixiii

• Stratix IV—stratixiv

• Stratix V—stratixv

4. Connect the modules and the input and output ports as shown in the following figure:Figure 8: Input and Output Ports Connection

AN-5222014.08.18 Design Example Guidelines 9

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 10: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

5. In the Assignment Editor, assign the relevant I/O standard as shown in the following figure according

to your device. You can also set the current strength and slew rate options. Otherwise, the Quartus IIsoftware assumes the default settings.

• Cyclone III and Cyclone IV devices—BLVDS I/O standard to the bidirectional p and n pins asshown in the following figure.

• Arria II, Arria V, Cyclone V, Stratix III, Stratix IV, and Stratix V devices—2.5 V Differential SSTLClass I or II I/O standard.

• Arria 10—1.8 V Differential SSTL Class I or II I/O standard.

Figure 9: BLVDS I/O Assignment in the Quartus II Assignment Editor

Note: You can manually assign both the p and n pin locations for each supported device with theAssignment Editor. The supported devices and the pins you can manually assign are as follows:

• Cyclone III, Cyclone IV—DIFFIO

• Arria II, Arria V, Cyclone V, Stratix III, Stratix IV, Stratix V—DIFFIO_RX

• Arria 10—LVDS

6. Compile and perform functional simulation with the ModelSim®-Altera software.Figure 10: Example of Functional Simulation Results

When the oe signal is asserted, the BLVDS is in write operation mode. When the oe signal isdeasserted, the BLVDS is in read operation mode.

10 Design Example GuidelinesAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 11: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Note: For simulation using Verilog HDL, you can use the blvds_tb.v testbench, which is included in therespective design example.

Related Information

• ModelSim-Altera Software Support• Arria 10 Migration Guide

Performance AnalysisThe multipoint BLVDS performance analysis demonstrates the impact of the bus termination, loading,driver and receiver characteristics, and the location of the receiver from the driver on the system. Theperformance analysis of a multipoint BLVDS in this section is based on the Cyclone III BLVDS input/output buffer information specification (IBIS) model simulation in HyperLynx.

Altera recommends that you use these Altera IBIS models for simulation:

• Stratix III, Stratix IV, and Stratix V devices—device-specific 2.5 V Differential SSTL IBIS model• Arria 10(2) devices:

• Output buffer—1.8 V Differential SSTL IBIS model• Input buffer—LVDS IBIS model

Related InformationAltera IBIS Model

(2) The Arria 10 IBIS models are preliminary and are not available on the Altera IBIS model web page. If yourequire these preliminary Arria 10 IBIS models, contact Altera.

AN-5222014.08.18 Performance Analysis 11

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 12: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

System SetupFigure 11: Multipoint BLVDS with Cyclone III BLVDS Transceivers

This figure shows the schematic of a multipoint topology with ten Cyclone III BLVDS transceivers(named U1 to U10).

Vcc

GND

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

Vcc

GND

50 Ω

50 Ω

Cyclo

ne III

Dev

ice

OE

Input dataOutput data

Cyclo

ne III

Dev

ice

OE

Input dataOutput data

Cyclo

ne III

Dev

ice

OE

Input dataOutput data

R SR SR SR SR S R

R T

U2U1 U10

Cyclo

ne III

Dev

ice

OE

Input dataOutput data

Cyclo

ne III

Dev

ice

OE

Input dataOutput data

Cyclo

ne III

Dev

ice

OE

Input dataOutput data

Cyclo

ne III

Dev

ice

OE

Input dataOutput data

Cyclo

ne III

Dev

ice

OE

Input dataOutput data

S

R T

130 KΩ

50 Ω 50 Ω 50 Ω

50 Ω

50 Ω

50 Ω50 Ω50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω

50 Ω 100 KΩ100 KΩ

130 KΩ

The bus transmission line is assumed to have the following characteristics:

• A stripline• Characteristic impedance of 50 Ω• Characteristic capacitance of 3.6 pF per inch• Length of 10 inches• Bus differential characteristic impedance of approximately 100 Ω• Spacing between each transceiver of 1 inch• Bus terminated at both ends with termination resistor RT

In the example shown in the preceding figure, the fail-safe biasing resistors of 130 kΩ and 100 kΩ pullsthe bus to a known state when all the drivers are tri-stated, removed, or powered off.

To prevent excessive loading to the driver and waveform distortion, the magnitude of the fail-saferesistors must be one or two orders higher than RT. To prevent a large common-mode shift fromoccurring between the active and tri-state bus conditions, the mid-point of the fail-safe bias must be closeto the offset voltage of the driver (+1.25 V). You can power up the bus with the common power supplies(VCC).

12 System SetupAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 13: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Cyclone III and Cyclone IV BLVDS transceivers are assumed to have the following characteristics:

• Default drive strength of 12 mA• Slow slew rate settings by default• Pin capacitance of each transceiver of 6 pF• Stub on each BLVDS transceiver is a 1 inch microstrip of characteristic impedance of 50 Ω and

characteristic capacitance of 3 pF per inch• Capacitance of the connection (connector, pad, and via in PCB) of each transceiver to the bus is

assumed to be 2 pF• Total capacitance of each load is approximately 11 pF

For 1 inch load spacing, the distributed capacitance is equal to 11 pF per inch. To reduce reflection causedby the stubs, and also to attenuate the signals coming out of the driver, an impedance matching 50 Ωresistor RS is placed at the output of each transceiver.

Bus TerminationThe effective impedance of the fully loaded bus is 52 Ω if you substitute the bus characteristic capacitanceand the distributed capacitance per unit length of the setup into the effective differential impedanceequation. For optimum signal integrity, you must match RT to 52 Ω.

The following figures show the effects of matched-, under-, and over-termination on the differentialwaveform (VID) at the receiver input pins. The data rate is 100 Mbps. In these figures, under-termination(RT = 25 Ω) results in reflections and significantly reduction of the noise margin. In some cases, undertermination even violates the receiver threshold (VTH = ±100 mV). When RT is changed to 50 Ω, there is asubstantial noise margin with respect to VTH and the reflection is negligible.

AN-5222014.08.18 Bus Termination 13

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 14: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Figure 12: Effect of Bus Termination (Driver in U1, Receiver in U2)

In this figure, U1 acts as the transmitter and U2 to U10 are the receivers.

5 10 15 20 25 30 35

Time (ns)

V ID (V

)

0.4

0.0

-0.4

RT = 50 OhmRT = 25 OhmRT = 85 Ohm+VTH-VTH

0.6

0.2

-0.6

-0.2

14 Bus TerminationAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 15: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Figure 13: Effect of Bus Termination (Driver in U1, Receiver in U10)

In this figure, U1 acts as the transmitter and U2 to U10 are the receivers.

5 10 15 20 25 30 35

Time (ns)

V ID (V

)

0.4

0.0

-0.4

RT = 50 OhmRT = 25 OhmRT = 85 Ohm+VTH-VTH

0.6

0.2

-0.2

-0.6

AN-5222014.08.18 Bus Termination 15

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 16: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Figure 14: Effect of Bus Termination (Driver in U5, Receiver in U6)

In this figure, U5 is the transmitter and the rest are receivers.

5 10 15 20 25 30 35

Time (ns)

V ID (V

)

0.4

0.0

-0.4

RT = 50 OhmRT = 25 OhmRT = 85 Ohm+VTH-VTH

0.6

0.2

-0.2

-0.6

16 Bus TerminationAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 17: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Figure 15: Effect of Bus Termination (Driver in U5, Receiver in U10)

In this figure, U5 is the transmitter and the rest are receivers.

5 10 15 20 25 30 35

Time (ns)

V ID (V

)

0.4

0.0

-0.4

RT = 50 OhmRT = 25 OhmRT = 85 Ohm+VTH-VTH

0.6

0.2

-0.2

-0.6

The relative position of the driver and receiver on the bus also affects the received signal quality. Thenearest receiver to the driver experiences the worst transmission line effect because at this location, theedge rate is the fastest. This is made worse when the driver is located at the middle of the bus.

For example, compare Figure 12 and Figure 14 . VID at receiver U6 (driver at U5) shows larger ringingthan that at receiver U2 (driver at U1). On the other hand, the edge rate is slowed down when the receiveris located further away from the driver. The largest rise time recorded is 1.14 ns with the driver located atone end of the bus (U1) and the receiver at the other end (U10).

Related InformationEffective Impedance on page 2

Stub LengthLonger stub length not only increases the flight time from the driver to the receiver, but also results in alarger load capacitance, which causes larger reflection.

AN-5222014.08.18 Stub Length 17

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 18: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Figure 16: Effect of Increasing Stub Length (Driver in U1, Receiver in U10)

This figure compares the VID at U10 when the stub length is increased from one inch to two inches andthe driver is at U1.

-0.5

-0.4

-0.3

-0.2

-0.1

0.0

0.1

0.2

0.3

0.4

0.5

12.0 14.0 16.0 18.0 20.0 22.0 24.0 26.0 28.0

Time (ns)

VID

(V)

1 inch stub2 inch stub

Stub TerminationYou must match the driver impedance to the stub characteristic impedance. Placing a series terminationresistor RS at the driver output greatly reduces the adverse transmission line effect caused by long stuband fast edge rates. In addition, RS can be changed to attenuate the VID to meet the specification of thereceiver.

18 Stub TerminationAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 19: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Figure 17: Effect of Stub Termination (Driver in U1, Receiver in U2 and U10)

This figure compares the VID at U2 and U10 when U1 is transmitting.

-1.2

-0.8

-0.4

0.0

0.4

0.8

1.2

5 10 15 20 25 30 35

Time (ns)

VID

(v)

RS=50 Ohm; U2RS=50 Ohm; U10RS=0 Ohm; U2RS=0 Ohm; U10

Driver Slew RateA fast slew rate helps to improve the rise time, especially at the receiver furthest from the driver. However,a faster slew rate also magnifies ringing due to reflection.

AN-5222014.08.18 Driver Slew Rate 19

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 20: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Figure 18: Effect of Driver Edge Rate (Driver in U1, Receiver in U2 and U10)

This figure shows the driver slew rate effect. A comparison is made between the slow and fast slew ratewith a 12 mA drive strength. The driver is at U1 and the differential waveforms at U2 and U10 areexamined.

-0.6

-0.4

-0.2

0.0

0.2

0.4

0.6

5.0 10.0 15.0 20.0 25.0 30.0 35.0

Time (ns)

VID

(V)

fast; U2

slow; U2fast; U10

slow; U10

Overall System PerformanceThe highest data rate supported by a multipoint BLVDS is determined by looking at the eye diagram ofthe furthest receiver from a driver. At this location, the transmitted signal has the slowest edge rate andaffects the eye opening.

Although the quality of the received signal and the noise margin goal depend on the applications, thewider the eye opening, the better. However, you must also check the receiver nearest to the driver, becausethe transmission line effects tend to be worse if the receiver is located closer to the driver.

20 Overall System PerformanceAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback

Page 21: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Figure 19: Eye Diagram at 400 Mbps (Driver in U1, Receiver in U2 and U10)

This figure illustrates the eye diagrams at U2 (red curve) and U10 (blue curve) for a data rate at 400 Mbps.Random jitter of a 1% unit interval is assumed in the simulation. The driver is at U1 with default currentstrength and slew rate settings. The bus is fully loaded with optimum RT = 50 Ω . The smallest eyeopening is at U10, which is furthest from U1. The eye height sampled at the 0.5 unit interval is 692 mVand 543 mV for U2 and U10, respectively. There is a substantial noise margin with respect to VTH =±100mV for both cases.

Document Revision HistoryDate Version Changes

August 2014 2014.08.18 • Updated application note to add Arria 10 device support.• Restructured and rewrote several sections for clarity and style update.• Updated template.

June 2012 2.2 • Updated to include Arria II, Arria V, Cyclone V, and Stratix Vdevices.

• Updated Table 1 and Table 2.

April 2010 2.1 Updated the design example link in the “Design Example” section.

AN-5222014.08.18 Document Revision History 21

Implementing Bus LVDS Interface in Supported Altera Device Families Altera Corporation

Send Feedback

Page 22: AN 522: Implementing Bus LVDS Interface in Supported ...Implementing Bus LVDS Interface in Supported Altera Device Families 2014.08.18 AN-522 Subscribe Send Feedback Bus LVDS (BLVDS)

Date Version Changes

November2009

2.0 • Included Arria II GX, Cyclone III, and Cyclone IV device families inthis application note.

• Updated Table 1,Table 2, and Table 3.• Update Figure 5, Figure 6, Figure 8 through Figure 11.• Updated design example files.

November2008

1.1 • Updated to new template• Updated "BLVDS Technology in Altera Devices" chapter• Updated "Power Consumption of BLVDS" chapter• Updated "Design Example" chapter• Replaced Figure 4 on page 7• Updated "Design Example Guidelines" chapter• Updated "Performance Analysis" chapter• Updated "Bus Termination" chapter• Updated "Summary" chapter

July 2008 1.0 Initial release.

22 Document Revision HistoryAN-522

2014.08.18

Altera Corporation Implementing Bus LVDS Interface in Supported Altera Device Families

Send Feedback