Intel MAX 10 High-Speed LVDS I/O User Guide

Similar documents
Intel Stratix 10 High-Speed LVDS I/O User Guide

8. High-Speed Differential I/O Interfaces and DPA in Stratix IV Devices

Implementing LVDS in Cyclone Devices

Intel MAX 10 General Purpose I/O User Guide

Intel Stratix 10 General Purpose I/O User Guide

Intel Stratix 10 General Purpose I/O User Guide

LVDS SERDES Transmitter / Receiver IP Cores User Guide

SERDES Transmitter/Receiver (ALTLVDS) Megafunction User Guide

7. High-Speed Differential Interfaces in the Cyclone III Device Family

High Bandwidth Memory (HBM2) Interface Intel FPGA IP Design Example User Guide

MAX 10 General Purpose I/O User Guide

LVDS SERDES Transmitter / Receiver (ALTLVDS_TX and ALTLVDS_RX) Megafunction User Guide

Intel Stratix 10 Analog to Digital Converter User Guide

AN 447: Interfacing Intel FPGA Devices with 3.3/3.0/2.5 V LVTTL/ LVCMOS I/O Systems

Intel Stratix 10 Clocking and PLL User Guide

Altera I/O Phase-Locked Loop (Altera IOPLL) IP Core User Guide

SGMII Interface Implementation Using Soft-CDR Mode of Stratix III Devices

Intel Cyclone 10 External Memory Interfaces IP Design Example User Guide

AN 756: Altera GPIO to Altera PHYLite Design Implementation Guidelines

External Memory Interfaces Intel Arria 10 FPGA IP Design Example User Guide

Remote Update Intel FPGA IP User Guide

Intel MAX 10 Clocking and PLL User Guide

Intel MAX 10 Clocking and PLL User Guide

6. I/O Features in Arria II Devices

Implementing Bus LVDS Interface in Cyclone III, Stratix III, and Stratix IV Devices

Intel Stratix 10 External Memory Interfaces IP Design Example User Guide

SerialLite III Streaming IP Core Design Example User Guide for Intel Arria 10 Devices

ALTDQ_DQS2 Megafunction User Guide

Intel Quartus Prime Pro Edition Software and Device Support Release Notes

Design Guidelines for Intel FPGA DisplayPort Interface

Altera ASMI Parallel II IP Core User Guide

Interlaken IP Core (2nd Generation) Design Example User Guide

AN 754: MIPI D-PHY Solution with Passive Resistor Networks in Intel Low-Cost FPGAs

8. High-Speed Differential I/O Interfaces and DPA in HardCopy IV Devices

Altera I/O Phase-Locked Loop (Altera IOPLL) IP Core User Guide

Using Flexible-LVDS Circuitry in Mercury Devices

December 2002, ver. 1.1 Application Note For more information on the CDR mode of the HSDI block, refer to AN 130: CDR in Mercury Devices.

Intel MAX 10 User Flash Memory User Guide

Advanced ALTERA FPGA Design

ALTDQ_DQS2 IP Core User Guide

ASMI Parallel II Intel FPGA IP Core User Guide

Intel Stratix 10 H-tile Hard IP for Ethernet Design Example User Guide

Intel Cyclone 10 LP Device Family Pin Connection Guidelines

SerialLite III Streaming IP Core Design Example User Guide for Intel Stratix 10 Devices

Intel Quartus Prime Pro Edition Software and Device Support Release Notes

SERDES Transmitter/Receiver (ALTLVDS) Megafunction User Guide

MAX 10 FPGA Signal Integrity Design Guidelines

Intel Stratix 10 Logic Array Blocks and Adaptive Logic Modules User Guide

Low Latency 100G Ethernet Design Example User Guide

6. I/O Features in Stratix IV Devices

Using High-Speed Differential I/O Interfaces

MIPI D-PHY Solution with Passive Resistor Networks in Altera Low Cost FPGA

Intel Stratix 10 Low Latency 40G Ethernet Design Example User Guide

5. High-Speed Differential I/O Interfaces in Stratix Devices

8. Migrating Stratix II Device Resources to HardCopy II Devices

Intel Xeon with FPGA IP Asynchronous Core Cache Interface (CCI-P) Shim

AN 825: Partially Reconfiguring a Design on Intel Stratix 10 GX FPGA Development Board

AN 826: Hierarchical Partial Reconfiguration Tutorial for Stratix 10 GX FPGA Development Board

6. I/O Features for HardCopy III Devices

Intel Arria 10 Native Floating- Point DSP Intel FPGA IP User Guide

Stratix II FPGA Family

QDR II SRAM Board Design Guidelines

H-tile Hard IP for Ethernet Intel Stratix 10 FPGA IP Design Example User Guide

Low Latency 40G Ethernet Example Design User Guide

3. ALTGX_RECONFIG IP Core User Guide for Stratix IV Devices

7. External Memory Interfaces in Arria II Devices

Intel FPGA Temperature Sensor IP Core User Guide

Low Latency 100G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide

7. External Memory Interfaces in Stratix IV Devices

AN 797: Partially Reconfiguring a Design on Intel Arria 10 GX FPGA Development Board

Using High-Speed I/O Standards in APEX II Devices

PCI Express Multi-Channel DMA Interface

6. I/O Features for HardCopy IV Devices

Intel Quartus Prime Pro Edition User Guide

25G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide

5. Clock Networks and PLLs in Stratix IV Devices

ALTPLL (Phase-Locked Loop) IP Core User Guide

Intel Quartus Prime Pro Edition Software and Device Support Release Notes

Implementing 9.8G CPRI in Arria V GT and ST FPGAs

High-Performance FPGA PLL Analysis with TimeQuest

AN 610: Implementing Deterministic Latency for CPRI and OBSAI Protocols in Altera Devices

Intel Stratix 10 Transceiver Usage

AN 825: Partially Reconfiguring a Design on Intel Stratix 10 GX FPGA Development Board

Intel FPGA Voltage Sensor IP Core User Guide

Using Flexible-LVDS I/O Pins in

System Debugging Tools Overview

ALTERA FPGAs Architecture & Design

AN 830: Intel FPGA Triple-Speed Ethernet and On-Board PHY Chip Reference Design

AN 558: Implementing Dynamic Reconfiguration in Arria II Devices

Stratix FPGA Family. Table 1 shows these issues and which Stratix devices each issue affects. Table 1. Stratix Family Issues (Part 1 of 2)

PCI Express*: Migrating to Intel Stratix 10 Devices for the Avalon Streaming Interface

Intel Quartus Prime Standard Edition User Guide

Block-Based Design User Guide

Interfacing Cyclone III Devices with 3.3/3.0/2.5-V LVTTL/LVCMOS I/O Systems

MAX 10 User Flash Memory User Guide

AN 779: Intel FPGA JESD204B IP Core and ADI AD9691 Hardware Checkout Report

AN 830: Intel FPGA Triple-Speed Ethernet and On-Board PHY Chip Reference Design

8. Selectable I/O Standards in Arria GX Devices

Using the Transceiver Reconfiguration Controller for Dynamic Reconfiguration in Arria V and Cyclone V Devices

Generic Serial Flash Interface Intel FPGA IP Core User Guide

Transcription:

Intel MAX 10 High-Speed LVDS I/O User Guide Updated for Intel Quartus Prime Design Suite: 17.1 Subscribe Send Feedback Latest document on the web: PDF HTML

Contents Contents 1 Intel MAX 10 High-Speed LVDS I/O Overview... 4 1.1 Altera Soft LVDS Implementation Overview... 4 2 Intel MAX 10 High-Speed LVDS Architecture and Features... 6 2.1 Intel MAX 10 LVDS Channels Support... 6 2.2 Intel MAX 10 LVDS SERDES I/O Standards Support... 11 2.3 Intel MAX 10 High-Speed LVDS Circuitry... 12 2.4 Intel MAX 10 High-Speed LVDS I/O Location...13 2.5 Differential I/O Pins in Low Speed Region...15 3 Intel MAX 10 LVDS Transmitter Design... 16 3.1 High-Speed I/O Transmitter Circuitry... 16 3.2 LVDS Transmitter Programmable I/O Features... 16 3.2.1 Programmable Pre-Emphasis... 16 3.2.2 Programmable Differential Output Voltage... 17 3.3 LVDS Transmitter I/O Termination Schemes...18 3.3.1 Emulated LVDS External Termination... 18 3.3.2 Sub-LVDS Transmitter External Termination...18 3.3.3 SLVS Transmitter External Termination...19 3.3.4 Emulated RSDS, Emulated Mini-LVDS, and Emulated PPDS Transmitter External Termination... 19 3.4 LVDS Transmitter FPGA Design Implementation... 20 3.4.1 Altera Soft LVDS IP Core in Transmitter Mode... 20 3.4.2 High-Speed I/O Timing Budget... 23 3.4.3 Guidelines: LVDS Transmitter Channels Placement...23 3.4.4 Guidelines: LVDS Channels PLL Placement...24 3.4.5 Guidelines: LVDS Transmitter Logic Placement... 24 3.4.6 Guidelines: Enable LVDS Pre-Emphasis for E144 Package... 24 3.5 LVDS Transmitter Debug and Troubleshooting... 25 3.5.1 Perform RTL Simulation Before Hardware Debug... 25 3.5.2 Geometry-Based and Physics-Based I/O Rules... 25 4 Intel MAX 10 LVDS Receiver Design... 26 4.1 High-Speed I/O Receiver Circuitry... 26 4.1.1 Soft Deserializer... 26 4.1.2 Data Realignment Block (Bit Slip)...27 4.2 LVDS Receiver I/O Termination Schemes...27 4.2.1 LVDS, Mini-LVDS, and RSDS Receiver External Termination...27 4.2.2 SLVS Receiver External Termination...28 4.2.3 Sub-LVDS Receiver External Termination...28 4.2.4 TMDS Receiver External Termination...29 4.2.5 HiSpi Receiver External Termination...29 4.2.6 LVPECL External Termination... 30 4.3 LVDS Receiver FPGA Design Implementation... 31 4.3.1 Altera Soft LVDS IP Core in Receiver Mode... 31 4.3.2 High-Speed I/O Timing Budget... 34 4.3.3 Guidelines: Floating LVDS Input Pins... 37 4.3.4 Guidelines: LVDS Receiver Channels Placement...37 2

Contents 4.3.5 Guidelines: LVDS Channels PLL Placement...38 4.3.6 Guidelines: LVDS Receiver Logic Placement... 38 4.4 LVDS Receiver Debug and Troubleshooting... 38 4.4.1 Perform RTL Simulation Before Hardware Debug... 39 4.4.2 Geometry-Based and Physics-Based I/O Rules... 39 5 Intel MAX 10 LVDS Transmitter and Receiver Design... 40 5.1 Transmitter Receiver Interfacing...40 5.2 LVDS Transmitter and Receiver FPGA Design Implementation...41 5.2.1 LVDS Transmitter and Receiver PLL Sharing Implementation... 41 5.2.2 Initializing the Altera Soft LVDS IP Core... 42 5.3 LVDS Transmitter and Receiver Debug and Troubleshooting... 42 5.3.1 Perform RTL Simulation Before Hardware Debug... 42 5.3.2 Geometry-Based and Physics-Based I/O Rules... 42 6 Intel MAX 10 High-Speed LVDS Board Design Considerations... 43 6.1 Guidelines: Improve Signal Quality...43 6.2 Guidelines: Control Channel-to-Channel Skew... 43 6.3 Guidelines: Determine Board Design Constraints... 44 6.4 Guidelines: Perform Board Level Simulations... 44 7 Altera Soft LVDS IP Core References...46 7.1 Altera Soft LVDS Parameter Settings...46 7.2 Altera Soft LVDS Interface Signals...49 8 Intel MAX 10 High-Speed LVDS I/O User Guide Archives... 52 9 Document Revision History for Intel MAX 10 High-Speed LVDS I/O User Guide...53 3

1 Intel MAX 10 High-Speed LVDS I/O Overview The Intel MAX 10 device family supports high-speed LVDS protocols through the LVDS I/O banks and the Altera Soft LVDS IP core. The LVDS I/O banks in Intel MAX 10 devices feature true and emulated LVDS buffers: True LVDS buffers support LVDS using true differential buffers. Emulated LVDS buffers use a pair of single-ended pins to emulate differential buffers. Table 1. Summary of LVDS I/O Buffers Support in Intel MAX 10 I/O Banks I/O Buffer Type True LVDS input buffer True LVDS output buffer Emulated LVDS output buffer I/O Bank Support All I/O banks Only bottom I/O banks All I/O banks The Intel MAX 10 D (dual supply) and S (single supply) device variants support different LVDS I/O standards. For a list of LVDS I/O standards supported by the Intel MAX 10 D and S variants, refer to the related information. Intel MAX 10 High-Speed LVDS Architecture and Features on page 6 Provides information about the high-speed LVDS architecture and the features supported by the device. Altera Soft LVDS IP Core References on page 46 Lists the parameters and signals of Altera Soft LVDS IP core for Intel MAX 10 devices. Intel MAX 10 LVDS SERDES I/O Standards Support on page 11 Lists the supported LVDS I/O standards and the support in different Intel MAX 10 device variants. Intel MAX 10 High-Speed LVDS I/O User Guide Archives on page 52 Provides a list of user guides for previous versions of the Altera Soft LVDS IP core. 1.1 Altera Soft LVDS Implementation Overview You can implement LVDS applications in Intel MAX 10 devices as transmitter-only, receiver-only, or a combination of transmitters and receivers. Intel Corporation. All rights reserved. Intel, the Intel logo, Altera, Arria, Cyclone, Enpirion, MAX, Nios, Quartus and Stratix words and logos are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries. Intel warrants performance of its FPGA and semiconductor products to current specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Intel 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 Intel. Intel 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. *Other names and brands may be claimed as the property of others. ISO 9001:2008 Registered

1 Intel MAX 10 High-Speed LVDS I/O Overview Figure 1. Intel MAX 10 LVDS Implementation Overview Altera Soft LVDS LVDS Transmitter Implementation LVDS Receiver Implementation LVDS Transmitter and Receiver Implementation Intel MAX 10 LVDS Transmitter Design on page 16 Provides information and guidelines for implementing LVDS transmitter in Intel MAX 10 devices using the Altera Soft LVDS IP core. Intel MAX 10 LVDS Receiver Design on page 26 Provides information and guidelines for implementing LVDS receiver in Intel MAX 10 devices using the Altera Soft LVDS IP core. Intel MAX 10 LVDS Transmitter and Receiver Design on page 40 Provides design guidelines for implementing both LVDS transmitters and receivers in the same Intel MAX 10 device. 5

2 Intel MAX 10 High-Speed LVDS Architecture and Features The Intel MAX 10 devices use registers and logic in the core fabric to implement LVDS input and output interfaces. For LVDS transmitters and receivers, Intel MAX 10 devices use the the double data rate I/O (DDIO) registers that reside in the I/O elements (IOE). This architecture improves performance with regards to the receiver input skew margin (RSKM) or transmitter channel-to-channel skew (TCCS). For the LVDS serializer/deserializer (SERDES), Intel MAX 10 devices use logic elements (LE) registers. 2.1 Intel MAX 10 LVDS Channels Support The LVDS channels available vary among Intel MAX 10 devices. All I/O banks in Intel MAX 10 devices support true LVDS input buffers and emulated LVDS output buffers. However, only the bottom I/O banks support true LVDS output buffers. Table 2. LVDS Buffers in Intel MAX 10 Devices This table lists the LVDS buffer support for I/O banks on each side of the devices. Product Line Package Device Power Supply Side True LVDS Pairs Emulated LVDS Pairs TX RX 10M02 V36 Dual Top 0 1 1 Right 0 3 3 Left 0 3 3 Bottom 3 3 3 M153 Single Top 0 12 12 Right 0 12 12 Left 0 12 12 Bottom 9 13 13 U169 Single Top 0 12 12 Right 0 17 17 Left 0 15 15 Bottom 9 14 14 U324 Single Top 0 27 27 Right 0 31 31 Left 0 28 28 continued... Intel Corporation. All rights reserved. Intel, the Intel logo, Altera, Arria, Cyclone, Enpirion, MAX, Nios, Quartus and Stratix words and logos are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries. Intel warrants performance of its FPGA and semiconductor products to current specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Intel 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 Intel. Intel 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. *Other names and brands may be claimed as the property of others. ISO 9001:2008 Registered

2 Intel MAX 10 High-Speed LVDS Architecture and Features Product Line Package Device Power Supply Side True LVDS Pairs Emulated LVDS Pairs TX RX Bottom 15 28 28 Dual Top 0 13 13 Right 0 24 24 Left 0 20 20 Bottom 9 16 16 E144 Single Top 0 10 10 Right 0 12 12 Left 0 11 11 Bottom 7 12 12 10M04 M153 Single Top 0 12 12 Right 0 12 12 Left 0 12 12 Bottom 9 13 13 U169 Single Top 0 12 12 Right 0 17 17 Left 0 15 15 Bottom 9 14 14 U324 Single Top 0 27 27 Right 0 31 31 Left 0 28 28 Bottom 15 28 28 Dual Top 0 27 27 Right 0 31 31 Left 0 28 28 Bottom 15 28 28 F256 Dual Top 0 19 19 Right 0 22 22 Left 0 19 19 Bottom 13 20 20 E144 Single Top 0 8 8 Right 0 12 12 Left 0 11 11 Bottom 10 10 10 10M08 V81 Dual Top 0 5 5 Right 0 7 7 continued... 7

2 Intel MAX 10 High-Speed LVDS Architecture and Features Product Line Package Device Power Supply Side True LVDS Pairs Emulated LVDS Pairs TX RX Left 0 6 6 Bottom 7 7 7 M153 Single Top 0 12 12 Right 0 12 12 Left 0 12 12 Bottom 9 13 13 U169 Single Top 0 12 12 Right 0 17 17 Left 0 15 15 Bottom 9 14 14 U324 Single Top 0 27 27 Right 0 31 31 Left 0 28 28 Bottom 15 28 28 Dual Top 0 27 27 Right 0 31 31 Left 0 28 28 Bottom 15 28 28 F256 Dual Top 0 19 19 Right 0 22 22 Left 0 19 19 Bottom 13 20 20 E144 Single Top 0 8 8 Right 0 12 12 Left 0 11 11 Bottom 10 10 10 F484 Dual Top 0 27 27 Right 0 33 33 Left 0 28 28 Bottom 15 28 28 10M16 U169 Single Top 0 12 12 Right 0 17 17 Left 0 15 15 Bottom 9 14 14 U324 Single Top 0 27 27 continued... 8

2 Intel MAX 10 High-Speed LVDS Architecture and Features Product Line Package Device Power Supply Side True LVDS Pairs Emulated LVDS Pairs TX RX Right 0 31 31 Left 0 28 28 Bottom 15 28 28 Dual Top 0 27 27 Right 0 31 31 Left 0 28 28 Bottom 15 28 28 F256 Dual Top 0 19 19 Right 0 22 22 Left 0 19 19 Bottom 13 20 20 E144 Single Top 0 8 8 Right 0 12 12 Left 0 11 11 Bottom 10 10 10 F484 Dual Top 0 39 39 Right 0 38 38 Left 0 32 32 Bottom 22 42 42 10M25 F256 Dual Top 0 19 19 Right 0 22 22 Left 0 19 19 Bottom 13 20 20 E144 Single Top 0 8 8 Right 0 12 12 Left 0 11 11 Bottom 10 10 10 F484 Dual Top 0 41 41 Right 0 48 48 Left 0 36 36 Bottom 24 46 46 10M40 F256 Dual Top 0 19 19 Right 0 22 22 Left 0 19 19 Bottom 13 20 20 continued... 9

2 Intel MAX 10 High-Speed LVDS Architecture and Features Product Line Package Device Power Supply Side True LVDS Pairs Emulated LVDS Pairs TX RX E144 Single Top 0 9 9 Right 0 12 12 Left 0 11 11 Bottom 10 10 10 F484 Dual Top 0 41 41 Right 0 48 48 Left 0 36 36 Bottom 24 46 46 F672 Dual Top 0 53 53 Right 0 70 70 Left 0 60 60 Bottom 30 58 58 10M50 F256 Dual Top 0 19 19 Right 0 22 22 Left 0 19 19 Bottom 13 20 20 E144 Single Top 0 9 9 Right 0 12 12 Left 0 11 11 Bottom 10 10 10 F484 Dual Top 0 41 41 Right 0 48 48 Left 0 36 36 Bottom 24 46 46 F672 Dual Top 0 53 53 Right 0 70 70 Left 0 60 60 Bottom 30 58 58 Intel MAX 10 Device Pin-Out Files Provides pin-out files for each Intel MAX 10 device. Intel MAX 10 High-Speed LVDS I/O Location on page 13 10

2 Intel MAX 10 High-Speed LVDS Architecture and Features 2.2 Intel MAX 10 LVDS SERDES I/O Standards Support The Intel MAX 10 D and S device variants support different LVDS I/O standards. All I/O banks in Intel MAX 10 devices support true LVDS input buffers and emulated LVDS output buffers. However, only the bottom I/O banks support true LVDS output buffers. Table 3. Intel MAX 10 LVDS I/O Standards Support Single and dual supply Intel MAX 10 devices support different I/O standards. For more information about single and dual supply devices, refer to the device overview. I/O Standard I/O Bank TX RX Intel MAX 10 Device Support Notes Dual Supply Device Single Supply Device True LVDS All Bottom banks only Yes Yes Yes All I/O banks support true LVDS input buffers. Only the bottom I/O banks support true LVDS output buffers. Emulated LVDS (three resistors) All Yes Yes Yes All I/O banks support emulated LVDS output buffers. True RSDS Bottom Yes Yes Yes Emulated RSDS (single resistor) Emulated RSDS (three resistors) All Yes Yes All I/O banks support emulated RSDS output buffers. All Yes Yes Yes All I/O banks support emulated RSDS output buffers. True Mini-LVDS Bottom Yes Yes Emulated Mini-LVDS (three resistors) All Yes Yes All I/O banks support emulated Mini-LVDS output buffers. PPDS Bottom Yes Yes Emulated PPDS (three resistors) All Yes Yes Bus LVDS All Yes Yes Yes Yes Bus LVDS (BLVDS) output uses two single-ended outputs with the second output programmed as inverted. BLVDS input uses LVDS input buffer. You can tristate BLVDS output. LVPECL All Yes Yes Yes Supported only on dual function clock input pins. TMDS All Yes Yes Requires external termination but does not require V REF. Requires external level shifter to support 3.3 V TMDS input. This level shifter must convert the TMDS signal from ACcoupled to DC-coupled before you connect it to the Intel MAX 10 input buffer. TMDS receiver support uses dedicated 2.5 V LVDS input buffer. continued... 11

2 Intel MAX 10 High-Speed LVDS Architecture and Features I/O Standard I/O Bank TX RX Intel MAX 10 Device Support Notes Dual Supply Device Single Supply Device Sub-LVDS All Yes Yes Yes Transmitter supports only emulated Sub-LVDS using emulated 1.8 V differential signal as output. Requires external output termination. Does not require V REF. Sub-LVDS receiver support uses dedicated 2.5 V LVDS input buffer. SLVS All Yes Yes Yes SLVS transmitter support uses emulated LVDS output. Requires external termination but does not require V REF. SLVS receiver support uses dedicated 2.5 V LVDS input buffer. HiSpi All Yes Yes Only input is supported because HiSpi is a unidirectional I/O standard. Requires external termination but does not require V REF. HiSpi receiver support uses dedicated 2.5 V LVDS input buffer. Intel MAX 10 FPGA Device Overview Emulated LVDS External Termination on page 18 Emulated RSDS, Emulated Mini-LVDS, and Emulated PPDS Transmitter External Termination on page 19 TMDS Receiver External Termination on page 29 Sub-LVDS Transmitter External Termination on page 18 Sub-LVDS Receiver External Termination on page 28 SLVS Transmitter External Termination on page 19 SLVS Receiver External Termination on page 28 HiSpi Receiver External Termination on page 29 2.3 Intel MAX 10 High-Speed LVDS Circuitry The LVDS solution uses the I/O elements and registers in the Intel MAX 10 devices. The Altera Soft LVDS IP core implements the serializer and deserializer as soft SERDES blocks in the core logic. 12

+ 2 Intel MAX 10 High-Speed LVDS Architecture and Features The Intel MAX 10 devices do not contain dedicated serialization or deserialization circuitry: You can use I/O pins and core fabric to implement a high-speed differential interface in the device. The Intel MAX 10 solution uses shift registers, internal PLLs, and I/O elements to perform the serial-to-parallel and parallel-to-serial conversions of incoming and outgoing data. The Intel Quartus Prime software uses the parameter settings of the Altera Soft LVDS IP core to automatically construct the differential SERDES in the core fabric. Figure 2. Soft LVDS SERDES This figure shows a transmitter and receiver block diagram for the soft LVDS SERDES circuitry with the interface signals of the transmitter and receiver data paths. 10 bits maximum data width tx_in tx_coreclock FPGA Fabric rx_out rx_outclock 10 10 ALTERA_SOFT_LVDS tx_in tx_out inclock ALTERA_SOFT_LVDS rx_out rx_in inclock C0 C1 C0 C1 LVDS Transmitter LVDS Receiver + tx_out rx_in C0 C1 ALTPLL inclock areset rx_inclock / tx_inclock pll_areset Intel MAX 10 Clocking and PLL User Guide Provides more information about the PLL and the PLL output counters. 2.4 Intel MAX 10 High-Speed LVDS I/O Location The I/O banks in Intel MAX 10 devices support true LVDS input and emulated LVDS output on all I/O banks. Only the bottom I/O banks support true LVDS output. 13

2 Intel MAX 10 High-Speed LVDS Architecture and Features Figure 3. LVDS Support in I/O Banks of 10M02 Devices (Except Single Power Supply U324 Package) This figure shows a top view of the silicon die. Each bank is labeled with the actual bank number. LVPECL support only in banks 2 and 6. 8 1 6 2 5 3 LVDS Emulated LVDS RSDS Emulated RSDS Mini-LVDS Emulated Mini-LVDS PPDS Emulated PPDS BLVDS LVPECL TMDS Sub-LVDS SLVS HiSpi TX RX Figure 4. LVDS Support in I/O Banks of 10M02 (Single Power Supply U324 Package), 10M04, and 10M08 Devices This figure shows a top view of the silicon die. Each bank is labeled with the actual bank number. LVPECL support only in banks 2 and 6. 8 7 1A 6 1B 2 5 3 4 LVDS Emulated LVDS RSDS Emulated RSDS Mini-LVDS Emulated Mini-LVDS PPDS Emulated PPDS BLVDS LVPECL TMDS Sub-LVDS SLVS HiSpi TX RX 14

2 Intel MAX 10 High-Speed LVDS Architecture and Features Figure 5. LVDS Support in I/O Banks of 10M16, 10M25, 10M40, and 10M50 Devices This figure shows a top view of the silicon die. Each bank is labeled with the actual bank number. LVPECL support only in banks 2, 3, 6, and 8. 8 7 1A 6 1B 2 3 4 5 OCT LVDS Emulated LVDS RSDS Emulated RSDS Mini-LVDS Emulated Mini-LVDS PPDS Emulated PPDS BLVDS LVPECL TMDS Sub-LVDS SLVS HiSpi TX RX PLL Specifications Provides PLL performance information for Intel MAX 10 devices. High-Speed I/O Specifications Provides minimum and maximum data rates for different data widths in Intel MAX 10 devices. 2.5 Differential I/O Pins in Low Speed Region Some of the differential I/O pins are located in the low speed region of the Intel MAX 10 device. For each user I/O pin (excluding configuration pin) that you place in the low speed region, the Intel Quartus Prime software generates an informational warning message. Refer to the device pinout to identify the low speed I/O pins. Refer to the device datasheet for the performance information of these I/O pins. Intel MAX 10 Device Pin-Out Files Provides pin-out files for each Intel MAX 10 device. Intel MAX 10 Device Datasheet MAX 10 I/O Banks Locations, MAX 10 General Purpose I/O User Guide Shows the locations of the high speed and low speed I/O banks. 15

3 Intel MAX 10 LVDS Transmitter Design You can implement transmitter-only applications using the Intel MAX 10 LVDS solution. You can use the Altera Soft LVDS IP core to instantiate soft SERDES circuitry. The soft SERDES circuitry works with the clocks and differential I/O pins to create a high-speed differential transmitter circuit. 3.1 High-Speed I/O Transmitter Circuitry The LVDS transmitter circuitry uses the I/O elements and registers in the Intel MAX 10 devices. The Altera Soft LVDS IP core implements the serializer as a soft SERDES block in the core logic. Intel MAX 10 High-Speed LVDS Circuitry on page 12 3.2 LVDS Transmitter Programmable I/O Features You can program some features of the I/O buffers and pins in Intel MAX 10 devices according to your design requirements. For high-speed LVDS transmitter applications, you can program the pre-emphasis setting. 3.2.1 Programmable Pre-Emphasis The differential output voltage (V OD ) setting and the output impedance of the driver set the output current limit of a high-speed transmission signal. At a high frequency, the slew rate may not be fast enough to reach the full V OD level before the next edge, producing pattern-dependent jitter. Pre-emphasis momentarily boosts the output current during switching to increase the output slew rate. Pre-emphasis increases the amplitude of the high-frequency component of the output signal. This increase compensates for the frequency-dependent attenuation along the transmission line. The overshoot introduced by the extra current occurs only during change of state switching. This overshoot increases the output slew rate but does not ring, unlike the overshoot caused by signal reflection. The amount of pre-emphasis required depends on the attenuation of the high-frequency component along the transmission line. Intel Corporation. All rights reserved. Intel, the Intel logo, Altera, Arria, Cyclone, Enpirion, MAX, Nios, Quartus and Stratix words and logos are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries. Intel warrants performance of its FPGA and semiconductor products to current specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Intel 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 Intel. Intel 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. *Other names and brands may be claimed as the property of others. ISO 9001:2008 Registered

3 Intel MAX 10 LVDS Transmitter Design Figure 6. LVDS Output with Programmable Pre-Emphasis OUT Voltage boost from pre-emphasis V P V OD OUT V P Differential output voltage (peak peak) Table 4. Intel Quartus Prime Software Assignment for Programmable Pre-Emphasis Field Assignment To Assignment name tx_out Programmable Pre-emphasis Allowed values 0 (disabled), 1 (enabled). Default is 1. 3.2.2 Programmable Differential Output Voltage The programmable V OD settings allow you to adjust the output eye opening to optimize the trace length and power consumption. A higher V OD swing improves voltage margins at the receiver end, and a smaller V OD swing reduces power consumption. Figure 7. Differential V OD This figure shows the V OD of the differential LVDS output. Single-Ended Waveform V CM V OD Positive Channel (p) Negative Channel (n) Ground Differential Waveform V OD (diff peak - peak) = 2 x V OD (single-ended) V OD V OD p - n = 0 V You can statically adjust the V OD of the differential signal by changing the V OD settings in the Intel Quartus Prime software Assignment Editor. 17

3 Intel MAX 10 LVDS Transmitter Design Table 5. Intel Quartus Prime Software Assignment Editor Programmable V OD Field Assignment To tx_out Assignment name Programmable Differential Output Voltage (V OD ) Allowed values 0 (low), 1 (medium), 2 (high). Default is 2. 3.3 LVDS Transmitter I/O Termination Schemes For transmitter applications in Intel MAX 10 devices, you must implement external termination for some I/O standards. 3.3.1 Emulated LVDS External Termination The emulated LVDS transmitter requires a three-resistor external termination scheme. Figure 8. External Termination for Emulated LVDS Transmitter In this figure, R S = 120 Ω and R P = 170 Ω. RS 50 Ω RP 100 Ω RS 50 Ω Emulated LVDS on FPGA LVDS peer 3.3.2 Sub-LVDS Transmitter External Termination The Sub-LVDS transmitter requires a three-resistor external termination scheme. Figure 9. External Termination for Sub-LVDS Transmitter 1.8 V TX 267 Ω 121 Ω Z 0 = 50 Ω 100 Ω RX 267 Ω Z 0 = 50 Ω Sub-LVDS on FPGA Sub-LVDS peer 18

3 Intel MAX 10 LVDS Transmitter Design 3.3.3 SLVS Transmitter External Termination The SLVS transmitter requires a three-resistor external termination scheme. Figure 10. External Termination for SLVS Transmitter 2.5 V 2.5 V 221 Ω 15 Ω TX Z 0 = 50 Ω 48.7 Ω 100 Ω RX Z 0 = 50 Ω 221 Ω 48.7 Ω 15 Ω SLVS on FPGA 2.5 V SLVS peer 3.3.4 Emulated RSDS, Emulated Mini-LVDS, and Emulated PPDS Transmitter External Termination The emulated RSDS, emulated mini-lvds, or emulated PPDS transmitter requires a three-resistor external termination scheme. You can also use a single-resistor external termination for the emulated RSDS transmitter. Figure 11. External Termination for Emulated RSDS, Mini-LVDS, or PPDS Transmitter In this figure, R S is 120 Ω and R P is 170 Ω. RS 50 Ω RP 100 Ω RS 50 Ω Emulated RSDS, Mini-LVDS, or PPDS on FPGA RSDS, Mini-LVDS, or PPDS peer 19

3 Intel MAX 10 LVDS Transmitter Design Figure 12. Single-Resistor External Termination for Emulated RSDS Transmitter 50 Ω 100 Ω 100 Ω 50 Ω Emulated RSDS on FPGA RSDS peer 3.4 LVDS Transmitter FPGA Design Implementation Intel MAX 10 devices use a soft SERDES architecture to support high-speed I/O interfaces. The Intel Quartus Prime software creates the SERDES circuits in the core fabric by using the Altera Soft LVDS IP core. To improve the timing performance and support the SERDES, Intel MAX 10 devices use the I/O registers and LE registers in the core fabric. 3.4.1 Altera Soft LVDS IP Core in Transmitter Mode In the Intel Quartus Prime software, you can design your high-speed transmitter interfaces using the Altera Soft LVDS IP core. This IP core uses the resources optimally in the Intel MAX 10 devices to create the high-speed I/O interfaces. You can use the Altera Soft LVDS parameter editor to customize your serializer based on your design requirements. The high-speed I/O interface created using the Altera Soft LVDS IP core always sends the most significant bit (MSB) of your parallel data first. Altera Soft LVDS Parameter Settings on page 46 Introduction to Intel FPGA IP Cores Provides general information about all Intel FPGA IP cores, including parameterizing, generating, upgrading, and simulating IP cores. Creating Version-Independent IP and Qsys Simulation Scripts Create simulation scripts that do not require manual updates for software or IP version upgrades. Project Management Best Practices Guidelines for efficient management and portability of your project and IP files. 3.4.1.1 PLL Source Selection for Altera Soft LVDS IP Core You can create the LVDS interface components by instantiating the Altera Soft LVDS IP core with an internal or external PLL. 20

3 Intel MAX 10 LVDS Transmitter Design 3.4.1.1.1 Instantiate Altera Soft LVDS IP Core with Internal PLL You can set the Altera Soft LVDS IP core to build the SERDES components and instantiate the PLL internally. To use this method, turn off the Use external PLL option in the PLL Settings tab and set the necessary settings in the PLL Settings and Transmitter Settings tab. The Altera Soft LVDS IP core integrates the PLL into the LVDS block. The drawback of this method is that you can use the PLL only for the particular LVDS instance. 3.4.1.1.2 Instantiate Altera Soft LVDS IP Core with External PLL You can set the Altera Soft LVDS IP core to build only the SERDES components but use an external PLL source. To use this method, turn on the Use external PLL option in the PLL Settings tab. Follow the required clock setting to the input ports as listed in the notification panel. You can create your own clocking source using the ALTPLL IP core. Use this method to optimize PLL usage with other functions in the core. Intel MAX 10 Clocking and PLL User Guide Provides more information about the PLL and the PLL output counters. Intel MAX 10 Clocking and PLL User Guide Provides more information about the PLL and the PLL output counters. 3.4.1.2 Guidelines: LVDS TX Interface Using External PLL You can instantiate the Altera Soft LVDS IP core with the Use External PLL option. Using external PLL, you can control the PLL settings. For example, you can dynamically reconfigure the PLL to support different data rates and dynamic phase shifts. To use this option, you must instantiate the ALTPLL IP core to generate the various clock signals. If you turn on the Use External PLL option for the Altera Soft LVDS transmitter, you require the following signals from the ALTPLL IP core: Serial clock input to the tx_inclock port of the Altera Soft LVDS transmitter. Parallel clock used to clock the transmitter FPGA fabric logic and connected to the tx_syncclock port. Intel MAX 10 Clocking and PLL User Guide Provides more information about the PLL and the PLL output counters. 3.4.1.2.1 ALTPLL Signal Interface with Altera Soft LVDS Transmitter You can choose any of the PLL output clock ports to generate the LVDS interface clocks. 21

3 Intel MAX 10 LVDS Transmitter Design If you use the ALTPLL IP core as the external PLL source of the Altera Soft LVDS transmitter, use the source-synchronous compensation mode. Table 6. Example: Signal Interface between ALTPLL and Altera Soft LVDS Transmitter Fast clock output (c0) From the ALTPLL IP Core The fast clock output (c0) can only drive tx_inclock on the Altera Soft LVDS transmitter. Slow clock output (c1) tx_inclock tx_syncclock To the Altera Soft LVDS Transmitter 3.4.1.2.2 Determining External PLL Clock Parameters for Altera Soft LVDS Transmitter To determine the ALTPLL IP core clock parameter for the Altera Soft LVDS IP core transmitter, follow these steps in your design: 1. Instantiate the Altera Soft LVDS IP core transmitter using internal PLL. 2. Compile the design up to TimeQuest timing analysis. 3. In the Table of Contents section of the Compilation Report window, navigate to TimeQuest Timing Analyzer Clocks. 4. Note the clock parameters used by the internal PLL for the Altera Soft LVDS IP core transmitter. In the list of clocks, clk0 is the fast clock. Figure 13. Clock Parameters Example for Altera Soft LVDS Transmitter Configure the ALTPLL output clocks with the parameters you noted in this procedure and connect the clock outputs to the correct Altera Soft LVDS clock input ports. 3.4.1.3 Initializing the Altera Soft LVDS IP Core The PLL locks to the reference clock before the Altera Soft LVDS IP core implements the SERDES blocks for data transfer. During device initialization the PLL starts to lock to the reference clock and becomes operational when it achieves lock during user mode. If the clock reference is not stable, it corrupts the phase shifts of the PLL output clock. This phase shifts corruption can cause failure and corrupt data transfer between the high-speed LVDS domain and the low-speed parallel domain. To avoid data corruption, follow these steps when initializing the Altera Soft LVDS IP core: 1. Assert the pll_areset signal for at least 10 ns. 2. After at least 10 ns, deassert the pll_areset signal. 3. Wait until the PLL lock becomes stable. 22

3 Intel MAX 10 LVDS Transmitter Design After the PLL lock port asserts and is stable, the SERDES blocks are ready for operation. 3.4.2 High-Speed I/O Timing Budget The LVDS I/O standard enables high-speed transmission of data. To take advantage of the fast performance, analyze the timing of high-speed signals. The basis of the source synchronous timing analysis is the skew between the data and the clock signals instead of the clock-to-output setup times. Use the timing parameters provided by IC vendors. High-speed differential data transmission is strongly influenced by board skew, cable skew, and clock jitter. Intel MAX 10 devices implement the SERDES in LEs. You must set proper timing constraints to indicate whether the SERDES captures the data as expected or otherwise. You can set the timing contraints using the Timing Analyzer tool in the Intel Quartus Prime software or manually in the Synopsys* Design Constraints (.sdc) file. 3.4.2.1 Transmitter Channel-to-Channel Skew The receiver input skew margin (RSKM) calculation uses the transmitter channel-tochannel skew (TCCS) an important parameter based on the Intel MAX 10 transmitter in a source-synchronous differential interface. You can get the TCCS value from the device datasheet. Intel MAX 10 Device Datasheet 3.4.3 Guidelines: LVDS Transmitter Channels Placement To maintain an acceptable noise level on the V CCIO supply, observe the placement restrictions for single-ended I/O pins in relation to differential pads. Intel recommends that you create a Intel Quartus Prime design, specify your device I/O assignments, and compile your design to validate your pin placement. The Intel Quartus Prime software verifies your pin connections against the I/O assignment and placement rules to ensure that the device will operate properly. You can use the Intel Quartus Prime Pin Planner Package view to ease differential I/O assignment planning: On the View menu, click Show Differential Pin Pair Connections to highlight the differential pin pairing. The differential pin pairs are connected with red lines. For differential pins, you only need to assign the signal to a positive pin. The Intel Quartus Prime software automatically assigns the negative pin if the positive pin is assigned with a differential I/O standard. In Intel MAX 10 devices, the routing of each differential pin pair is matched. Consequently, the skew between the positive and the negative pins is minimal. The internal routes of both pins in a differential pair are matched even if the pins are nonadjacent. The Altera Soft LVDS IP core for Intel MAX 10 devices supports a maximum of 18 channels per IP instantiation. Each channel can support deserialization factor (parallel data width) from one to ten bits. When you are grouping channels for an application, you must consider the channel to channel skew during Fitter placement. To minimize 23

3 Intel MAX 10 LVDS Transmitter Design skew, place all LVDS channels in the group side by side. For your PCB design, Intel recommends that you perform package skew compensation to minimize skew and maximize performance. Note: For Intel MAX 10 devices, the Intel Quartus Prime software does not provide a package skew compensation report. 3.4.4 Guidelines: LVDS Channels PLL Placement Each PLL in the Intel MAX 10 device can drive only the LVDS channels in I/O banks on the same edge as the PLL. Table 7. Examples of Usable PLL to Drive I/O Banks in Intel MAX 10 Devices I/O Bank Edge Input refclk GCLK mux Usable PLL Left Left Left Top left or bottom left Bottom Bottom Bottom Bottom left or bottom right Right Right Right Top right or bottom right Top Top Top Top left or top right 3.4.5 Guidelines: LVDS Transmitter Logic Placement The Intel Quartus Prime software automatically optimizes the SERDES logic placement to meet the timing requirements. Therefore, you do not have to perform placement constraints on the Altera Soft LVDS IP core logic. To improve the performance of the Intel Quartus Prime Fitter, you can create LogicLock regions in the device floorplan to confine the transmitter SERDES logic placement. The TCCS parameter is guaranteed per datasheet specification to the entire bank of differential I/Os that are located in the same side. This guarantee applies if the transmitter SERDES logic is placed within the LAB adjacent to the output pins. Constrain the transmitter SERDES logic to the LAB adjacent to the data output pins and clock output pins to improve the TCCS performance. Intel Quartus Prime Incremental Compilation for Hierarchical and Team-Based Design chapter, Volume 1: Design and Synthesis, Intel Quartus Prime Handbook Provides step by step instructions about creating a design floorplan with LogicLock location assignments. 3.4.6 Guidelines: Enable LVDS Pre-Emphasis for E144 Package For Intel MAX 10 devices in the E144 package, Intel recommends that you enable LVDS pre-emphasis to achieve optimum signal integrity (SI) performance. If you do not enable pre-emphasis, undesirable SI condition may be induced in the device resulting in LVDS eye height sensitivity. 24

3 Intel MAX 10 LVDS Transmitter Design 3.5 LVDS Transmitter Debug and Troubleshooting You can obtain useful information about the LVDS interface performance with boardlevel verification using the FPGA prototype. Although the focus of the board-level verification is to verify the FPGA functionality in your end system, you can take additional steps to examine the margins. Using oscilloscopes, you can examine the margins to verify the predicted size of the datavalid window, and the setup and hold margins at the I/O interface. You can also use the Intel SignalTap II Logic Analyzer to perform system level verification to correlate the system against your design targets. In-System Debugging Using External Logic Analyzers chapter, Volume 3: Verification, Intel Quartus Prime Handbook 3.5.1 Perform RTL Simulation Before Hardware Debug Before you debug on hardware, Intel recommends that you perform an RTL simulation. Using the RTL simulation, you can check the code functionality before testing in real hardware. For example, you can use the RTL simulation to verify that when you send a training pattern from a remote transmitter, the bitslipping mechanism in your LVDS receiver works. 3.5.2 Geometry-Based and Physics-Based I/O Rules You need to consider the I/O placement rules related to LVDS. The Intel Quartus Prime software generates critical warning or error messages if the I/O placements rules are violated. For more information, refer to the related information. Intel MAX 10 General Purpose I/O User Guide 25

4 Intel MAX 10 LVDS Receiver Design You can implement receiver-only applications using the Intel MAX 10 LVDS solution. You can use the Altera Soft LVDS IP core to instantiate soft SERDES circuitry. The soft SERDES circuitry works with the clocks and differential I/O pins to create a high-speed differential receiver circuit. 4.1 High-Speed I/O Receiver Circuitry The LVDS receiver circuitry uses the I/O elements and registers in the Intel MAX 10 devices. The deserializer is implemented in the core logic as a soft SERDES blocks. In the receiver mode, the following blocks are available in the differential receiver datapath: Deserializer Data realignment block (bit slip) Intel MAX 10 High-Speed LVDS Circuitry on page 12 4.1.1 Soft Deserializer The soft deserializer converts a 1-bit serial data stream into a parallel data stream based on the deserialization factor. Figure 14. LVDS x8 Deserializer Waveform RX_IN 7 6 5 4 3 2 1 0 a b c d e f g h A B C D E F G H X X X X X X X X FCLK RX_OUT[9:0] XXXXXXXX 76543210 abcdefgh ABCDEFGH Signal Description rx_in fclk loaden rx_out[9:0] LVDS data stream, input to the Altera Soft LVDS channel. Clock used for receiver. Enable signal for deserialization generated by the Altera Soft LVDS IP core. Deserialized data. Intel Corporation. All rights reserved. Intel, the Intel logo, Altera, Arria, Cyclone, Enpirion, MAX, Nios, Quartus and Stratix words and logos are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries. Intel warrants performance of its FPGA and semiconductor products to current specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Intel 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 Intel. Intel 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. *Other names and brands may be claimed as the property of others. ISO 9001:2008 Registered

4 Intel MAX 10 LVDS Receiver Design 4.1.2 Data Realignment Block (Bit Slip) Skew in the transmitted data and skew added by the transmision link cause channelto-channel skew on the received serial data streams. To compensate for channel-tochannel skew and establish the correct received word boundary at each channel, each receiver channel contains a data realignment circuit. The data realignment circuit realigns the data by inserting bit latencies into the serial stream. To align the data manually, use the data realignment circuit to insert a latency of one RxFCLK cycle. The data realignment circuit slips the data one bit for every RX_DATA_ALIGN pulse. You must wait at least two core clock cycles before checking to see if the data is aligned. This wait is necessary because it takes at least two core clock cycles to purge the corrupted data. An optional RX_CHANNEL_DATA_ALIGN port controls the bit insertion of each receiver independently of the internal logic. The data slips one bit on the rising edge of RX_CHANNEL_DATA_ALIGN. The RX_CHANNEL_DATA_ALIGN signal has these requirements: The minimum pulse width is one period of the parallel clock in the logic array. The minimum low time between pulses is one period of the parallel clock. The signal is edge-triggered. The valid data is available two parallel clock cycles after the rising edge of RX_CHANNEL_DATA_ALIGN. Figure 15. Data Realignment Timing This figure shows receiver output (RX_OUT) after one bit slip pulse with the deserialization factor set to 4. rx_inclock rx_in rx_outclock rx_channel_data_align rx_out 3 2 1 0 3 2 1 0 3 2 1 0 3210 321x xx21 0321 4.2 LVDS Receiver I/O Termination Schemes All LVDS receiver channels require termination to achieve better signal quality and ensure impedance matching with the transmission line and driver. 4.2.1 LVDS, Mini-LVDS, and RSDS Receiver External Termination The LVDS, mini-lvds, or RSDS receiver requires a single resistor external termination scheme. 27

4 Intel MAX 10 LVDS Receiver Design Figure 16. External Termination for LVDS I/O Standard 50 Ω TX 100 Ω RX 50 Ω Differential Outputs Differential Inputs 4.2.2 SLVS Receiver External Termination The SLVS receiver requires a single-resistor external termination scheme. Figure 17. External Termination for SLVS Receiver 2.5 V Z 0 = 50 Ω TX 100 Ω RX Z 0 = 50 Ω SLVS peer SLVS on FPGA 4.2.3 Sub-LVDS Receiver External Termination The Sub-LVDS receiver requires a single-resistor external termination scheme. 28

4 Intel MAX 10 LVDS Receiver Design Figure 18. External Termination for Sub-LVDS Receiver 2.5 V Z 0 = 50 Ω TX 100 Ω RX Z 0 = 50 Ω Sub-LVDS peer Sub-LVDS on FPGA 4.2.4 TMDS Receiver External Termination Figure 19. External Termination for TMDS Receiver This diagram shows the external level shifter that is required for the TMDS input standards support in Intel MAX 10 devices. 1.8 V 2.5 V Z 0 = 50 Ω 50 Ω 50 Ω 0.1 µf TX Z 0 = 50 Ω 0.1 µf RX TMDS peer TMDS on FPGA 4.2.5 HiSpi Receiver External Termination The HiSpi receiver requires a single-resistor external termination scheme. 29

4 Intel MAX 10 LVDS Receiver Design Figure 20. External Termination for HiSpi Receiver 2.5 V Z 0 = 50 Ω TX 100 Ω RX Z 0 = 50 Ω HiSpi peer HiSpi on FPGA 4.2.6 LVPECL External Termination The Intel MAX 10 devices support the LVPECL I/O standard on input clock pins only. LVDS input buffers support LVPECL input operation. LVPECL output operation is not supported. Use AC coupling if the LVPECL common-mode voltage of the output buffer does not match the LVPECL input common-mode voltage. Note: Figure 21. Intel recommends that you use IBIS models to verify your LVPECL AC/DC-coupled termination. LVPECL AC-Coupled Termination 0.1 µf Z 0 = 50 Ω V ICM 50 Ω 0.1 µf Z 0 = 50 Ω 50 Ω LVPECL Output Buffer LVPECL Input Buffer Support for DC-coupled LVPECL is available if the LVPECL output common mode voltage is within the Intel MAX 10 LVPECL input buffer specification. 30

4 Intel MAX 10 LVDS Receiver Design Figure 22. LVPECL DC-Coupled Termination Z 0 = 50 Ω 100 Ω Z 0 = 50 Ω LVPECL Output Buffer LVPECL Input Buffer For information about the V ICM specification, refer to the device datasheet. Intel MAX 10 Device Datasheet 4.3 LVDS Receiver FPGA Design Implementation Intel MAX 10 devices use a soft SERDES architecture to support high-speed I/O interfaces. The Intel Quartus Prime software creates the SERDES circuits in the core fabric by using the Altera Soft LVDS IP core. To improve the timing performance and support the SERDES, Intel MAX 10 devices use the I/O registers and LE registers in the core fabric. 4.3.1 Altera Soft LVDS IP Core in Receiver Mode In the Intel Quartus Prime software, you can design your high-speed receiver interfaces using the Altera Soft LVDS IP core. This IP core uses the resources in the Intel MAX 10 devices optimally to create the high-speed I/O interfaces. You can use the Altera Soft LVDS parameter editor to customize your deserializer based on your design requirements. The Altera Soft LVDS IP core implements the high-speed deserializer in the core fabric. Altera Soft LVDS Parameter Settings on page 46 Introduction to Intel FPGA IP Cores Provides general information about all Intel FPGA IP cores, including parameterizing, generating, upgrading, and simulating IP cores. Creating Version-Independent IP and Qsys Simulation Scripts Create simulation scripts that do not require manual updates for software or IP version upgrades. Project Management Best Practices Guidelines for efficient management and portability of your project and IP files. 31

4 Intel MAX 10 LVDS Receiver Design 4.3.1.1 PLL Source Selection for Altera Soft LVDS IP Core You can create the LVDS interface components by instantiating the Altera Soft LVDS IP core with an internal or external PLL. 4.3.1.1.1 Instantiate Altera Soft LVDS IP Core with Internal PLL You can set the Altera Soft LVDS IP core to build the SERDES components and instantiate the PLL internally. To use this method, turn off the Use external PLL option in the PLL Settings tab. The Altera Soft LVDS IP core integrates the PLL into the LVDS block. The drawback of this method is that you can use the PLL only for the particular LVDS instance. 4.3.1.1.2 Instantiate Altera Soft LVDS IP Core with External PLL You can set the Altera Soft LVDS IP core to build only the SERDES components but use an external PLL source. To use this method, turn on the Use external PLL option in the PLL Settings tab. Follow the required clock setting to the input ports as listed in the notification panel. You can create your own clocking source using the ALTPLL IP core. Use this method to optimize PLL usage with other functions in the core. Intel MAX 10 Clocking and PLL User Guide Provides more information about the PLL and the PLL output counters. Intel MAX 10 Clocking and PLL User Guide Provides more information about the PLL and the PLL output counters. 4.3.1.2 Guidelines: LVDS RX Interface Using External PLL You can instantiate the Altera Soft LVDS IP core with the Use External PLL option. Using external PLL, you can control the PLL settings. For example, you can dynamically reconfigure the PLL to support different data rates and dynamic phase shifts. To use this option, you must instantiate the ALTPLL IP core to generate the various clock signals. If you turn on the Use External PLL option for the Altera Soft LVDS receiver, you require the following signals from the ALTPLL IP core: Serial clock input to the rx_inclock port of the Altera Soft LVDS receiver. Parallel clock used to clock the receiver FPGA fabric logic. The locked signal for Altera Soft LVDS PLL reset port. Intel MAX 10 Clocking and PLL User Guide Provides more information about the PLL and the PLL output counters. 32

4 Intel MAX 10 LVDS Receiver Design 4.3.1.2.1 ALTPLL Signal Interface with Altera Soft LVDS Receiver You can choose any of the PLL output clock ports to generate the LVDS interface clocks. If you use the ALTPLL IP core as the external PLL source of the Altera Soft LVDS receiver, use the source-synchronous compensation mode. Table 8. Example: Signal Interface Between ALTPLL and Altera Soft LVDS Receiver with Even Deserialization Factor Fast clock output (c0) From the ALTPLL IP Core The serial clock output (c0) can only drive rx_inclock on the Altera Soft LVDS receiver. To the Altera Soft LVDS Receiver rx_inclock Table 9. Example: Signal Interface Between ALTPLL and Altera Soft LVDS Receiver with Odd Deserialization Factor Fast clock output (c0) From the ALTPLL IP Core The serial clock output (c0) can only drive rx_inclock on the Altera Soft LVDS receiver. Slow clock output (c1) Read clock (c2) output from the PLL To the Altera Soft LVDS Receiver rx_inclock rx_syncclock rx_readclock (clock input port for reading operation from RAM buffer and read counter) 4.3.1.2.2 Determining External PLL Clock Parameters for Altera Soft LVDS Receiver To determine the ALTPLL IP core clock parameter for the Altera Soft LVDS IP core receiver, follow these steps in your design: 1. Instantiate the Altera Soft LVDS IP core receiver using internal PLL. 2. Compile the design up to TimeQuest timing analysis. 3. In the Table of Contents section of the Compilation Report window, navigate to TimeQuest Timing Analyzer Clocks. 4. Note the clock parameters used by the internal PLL for the Altera Soft LVDS IP core receiver. In the list of clocks, clk[0] is the fast clock, clk[1] is the slow clock, and clk[2] is the read clock. Figure 23. Clock Parameters Example for Altera Soft LVDS Receiver Configure the ALTPLL output clocks with the parameters you noted in this procedure and connect the clock outputs to the correct Altera Soft LVDS clock input ports. 33

4 Intel MAX 10 LVDS Receiver Design 4.3.1.3 Initializing the Altera Soft LVDS IP Core The PLL locks to the reference clock before the Altera Soft LVDS IP core implements the SERDES blocks for data transfer. During device initialization the PLL starts to lock to the reference clock and becomes operational when it achieves lock during user mode. If the clock reference is not stable, it corrupts the phase shifts of the PLL output clock. This phase shifts corruption can cause failure and corrupt data transfer between the high-speed LVDS domain and the low-speed parallel domain. To avoid data corruption, follow these steps when initializing the Altera Soft LVDS IP core: 1. Assert the pll_areset signal for at least 10 ns. 2. After at least 10 ns, deassert the pll_areset signal. 3. Wait until the PLL lock becomes stable. After the PLL lock port asserts and is stable, the SERDES blocks are ready for operation. 4.3.2 High-Speed I/O Timing Budget The LVDS I/O standard enables high-speed transmission of data. To take advantage of the fast performance, analyze the timing of high-speed signals. The basis of the source synchronous timing analysis is the skew between the data and the clock signals instead of the clock-to-output setup times. Use the timing parameters provided by IC vendors. High-speed differential data transmission is strongly influenced by board skew, cable skew, and clock jitter. Intel MAX 10 devices implement the SERDES in LEs. You must set proper timing constraints to indicate whether the SERDES captures the data as expected or otherwise. You can set the timing contraints using the Timing Analyzer tool in the Intel Quartus Prime software or manually in the Synopsys Design Constraints (.sdc) file. 4.3.2.1 Receiver Input Skew Margin Use RSKM, TCCS, and sampling window (SW) specifications for high-speed sourcesynchronous differential signals in the receiver data path. 4.3.2.1.1 RSKM Equation Guidelines: Control Channel-to-Channel Skew on page 43 The RSKM equation expresses the relationship between RSKM, TCCS, and SW. Figure 24. RSKM Equation 34