Professional Documents
Culture Documents
FPGA DS 02012 2 1 ECP5 ECP5G Family Data Sheet
FPGA DS 02012 2 1 ECP5 ECP5G Family Data Sheet
FPGA DS 02012 2 1 ECP5 ECP5G Family Data Sheet
Data Sheet
FPGA-DS-02012-2.1
April 2019
ECP5 and ECP5-5G Family
Data Sheet
Contents
Acronyms in This Document .................................................................................................................................................8
1. General Description ......................................................................................................................................................9
1.1. Features ...............................................................................................................................................................9
2. Architecture ................................................................................................................................................................11
2.1. Overview ...........................................................................................................................................................11
2.2. PFU Blocks .........................................................................................................................................................12
2.2.1. Slice ...............................................................................................................................................................13
2.2.2. Modes of Operation ......................................................................................................................................16
2.2.2.1. Logic Mode ...........................................................................................................................................16
2.2.2.2. Ripple Mode .........................................................................................................................................16
2.2.2.3. RAM Mode ...........................................................................................................................................16
2.2.2.4. ROM Mode ...........................................................................................................................................17
2.3. Routing ..............................................................................................................................................................17
2.4. Clocking Structure .............................................................................................................................................17
2.4.1. sysCLOCK PLL.................................................................................................................................................17
2.5. Clock Distribution Network ...............................................................................................................................19
2.5.1. Primary Clocks ...............................................................................................................................................19
2.5.1.1. Dynamic Clock Control .........................................................................................................................20
2.5.1.2. Dynamic Clock Select ...........................................................................................................................20
2.5.2. Edge Clock .....................................................................................................................................................20
2.6. Clock Dividers ....................................................................................................................................................21
2.7. DDRDLL ..............................................................................................................................................................22
2.8. sysMEM Memory ..............................................................................................................................................23
2.8.1. sysMEM Memory Block ................................................................................................................................23
2.8.2. Bus Size Matching .........................................................................................................................................24
2.8.3. RAM Initialization and ROM Operation ........................................................................................................24
2.8.4. Memory Cascading .......................................................................................................................................24
2.8.5. Single, Dual and Pseudo-Dual Port Modes ...................................................................................................24
2.8.6. Memory Core Reset ......................................................................................................................................25
2.9. sysDSP™ Slice ....................................................................................................................................................25
2.9.1. sysDSP Slice Approach Compared to General DSP .......................................................................................25
2.9.2. sysDSP Slice Architecture Features ...............................................................................................................26
2.10. Programmable I/O Cells ....................................................................................................................................30
2.11. PIO .....................................................................................................................................................................32
2.11.1. Input Register Block ..................................................................................................................................32
2.11.1.1. Input FIFO .............................................................................................................................................33
2.11.2. Output Register Block ...............................................................................................................................33
2.12. Tristate Register Block .......................................................................................................................................34
2.13. DDR Memory Support .......................................................................................................................................35
2.13.1. DQS Grouping for DDR Memory ...............................................................................................................35
2.13.2. DLL Calibrated DQS Delay and Control Block (DQSBUF) ...........................................................................36
2.14. sysI/O Buffer ......................................................................................................................................................38
2.14.1. sysI/O Buffer Banks...................................................................................................................................38
2.14.2. Typical sysI/O I/O Behavior during Power-up...........................................................................................39
2.14.3. Supported sysI/O Standards .....................................................................................................................39
2.14.4. On-Chip Programmable Termination .......................................................................................................40
2.14.5. Hot Socketing............................................................................................................................................40
2.15. SERDES and Physical Coding Sublayer ...............................................................................................................41
2.15.1. SERDES Block ............................................................................................................................................43
2.15.2. PCS ............................................................................................................................................................43
2.15.3. SERDES Client Interface Bus .....................................................................................................................44
2.16. Flexible Dual SERDES Architecture ....................................................................................................................44
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
2 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 3
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
4 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
Figures
Figure 2.1. Simplified Block Diagram, LFE5UM/LFE5UM5G-85 Device (Top Level) ............................................................ 12
Figure 2.2. PFU Diagram ..................................................................................................................................................... 13
Figure 2.3. Slice Diagram .................................................................................................................................................... 14
Figure 2.4. Connectivity Supporting LUT5, LUT6, LUT7, and LUT8 ..................................................................................... 15
Figure 2.5. General Purpose PLL Diagram .......................................................................................................................... 18
Figure 2.6. LFE5UM/LFE5UM5G-85 Clocking ...................................................................................................................... 19
Figure 2.7. DCS Waveforms ................................................................................................................................................ 20
Figure 2.8. Edge Clock Sources per Bank ............................................................................................................................ 21
Figure 2.9. ECP5/ECP5-5G Clock Divider Sources ............................................................................................................... 21
Figure 2.10. DDRDLL Functional Diagram ........................................................................................................................... 22
Figure 2.11. ECP5/ECP5-5G DLL Top Level View (For LFE-45 and LFE-85) .......................................................................... 23
Figure 2.12. Memory Core Reset ........................................................................................................................................ 25
Figure 2.13. Comparison of General DSP and ECP5/ECP5-5G Approaches ........................................................................ 26
Figure 2.14. Simplified sysDSP Slice Block Diagram ............................................................................................................ 28
Figure 2.15. Detailed sysDSP Slice Diagram ........................................................................................................................ 29
Figure 2.16. Group of Four Programmable I/O Cells on Left/Right Sides ........................................................................... 31
Figure 2.17. Input Register Block for PIO on Top Side of the Device .................................................................................. 32
Figure 2.18. Input Register Block for PIO on Left and Right Side of the Device.................................................................. 32
Figure 2.19. Output Register Block on Top Side ................................................................................................................. 33
Figure 2.20. Output Register Block on Left and Right Sides ............................................................................................... 34
Figure 2.21. Tristate Register Block on Top Side ................................................................................................................ 34
Figure 2.22. Tristate Register Block on Left and Right Sides ............................................................................................... 35
Figure 2.23. DQS Grouping on the Left and Right Edges .................................................................................................... 36
Figure 2.24. DQS Control and Delay Block (DQSBUF) ......................................................................................................... 37
Figure 2.25. ECP5/ECP5-5G Device Family Banks ............................................................................................................... 38
Figure 2.26. On-Chip Termination ...................................................................................................................................... 40
Figure 2.27. SERDES/PCS Duals (LFE5UM/LFE5UM5G-85) ................................................................................................. 42
Figure 2.28. Simplified Channel Block Diagram for SERDES/PCS Block .............................................................................. 43
Figure 3.1. LVDS25E Output Termination Example ............................................................................................................ 56
Figure 3.2. BLVDS25 Multi-point Output Example ............................................................................................................. 57
Figure 3.3. Differential LVPECL33 ....................................................................................................................................... 58
Figure 3.4. MLVDS25 (Multipoint Low Voltage Differential Signaling) ............................................................................... 59
Figure 3.5. SLVS Interface ................................................................................................................................................... 60
Figure 3.6. Receiver RX.CLK.Centered Waveforms ............................................................................................................. 68
Figure 3.7. Receiver RX.CLK.Aligned and DDR Memory Input Waveforms ......................................................................... 68
Figure 3.8. Transmit TX.CLK.Centered and DDR Memory Output Waveforms ................................................................... 68
Figure 3.9. Transmit TX.CLK.Aligned Waveforms ............................................................................................................... 69
Figure 3.10. DDRX71 Video Timing Waveforms ................................................................................................................. 69
Figure 3.11. Receiver DDRX71_RX Waveforms .................................................................................................................. 70
Figure 3.12. Transmitter DDRX71_TX Waveforms .............................................................................................................. 70
Figure 3.13. Transmitter and Receiver Latency Block Diagram .......................................................................................... 73
Figure 3.14. SERDES External Reference Clock Waveforms ............................................................................................... 75
Figure 3.15. sysCONFIG Parallel Port Read Cycle................................................................................................................ 84
Figure 3.16. sysCONFIG Parallel Port Write Cycle............................................................................................................... 85
Figure 3.17. sysCONFIG Slave Serial Port Timing ................................................................................................................ 85
Figure 3.18. Power-On-Reset (POR) Timing ........................................................................................................................ 86
Figure 3.19. sysCONFIG Port Timing ................................................................................................................................... 86
Figure 3.20. Configuration from PROGRAMN Timing ......................................................................................................... 87
Figure 3.21. Wake-Up Timing ............................................................................................................................................. 87
Figure 3.22. Master SPI Configuration Waveforms ............................................................................................................ 88
Figure 3.23. JTAG Port Timing Waveforms ......................................................................................................................... 89
Figure 3.24. Output Test Load, LVTTL and LVCMOS Standards .......................................................................................... 89
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 5
ECP5 and ECP5-5G Family
Data Sheet
Tables
Table 1.1. ECP5 and ECP5-5G Family Selection Guide ........................................................................................................10
Table 2.1. Resources and Modes Available per Slice ..........................................................................................................13
Table 2.2. Slice Signal Descriptions .....................................................................................................................................15
Table 2.3. Number of Slices Required to Implement Distributed RAM ..............................................................................16
Table 2.4. PLL Blocks Signal Descriptions ............................................................................................................................18
Table 2.5. DDRDLL Ports List ...............................................................................................................................................22
Table 2.6. sysMEM Block Configurations ............................................................................................................................24
Table 2.7. Maximum Number of Elements in a Slice ..........................................................................................................30
Table 2.8. Input Block Port Description ..............................................................................................................................33
Table 2.9. Output Block Port Description ...........................................................................................................................34
Table 2.10. Tristate Block Port Description.........................................................................................................................35
Table 2.11. DQSBUF Port List Description...........................................................................................................................37
Table 2.12. On-Chip Termination Options for Input Modes ...............................................................................................40
Table 2.13. LFE5UM/LFE5UM5G SERDES Standard Support ..............................................................................................42
Table 2.14. Available SERDES Duals per LFE5UM/LFE5UM5G Devices ...............................................................................43
Table 2.15. LFE5UM/LFE5UM5G Mixed Protocol Support .................................................................................................44
Table 2.16. Selectable Master Clock (MCLK) Frequencies during Configuration (Nominal) ...............................................46
Table 3.1. Absolute Maximum Ratings ...............................................................................................................................47
Table 3.2. Recommended Operating Conditions ................................................................................................................47
Table 3.3. Power Supply Ramp Rates .................................................................................................................................48
Table 3.4. Power-On-Reset Voltage Levels .........................................................................................................................48
Table 3.5. Hot Socketing Specifications ..............................................................................................................................48
Table 3.6. Hot Socketing Requirements..............................................................................................................................49
Table 3.7. DC Electrical Characteristics ...............................................................................................................................49
Table 3.8. ECP5/ECP5-5G Supply Current (Standby) ...........................................................................................................50
Table 3.9. ECP5UM .............................................................................................................................................................51
Table 3.10. ECP5-5G ............................................................................................................................................................52
Table 3.11. sysI/O Recommended Operating Conditions ...................................................................................................53
Table 3.12. Single-Ended DC Characteristics ......................................................................................................................54
Table 3.13. LVDS .................................................................................................................................................................55
Table 3.14. LVDS25E DC Conditions ....................................................................................................................................56
Table 3.15. BLVDS25 DC Conditions ...................................................................................................................................57
Table 3.16. LVPECL33 DC Conditions ..................................................................................................................................58
Table 3.17. MLVDS25 DC Conditions ..................................................................................................................................59
Table 3.18. Input to SLVS ....................................................................................................................................................60
Table 3.19. Pin-to-Pin Performance ....................................................................................................................................61
Table 3.20. Register-to-Register Performance....................................................................................................................62
Table 3.21. ECP5/ECP5-5G Maximum I/O Buffer Speed .....................................................................................................63
Table 3.22. ECP5/ECP5-5G External Switching Characteristics ...........................................................................................64
Table 3.23. sysCLOCK PLL Timing ........................................................................................................................................71
Table 3.24. Serial Output Timing and Levels .......................................................................................................................72
Table 3.25. Channel Output Jitter .......................................................................................................................................72
Table 3.26. SERDES/PCS Latency Breakdown .....................................................................................................................73
Table 3.27. Serial Input Data Specifications........................................................................................................................74
Table 3.28. Receiver Total Jitter Tolerance Specification ...................................................................................................74
Table 3.29. External Reference Clock Specification (refclkp/refclkn) .................................................................................75
Table 3.30. PCIe (2.5 Gb/s) .................................................................................................................................................76
Table 3.31. PCIe (5 Gb/s) ....................................................................................................................................................77
Table 3.32. CPRI LV2 E.48 Electrical and Timing Characteristics .........................................................................................79
Table 3.33. Transmit ...........................................................................................................................................................80
Table 3.34. Receive and Jitter Tolerance ............................................................................................................................80
Table 3.35. Transmit ...........................................................................................................................................................80
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
6 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 7
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
8 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 9
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
10 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
2. Architecture
2.1. Overview
Each ECP5/ECP5-5G device contains an array of logic blocks surrounded by Programmable I/O Cells (PIC). Interspersed
between the rows of logic blocks are rows of sysMEM™ Embedded Block RAM (EBR) and rows of sysDSP™ Digital Signal
Processing slices, as shown in Figure 2.1. The LFE5-85 devices have three rows of DSP slices, the LFE5-45 devices have
two rows, and both LFE5-25 and LFE5-12 devices have one. In addition, the LFE5UM/LFE5UM5G devices contain
SERDES Duals on the bottom of the device.
The Programmable Functional Unit (PFU) contains the building blocks for logic, arithmetic, RAM, and ROM functions.
The PFU block is optimized for flexibility, allowing complex designs to be implemented quickly and efficiently. Logic
Blocks are arranged in a two-dimensional array.
The ECP5/ECP5-5G devices contain one or more rows of sysMEM EBR blocks. sysMEM EBRs are large, dedicated 18 Kb
fast memory blocks. Each sysMEM block can be configured in a variety of depths and widths as RAM or ROM. In
addition, ECP5/ECP5-5G devices contain up to three rows of DSP slices. Each DSP slice has multipliers and
adder/accumulators, which are the building blocks for complex signal processing capabilities.
The ECP5 devices feature up to four embedded 3.2 Gb/s SERDES channels, and the ECP5-5G devices feature up to four
embedded 5 Gb/s SERDES channels. Each SERDES channel contains independent 8b/10b encoding / decoding, polarity
adjust and elastic buffer logic. Each group of two SERDES channels, along with its Physical Coding Sublayer (PCS) block,
creates a dual DCU (Dual Channel Unit). The functionality of the SERDES/PCS duals can be controlled by SRAM cell
settings during device configuration or by registers that are addressable during device operation. The registers in every
dual can be programmed via the SERDES Client Interface (SCI). These DCUs (up to two) are located at the bottom of the
devices.
Each PIC block encompasses two PIOs (PIO pairs) with their respective sysI/O buffers. The sysI/O buffers of the
ECP5/ECP5-5G devices are arranged in seven banks (eight banks for LFE5-85 devices in caBGA756 and caBGA554
packages), allowing the implementation of a wide variety of I/O standards. One of these banks (Bank 8) is shared with
the programming interfaces. Half of the PIO pairs on the left and right edges of the device can be configured as LVDS
transmit pairs, and all pairs on left and right can be configured as LVDS receive pairs. The PIC logic in the left and right
banks also includes pre-engineered support to aid in the implementation of high speed source synchronous standards
such as XGMII, 7:1 LVDS, along with memory interfaces including DDR3 and LPDDR3.
The ECP5/ECP5-5G registers in PFU and sysI/O can be configured to be SET or RESET. After power up and the device is
configured, it enters into user mode with these registers SET/RESET according to the configuration setting, allowing the
device entering to a known state for predictable system function.
Other blocks provided include PLLs, DLLs and configuration functions. The ECP5/ECP5-5G architecture provides up to
four Delay-Locked Loops (DLLs) and up to four Phase-Locked Loops (PLLs). The PLL and DLL blocks are located at the
corners of each device.
The configuration block that supports features such as configuration bit-stream decryption, transparent updates and
dual-boot support is located at the bottom of each device, to the left of the SERDES blocks. Every device in the
ECP5/ECP5-5G family supports a sysCONFIG™ ports located in that same corner, powered by VCCIO8, allowing for serial
or parallel device configuration.
In addition, every device in the family has a JTAG port. This family also provides an on-chip oscillator and soft error
detect capability. The ECP5 devices use 1.1 V and ECP5UM5G devices use 1.2 V as their core voltage.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 11
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
12 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
2.2.1. Slice
Each slice contains two LUT4s feeding two registers. In Distributed SRAM mode, Slice 0 through Slice 2 are configured
as distributed memory, and Slice 3 is used as Logic or ROM. Table 2.1 shows the capability of the slices along with the
operation modes they enable. In addition, each PFU contains logic that allows the LUTs to be combined to perform
functions such as LUT5, LUT6, LUT7 and LUT8. There is control logic to perform set/reset functions (programmable as
synchronous/ asynchronous), clock select, chip-select and wider RAM/ROM functions.
Table 2.1. Resources and Modes Available per Slice
PFU (Used in Distributed SRAM) PFU (Not used as Distributed SRAM)
Slice
Resources Modes Resources Modes
Slice 0 2 LUT4s and 2 Registers RAM 2 LUT4s and 2 Registers Logic, Ripple, ROM
Slice 1 2 LUT4s and 2 Registers RAM 2 LUT4s and 2 Registers Logic, Ripple, ROM
Slice 2 2 LUT4s and 2 Registers RAM 2 LUT4s and 2 Registers Logic, Ripple, ROM
Slice 3 2 LUT4s and 2 Registers Logic, Ripple, ROM 2 LUT4s and 2 Registers Logic, Ripple, ROM
Figure 2.3 shows an overview of the internal logic of the slice. The registers in the slice can be configured for
positive/negative and edge triggered or level sensitive clocks.
Each slice has 14 input signals, 13 signals from routing and one from the carry-chain (from the adjacent slice or PFU).
There are five outputs, four to routing and one to carry-chain (to the adjacent PFU). There are two inter slice/ PFU
output signals that are used to support wider LUT functions, such as LUT6, LUT7, and LUT8. Table 2.2 and Figure 2.3 list
the signals associated with all the slices. Figure 2.4 shows the connectivity of the inter-slice/PFU signals that support
LUT5, LUT6, LUT7, and LUT8.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 13
ECP5 and ECP5-5G Family
Data Sheet
FCO
FXA
FXB
M1
M0
A1
B1 LUT4 &
C1 CARRY*
D1
F1
F1
FF
Q1
A0
B0 LUT4 &
C0 CARRY*
D0
F0
F0
FF
Q0
CE
CLK
LSR
Notes: For Slices 0 and 1, memory control signals are generated from Slice 2 as follows:
WCK is CLK
WRE is from LSR
DI[3:2] for Slice 1 and DI[1:0] for Slice 0 data from Slice 2
WAD [A:D] is a 4-bit address from slice 2 LUT input
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
14 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
3
3
D1 Q1 D1 Q1 D1 Q1
A0 A0 A0
B0 LUT5
SLICE
B0 LUT5 B0 LUT5
SLICE
SLICE
C0 F0 C0 F0 C0 F0
D0 D0 D0
FXB Q0 FXB Q0 FXB Q0
LUT7 Output FXA FXA FXA LUT7 Output
To Next PFU From Previous PFU
A1 A1 LUT6 A1
LUT6 LUT6
B1 F1 B1 F1 B1 F1
C1 C1 C1
2
2
D1 Q1 D1 Q1 D1 Q1
A0 A0 A0
LUT5 B0 LUT5 LUT5
SLICE
B0 B0
SLICE
SLICE
C0 F0 C0 F0 C0 F0
D0 D0 D0
FXB Q0 FXB Q0 FXB Q0
FXA FXA FXA
A1 A1 A1
LUT7 LUT7 LUT7
B1 F1 B1 F1 B1 F1
C1 C1 C1
1
1
D1 Q1 D1 Q1 D1 Q1
A0 A0 A0
B0 LUT5
SLICE
B0 LUT5 B0 LUT5
SLICE
SLICE
C0 F0 C0 F0 C0 F0
D0 D0 D0
FXB Q0 FXB Q0 FXB Q0
FXA FXA FXA
A1 A1 LUT6 A1
LUT6 LUT6
B1 F1 B1 F1 B1 F1
C1 C1 C1
0
0
0
D1 Q1 D1 Q1 D1 Q1
A0 A0 A0
LUT5 B0 LUT5 LUT5
SLICE
B0 B0
SLICE
SLICE
C0 F0 C0 F0 C0 F0
D0 D0 D0
FXB Q0 FXB Q0 FXB Q0
FXA FXA FXA
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 15
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
16 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
2.3. Routing
There are many resources provided in the ECP5/ECP5-5G devices to route signals individually or as busses with related
control signals. The routing resources consist of switching circuitry, buffers and metal interconnect (routing) segments.
The ECP5/ECP5-5G family has an enhanced routing architecture that produces a compact design. The Diamond design
software tool suites take the output of the synthesis tool and places and routes the design.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 17
ECP5 and ECP5-5G Family
Data Sheet
PHASESEL[1:0] Dynamic
PHASEDIR Phase
PHASESTEP Adjust
PHASELOADREG
PLLREFCS
CLKOP
SEL VCO
Refclk Divider CLKOP
CLK0
(1-128 )
CLKI PLLCSOUT
CLKI2 Refclk Divider M Phase CLKOS
CLKI Detector, VCO
CLK1 Divider CLKOS
VCO, and (1-128 )
Loop Filter
FBKSEL VCO CLKOS2
CLKFB Feedback Divider CLKOS2
Clock Divider (1-128 )
VCO CLKOS3
Internal Feedback Divider CLKOS3
CLKOP, CLKOS, CLKOS2, CLKOS3 (1-128 )
ENCLKOP
ENCLKOS
ENCLKOS2
ENCLKOS3
RST Lock LOCK
STDBY Detect
For more details on the PLL, you can refer to the ECP5 and ECP5-5G sysClock PLL/DLL Design and Usage Guide
(TN1263).
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
18 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
MUX
Edge Clocks
PLL PLL
Edge Clocks
Bank 2
12 DCC
Bank 7
PIO
PIO
14 Primary Sources
PIO
PIO
CLK
DIV Mid 14 14 Primary Sources 14 Mid
CLK
DIV
MUX
14 DCC Center MUX 14 DCC MUX
CLK CLK
PIO
PIO
DIV DIV
PIO
PIO
16 Fabric Fabric
16
Primary Entry Entry Primary
Bank 3
Clocks 16 Primary Sources Clocks
Edge Clocks
Bank 6
Edge Clocks
Quadrant BL 16 DCC
Quadrant BR
PLL PLL
Mid
MUX
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 19
ECP5 and ECP5-5G Family
Data Sheet
CLK0
CLK1
SEL
CLKO
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
20 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
The edge clocks have low injection delay and low skew. They are used for DDR Memory or Generic DDR interfaces. For
detailed information on Edge Clock connections, refer to ECP5 and ECP5-5G sysClock PLL/DLL Design and Usage Guide
(TN1263).
Primary
Clock Tree
OR Routing RST
SLIP
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 21
ECP5 and ECP5-5G Family
Data Sheet
2.7. DDRDLL
Every DDRDLL (master DLL block) can generate phase shift code representing the amount of delay in a delay block that
corresponding to 90° phase of the reference clock input. The reference clock can be either from PLL, or input pin. This
code is used in the DQSBUF block that controls a set of DQS pin groups to interface with DDR memory (slave DLL).
There are two DDRDLLs that supply two sets of codes (for two different reference clock frequencies) to each side of the
I/O (at each of the corners). The DQSBUF uses this code to controls the DQS input of the DDR memory to 90° shift to
clock DQs at the center of the data eye for DDR memory interface.
The code is also sent to another slave DLL, DLLDEL, that takes a clock input and generates a 90° shift clock output to
drive the clocking structure. This is useful to interface edge-aligned Generic DDR, where 90° clocking needs to be
created. Figure 2.10 shows DDRDLL functional diagram.
DDRDLL
CLK
DDRDEL
RST
LOCK
UDDCNTLN
DCNTL[7:0]
FREEZE
There are four identical DDRDLLs, one in each of the four corners in LFE5-85 and LFE5-45 devices, and two DDRDLLs in
both LFE5-25 and LFE5-12 devices in the upper two corners. Each DDRDLL can generate delay code based on the
reference frequency. The slave DLL (DQSBUF and DLLDEL) use the code to delay the signal, to create the phase shifted
signal used for either DDR memory, to create 90° shift clock. Figure 2.11 shows the DDRDLL and the slave DLLs on the
top level view.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
22 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
LFE5 Device
Config I/O
Figure 2.11. ECP5/ECP5-5G DLL Top Level View (For LFE-45 and LFE-85)
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 23
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
24 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
Memory Core
SET
D Q Port A[17:0]
LCLR
Output Data
Latches
D
SET
Q Port B[17:0]
LCLR
RSTA
RSTB
GSRN
Programmable Disable
For further information on the sysMEM EBR block, see the list of technical documentation in Supplemental Information
section.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 25
ECP5 and ECP5-5G Family
Data Sheet
x x x m/k
loops
Single
Multiplier x M loops Multiplier
0
Multiplier
1
Multiplier
k
Accumulator
Function Implemented in
(k adds) +
General Purpose DSP
m/k
accumulate
Output
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
26 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
2D Symmetry support. The coefficients of 2D FIR filters have symmetry or negative symmetry characteristics.
3*3 and 3*5 – Internal DSP Slice support
5*5 and larger size 2D blocks – Semi internal DSP Slice support
Flexible saturation and rounding options to satisfy a diverse set of applications situations
Flexible cascading across DSP slices
Minimizes fabric use for common DSP and ALU functions
Enables implementation of FIR Filter or similar structures using dedicated sysDSP slice resources only
Provides matching pipeline registers
Can be configured to continue cascading from one row of sysDSP slices to another for longer cascade chains
Flexible and Powerful Arithmetic Logic Unit (ALU) Supports:
Dynamically selectable ALU OPCODE
Ternary arithmetic (addition/subtraction of three inputs)
Bit-wise two-input logic operations (AND, OR, NAND, NOR, XOR and XNOR)
Eight flexible and programmable ALU flags that can be used for multiple pattern detection scenarios, such as,
overflow, underflow and convergent rounding.
Flexible cascading across slices to get larger functions
RTL Synthesis friendly synchronous reset on all registers, while still supporting asynchronous reset for legacy users
Dynamic MUX selection to allow Time Division Multiplexing (TDM) of resources for applications that require
processor-like flexibility that enables different functions for each clock cycle
For most cases, as shown in Figure 2.14, the ECP5/ECP5-5G sysDSP slice is backwards-compatible with the
LatticeECP2™ and LatticeECP3™ sysDSP block, such that, legacy applications can be targeted to the ECP5/ ECP5-5G
sysDSP slice. Figure 2.14 shows the diagram of sysDSP, and Figure 2.15 shows the detailed diagram.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 27
ECP5 and ECP5-5G Family
Data Sheet
SLICE 0 SLICE 1
MUP0[35:18]
MUP1[35:18]
MUP2[35:18]
MUP3[35:18]
MUP0[17:0]
MUP1[17:0]
MUP2[17:0]
MUP3[17:0]
OutA0 (18)
OutA1 (18)
OutA2 (18)
OutA3 (18)
OutB0 (18)
OutB1 (18)
OutB2 (18)
OutB3 (18)
CIN[53:0] (hardwired COUT[53:0] (hardwired
cascade from left DSP) cascade to right DSP)
One of these
Accumulator/ALU (54) Accumulator/ALU (54)
ALU24 ALU24 ALU24 ALU24
Flags[7:0]
PR0 (36) PR1 (36) PR2 (36) PR3 (36)
CLK[3:0] SIGNEDA[3:0]
9x9 9x9 9x9 9x9 9x9 9x9 9x9 9x9
CE[3:0] SIGNEDB[3:0]
One of these
RST[3:0] SOURCEA[3:0]
Mult18-0 Mult18-1 Mult18-2 Mult18-1
SOURCEB[3:0]
One of these
9+/-9 9+/-9 9+/-9 9+/-9 9+/-9 9+/-9 9+/-9 9+/-9 To DSP
Block on Left Block on
18+/-18 18+/-18 18+/-18 18+/-18 Right and to
CIB Outputs
MUA0[17:0]
MUA1[17:0]
MUA2[17:0]
MUA3[17:0]
MUB0[17:0]
MUB1[17:0]
MUB2[17:0]
MUB3[17:0]
C0[53:0]
C0[53:0]
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
28 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
INT_A INT_B
IR
INT_B SRIBK_PA
IR IR
INT_A
IR IR
DSP
+/-
= +/- PreAdder
Logic
C OPA0 DYNOP OPA1
SROA
SRIA
IR IR IR
IR IR
SRIB SROB
MULTA MULTB
IR IR
PR PR PR
A ALU B ALU
0 0
Shift 18L
AMUX BMUX
C_ALU R= A ± B ± C
COUT
CIN R = Logic (B, C)
CMUX
ALU
==
OR OR FR OR
DSP
Core
Logic
DSP SLICE
Figure 2.15. Detailed sysDSP Slice Diagram
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 29
ECP5 and ECP5-5G Family
Data Sheet
In Figure 2.15, note that A_ALU, B_ALU and C_ALU are internal signals generated by combining bits from AA, AB, BA BB
and C inputs. For further information, refer to ECP5 and ECP5-5G sysDSP Usage Guide (TN1267).
The ECP5/ECP5-5G sysDSP block supports the following basic elements.
MULT (Multiply)
MAC (Multiply, Accumulate)
MULTADDSUB (Multiply, Addition/Subtraction)
MULTADDSUBSUM (Multiply, Addition/Subtraction, Summation)
Table 2.7 shows the capabilities of each of the ECP5/ECP5-5G slices versus the above functions.
Table 2.7. Maximum Number of Elements in a Slice
Width of Multiply x9 x18 x36
MULT 4 2 1/2
MAC 1 1 —
MULTADDSUB 2 1 —
MULTADDSUBSUM 1* 1/2 —
*Note: One slice can implement 1/2 9x9 m9x9addsubsum and two m9x9addsubsum with two slices.
Some options are available in the four elements. The input register in all the elements can be directly loaded or can be
loaded as a shift register from previous operand registers. By selecting dynamic operation, the following operations are
possible:
In the Add/Sub option the Accumulator can be switched between addition and subtraction on every cycle.
The loading of operands can switch between parallel and serial operations.
For further information, refer to ECP5 and ECP5-5G sysDSP Usage Guide (TN1267).
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
30 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
1 PIC
PIO A
Input
Register
Block
Output and
Tristate
Pin A
Register
Block
PIO B
Input
Register
Block
Output and
Tristate
Pin B
Register
Input Output
Block
Gearbox Gearbox
Core
Logic / PIO C
Routing Input
Register
Block
Output and
Tristate
Pin C
Register
Block
PIO D
Input
Register
Block
Output and
Tristate
Pin D
Register
Block
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 31
ECP5 and ECP5-5G Family
Data Sheet
2.11. PIO
The PIO contains three blocks: an input register block, output register block, and tristate register block. These blocks
contain registers for operating in a variety of modes along with the necessary clock and selection logic.
INCK
Programmable INFF
D Delay Cell
INFF Q
Figure 2.17. Input Register Block for PIO on Top Side of the Device
Figure 2.18 shows the input register block for the PIOs located on the left and right edges.
INCK
Programmable INFF
D Delay Cell
INFF Q
Generic
IDDRX1
FIFO IDDRX2 Q[1:0]/
Delayed DQS ECLK IDDRX71* Q[3:0]/
Q[6:0]*
Memory
ECLK
IDDRX2
SCLK
RST
ALIGNWD
*For 7:1 LVDS interface only. It is required to use PIO pair pins (PIOA/B or PIOC/D).
Figure 2.18. Input Register Block for PIO on Left and Right Side of the Device
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
32 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
Programmable
D Delay Cell Q
OUTFF
RST
SCLK Generic
ODDRX1
D[1:0]
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 33
ECP5 and ECP5-5G Family
Data Sheet
Programmable
D Delay Cell
Q
OUTFF
RST Generic
SCLK ODDRX1/
ECLK ODDRX2/
DQSW ODDR71*
DQSW270
Memory
D[1:0]/ ODDRX2
D[3:0]/ OSHX2
D[6:0]*
*For 7:1 LVDS interface only. It is required to use PIO pair pins PIOA/B.
TQ
TD
RST TSFF
SCLK
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
34 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
TQ
TD
TSFF
RST
SCLK
ECLK
THSX2
DQSW
DQSW270
T[1:0]
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 35
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
36 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
READCLKSEL[1:0]
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 37
ECP5 and ECP5-5G Family
Data Sheet
TOP
VCCIO0
VREF1(0)V
VCCIO1
VREF1(1)V
GND
GND
Bank 0 Bank 1
VREF1(7)
GND
V CCIO7
Bank 2
Bank 7
V CCIO2
GND V REF1(2)
RIGHT
LEFT
V REF1(6)
GND
Bank 3
V CCIO6
Bank 6
V CCIO3
V REF1(3)
GND Bank 8
CONFIG BANK Bank 4*
SERDES
V CCIO8
V CCIO4
GND
GND
BOTTOM
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
38 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 39
ECP5 and ECP5-5G Family
Data Sheet
V CCIO Zo = 50
TERM
Zo = 50 Ω, 75 Ω, or 150 Ω
control
to V CCIO /2
Zo
Zo +
2Zo -
Zo +
- Zo
VREF
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
40 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 41
ECP5 and ECP5-5G Family
Data Sheet
sysI/O Bank 2
sysI/O Bank 7
sysI/O Bank 3
sysI/O Bank 6
SERDES/ SERDES/
PCS PCS
Dual 0 Dual 1
CH0
CH0
CH1
CH1
sysI/O Bank 8 sysI/O Bank 4
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
42 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
TX PLL
TX REFCLK SERDES Tx Clock
(Per Dual)
2.15.2. PCS
As shown in Figure 2.28, the PCS receives the parallel digital data from the deserializer and selects the polarity,
performs word alignment, decodes (8b/10b), provides Clock Tolerance Compensation and transfers the clock domain
from the recovered clock to the FPGA clock via the Down Sample FIFO.
For the transmit channel, the PCS block receives the parallel data from the FPGA core, encodes it with 8b/10b, selects
the polarity and passes the 8/10 bit data to the transmit SERDES channel.
The PCS also provides bypass modes that allow a direct 8-bit or 10-bit interface from the SERDES to the FPGA logic. The
PCS interface to the FPGA can also be programmed to run at 1/2 speed for a 16-bit or 20-bit interface to the FPGA logic.
Some of the enhancements in LFE5UM/LFE5UM5G SERDES/PCS include:
Higher clock/channel granularity: Dual channel architecture provides more clock resource per channel.
Enhanced Tx de-emphasis: Programmable pre- and post-cursors improves Tx output signaling
Bit-slip function in PCS: Improves logic needed to perform Word Alignment function
Refer to ECP5 and ECP5-5G SERDES/PCS Usage Guide (TN1261) for more information.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 43
ECP5 and ECP5-5G Family
Data Sheet
There are some restrictions to be aware of when using spread spectrum clocking. When a dual shares a PCI Express x1
channel with a non-PCI Express channel, ensure that the reference clock for the dual is compatible with all protocols
within the dual. For example, a PCI Express spread spectrum reference clock is not compatible with most Gigabit
Ethernet applications because of tight CTC ppm requirements.
While the LFE5UM/LFE5UM5G architecture allows the mixing of a PCI Express channel and a Gigabit Ethernet, or SGMII
channel within the same dual, using a PCI Express spread spectrum clocking as the transmit reference clock causes a
violation of the Gigabit Ethernet, and SGMII transmit jitter specifications.
For further information on SERDES, refer to ECP5 and ECP5-5G SERDES/PCS Usage Guide (TN1261).
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
44 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 45
ECP5 and ECP5-5G Family
Data Sheet
When an error is detected, and your error handling software determines the error did not create any risk to the system
operation, the SEC tool allows the device to be re-configured in the background to correct the affected bit. This
operation allows the user functions to continue to operate without stopping the system function.
Additional SEI tool is also available in the Diamond Software, by creating a frame of data to be programmed into the
device in the background with one bit changed, without stopping the user functions on the device. This emulates an
SEU situation, allowing you to test and monitor its error handling software.
For further information on SED support, refer to LatticeECP3, ECP5 and ECP5-5G Soft Error Detection (SED)/Correction
(SEC) Usage Guide (TN1184).
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
46 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 47
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
48 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 49
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
50 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 51
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
52 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 53
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
54 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
3.14.2. SSTLD
All differential SSTL outputs are implemented as a pair of complementary single-ended outputs. All allowable
single-ended output classes (class I and class II) are supported in this mode.
3.14.3. LVCMOS33D
All I/O banks support emulated differential I/O using the LVCMOS33D I/O type. This option, along with the external
resistor network, provides the system designer the flexibility to place differential outputs on an I/O bank with 3.3 V
VCCIO. The default drive current for LVCMOS33D output is 12 mA with the option to change the device strength to 4 mA,
8 mA, 12 mA, or 16 mA. Follow the LVCMOS33 specifications for the DC characteristics of the LVCMOS33D.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 55
ECP5 and ECP5-5G Family
Data Sheet
3.14.4. LVDS25E
The top and bottom sides of ECP5/ECP5-5G devices support LVDS outputs via emulated complementary LVCMOS
outputs in conjunction with a parallel resistor across the driver outputs. The scheme shown in Figure 3.1 is one possible
solution for point-to-point signals.
RS = 140 RS = 100
VCCIO = 2.5 V (±5%) (±1%) (±1%)
RS = 158
(±1%)
8 mA
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
56 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
3.14.5. BLVDS25
The ECP5/ECP5-5G devices support the BLVDS standard. This standard is emulated using complementary LVCMOS
outputs in conjunction with a parallel external resistor across the driver outputs. BLVDS is intended for use when
multi-drop and bi-directional multi-point differential signaling is required. The scheme shown in Figure 3.2 is one
possible solution for bi-directional multi-point differential signals.
45 Ω – 90 Ω R TL 45 Ω – 90 Ω R TR
2.5 V 2.5 V
16 mA 16 mA
R S = 90 Ω R S = 90 Ω
R S = 90 Ω R S = 90 Ω
. R. =.90 Ω
S
R S = 90 Ω
+ +
– –
– –
+
+
2.5 V 2.5 V 2.5 V 2.5 V
16 mA 16 mA 16 mA 16 mA
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 57
ECP5 and ECP5-5G Family
Data Sheet
3.14.6. LVPECL33
The ECP5/ECP5-5G devices support the differential LVPECL standard. This standard is emulated using complementary
LVCMOS outputs in conjunction with a parallel resistor across the driver outputs. The LVPECL input standard is
supported by the LVDS differential input buffer. The scheme shown in Figure 3.3 is one possible solution for
point-to-point signals.
VCCIO = 3.3 V
(±5%)
RS = 93.1 Ω
(±1%)
16 mA
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
58 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
3.14.7. MLVDS25
The ECP5/ECP5-5G devices support the differential MLVDS standard. This standard is emulated using complementary
LVCMOS outputs in conjunction with a parallel resistor across the driver outputs. The MLVDS input standard is
supported by the LVDS differential input buffer. The scheme shown in Figure 3.4 is one possible solution for MLVDS
standard implementation. Resistor values in the figure are industry standard values for 1% resistors.
OE R TL OE
50 Ω to 70 Ω ±1%
50 Ω to 70 Ω ±1% R TR
2.5 V
2.5 V
16 mA 16 mA
R S = 35 Ω R S = 35 Ω
OE R S = 35 Ω R S = 35 Ω R S = 35 Ω R S = 35 Ω OE
+ +
–- –
+
–
+
–
2.5 V OE 2.5 V OE 2.5 V OE 2.5 V OE
16 mA 16 mA 16 mA 1 6 mA
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 59
ECP5 and ECP5-5G Family
Data Sheet
3.14.8. SLVS
Scalable Low-Voltage Signaling (SLVS) is based on a point-to-point signaling method defined in the JEDEC JESD8-13
(SLVS-400) standard. This standard evolved from the traditional LVDS standard and relies on the advantage of its use of
smaller voltage swings and a lower common-mode voltage. The 200 mV (400 mV p-p) SLVS swing contributes to a
reduction in power.
The ECP5/ECP5-5G devices can receive differential input up to 800 Mb/s with its LVDS input buffer. This LVDS input
buffer is used to meet the SLVS input standard specified by the JEDEC standard. The SLVS output parameters are
compared to ECP5/ECP5-5G LVDS input parameters, as listed in Table 3.18.
Table 3.18. Input to SLVS
Parameter ECP5/ECP5-5G LVDS Input SLVS Output Unit
Vcm (min) 50 150 mV
Vcm (max) 2350 250 mV
Differential Voltage (min) 100 140 mV
Differential Voltage (max) — 270 mV
ECP5/ECP5-5G does not support SLVS output. However, SLVS output can be created using ECP5/ECP5-5G LVDS outputs
by level shift to meet the low Vcm/Vod levels required by SLVS. Figure 3.5 shows how the LVDS output can be shifted
external to meet SLVS levels.
2.5 V Typical
R3=15 SLVDS
R1=220
R2=47 100 Ω Diff
+ +
LVDS Z0=50
- –
R2=47
R1=220 R3=15
SLVDS Peer
+ +
LVDS Z0=50
–- –-
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
60 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 61
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
62 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 63
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
64 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 65
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
66 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 67
ECP5 and ECP5-5G Family
Data Sheet
Rx CLK (in)
Rx DATA (in)
tSU/tDVBDQ tSU/tDVBDQ
tHD/tDVADQ tHD/tDVADQ
1/2 UI 1/2 UI
Rx CLK (in)
1 UI
or DQS Input
Rx DATA (in)
or DQ Input
tSU
tSU
tHD
tHD
Tx CLK (out)
or DQS Output
Tx DATA (out)
or DQ Output
tDVB/tDQVBS tDVB/tDQVBS
tDVA/tDQVA tDVA/tDQVAS
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
68 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
1 UI
Tx CLK (out)
Tx DATA (out)
tDIB tDIB
tDIA tDIA
# of Bits
Data In
756 Mb/s
Clock In
108 MHz
Clock Out
108 MHz
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 69
ECP5 and ECP5-5G Family
Data Sheet
CLK (in) 1 UI
DATA (in)
tSU_0
tHD_0
tSU_i
tHD_i
1 UI
CLK (out)
DATA (out)
tDIB_0
tDIA_0
tDIB_i
tDIA_i
Figure 3.12. Transmitter DDRX71_TX Waveforms
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
70 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
Notes:
1. Jitter sample is taken over 10,000 samples for Periodic jitter, and 2,000 samples for Cycle-to-Cycle jitter of the primary PLL
output with clean reference clock with no additional I/O toggling.
2. Output clock is valid after tLOCK for PLL reset and dynamic delay adjustment.
3. Period jitter and cycle-to-cycle jitter numbers are guaranteed for fPFD > 10 MHz. For fPFD < 10 MHz, the jitter numbers may not
be met in certain conditions.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 71
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
72 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
R4 R5 R6
R2 R3 R7
R1
WA DEC Elastic
HDINPi Deserializer Polarity Buffer Down Receive Data
EQ CDR FIFO Sample
1:8/1:10 Adjust
HDINNi FIFO
BYPASS BYPASS
Receiver BYPASS BYPASS
FPGA
Receive Clock
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 73
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
74 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
V+
VREF-IN
MAX < 1.56 V
N
VREF_IN_DIFF
V+
Min=200 mV
Max=2xVCCA
0V
VREF_IN_DIFF=
IVp-VnI
V+
VREF-IN
MAX < 1.56 V
VREF_IN_SE
Min=200 mV
0 V Max=VCCA
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 75
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
76 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 77
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
78 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 79
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
80 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 81
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
82 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 83
ECP5 and ECP5-5G Family
Data Sheet
t BSCYC
t BSCL
t BSCH
CCLK
t SUCS t HCS
CS1N
CSN
tSUWD t HWD
WRITEN
t DCB
BUSY
tCORD
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
84 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
tBSCYC
tBSCL
t BSCH
CCLK*
tSUCS tHCS
CS1N
CSN
tSUWD tHWD
WRITEN
tDCB
BUSY
t SUCBDI tHCBDI
*In Master Parallel Mode the FPGA provides CCLK (MCLK). In Slave Parallel Mode the external device provides CCLK.
tSSCL tSSCH
CCLK (input)
tHSCDI
tSUSCDI
DIN
tCODO
DOUT
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 85
ECP5 and ECP5-5G Family
Data Sheet
VCC/VCCAUX/
VCCIO8 1 tICFG
INITN
DONE
t VMC
CCLK 2
CFG[2:0]3 Valid
1. Time taken from VCC, VCCAUX or VCCIO8, whichever is the last to cross the POR trip point.
2. Device is in a Master Mode (SPI, SPIm).
3. The CFG pins are normally static (hardwired).
Wake Up Clocks
tICFG tSSCH
tVMC tSSCL
VCC
tPRGM
tPRGMRJ
CCLK
PROGRAMN
tDPPINIT
INITN
tHSCDI (tHMCDI )
tSUSCDI (tSUMCDI) tCODO
DONE
tDPPDONE
DI
GOE Release
DOUT
tIOENSS
sysI/O
tIODISS
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
86 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
t PRGMRJ
PROGRAMN
DONE t DI NITD
CCLK
CFG[2:0]* Valid
t IODISS
USER I/O
PROGRAMN
INITN
DONE Wake-Up
tMWC
CCLK
tIOENSS
USER I/O
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 87
ECP5 and ECP5-5G Family
Data Sheet
VCC
PROGRAMN
DONE
INITN
CSSPIN
0 1 2 3 … 7 8 9 10 … 31 32 33 34 … 127 128
CCLK
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
88 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
TMS
TDI
tBTS tBTH
TCK
tBTCRH
tBTCRS
Data to be
Captured Data Captured
from I/O
VT
R1
DUT Test Point
R2 CL*
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 89
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
90 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
4. Pinout Information
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 91
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
92 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
SERDES Function
SERDES, transmit, receive, PLL and reference clock buffer power supply for
SERDES Dual x. All VCCA supply pins must always be powered to the
VCCAx —
recommended operating voltage range. If no SERDES channels are used,
connect VCCA to VCC. VCCAx = 1.1 V for ECP5, VCCAx = 1.2 V for ECP5-5G.
VCCAUXAx — SERDES Aux Power Supply pin for SERDES Dual x. VCCAUXAx = 2.5 V.
High-speed SERDES inputs, P = Positive, N = Negative, dual_num = [0, 1],
HDRX[P/N]_D[dual_num]CH[chan_num] I
chan_num = [0, 1]. These are dedicated SERDES input pins.
High-speed SERDES outputs, P = Positive, N = Negative, dual_num = [0, 1],
HDTX[P/N]_D[dual_num]CH[chan_num] O
chan_num = [0, 1]. These are dedicated SERDES output pins.
SERDES Reference Clock inputs, P = Positive, N = Negative, dual_num = [0, 1].
REFCLK[P/N]_D[dual_num] I
These are dedicated SERDES input pins.
SERDES High-Speed Inputs Termination Voltage Supplies, dual_num = [0, 1],
VCCHRX_D[dual_num]CH[chan_num] — chan_num = [0, 1]. These pins should be powered to 1.1 V on ECP5, or
1.2 V on ECP5-5G.
SERDES High-Speed Outputs Buffer Voltage Supplies, dual_num = [0, 1],
VCCHTX_D[dual_num]CH[chan_num] — chan_num = [0, 1]. These pins should be powered to 1.1 V on ECP5, or 1.2 V
on ECP5-5G.
Notes:
When placing switching I/O around these critical pins that are designed to supply the device with the proper reference or
supply voltage, care must be given.
These pins are dedicated inputs or can be used as general purpose I/O.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 93
ECP5 and ECP5-5G Family
Data Sheet
4.2. PICs and DDR Data (DQ) Pins Associated with the DDR Strobe (DQS) Pin
PICs Associated with DQS Strobe PIO within PIC DDR Strobe (DQS) and Data (DQ) Pins
For Left and Right Edges of the Device Only
A DQ
B DQ
P[L/R] [n−6]
C DQ
D DQ
A DQ
B DQ
P[L/R] [n−3]
C DQ
D DQ
A DQS (P)
B DQS (N)
P[L/R] [n]
C DQ
D DQ
A DQ
B DQ
P[L/R] [n+3]
C DQ
D DQ
Note: n is a row PIC number.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
94 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
LFE5UM/
Pin Information Summary LFE5UM/LFE5UM5G-45 LFE5UM/LFE5UM5G-85
LFE5UM5G-25
285 381 285 381 554 285 381 554 756
Pin Type csfBGA
csfBGA caBGA caBG caBGA csfBGA caBG caBGA caBGA
TAP 4 4 4 A
4 4 4 A
4 4 4
Miscellaneous Dedicated Pins 7 7 7 7 7 7 7 7 7
GND 83 59 83 59 113 83 59 113 166
NC 1 8 1 2 33 1 0 17 29
Reserved 0 2 0 2 4 0 2 4 4
SERDES 14 28 14 28 28 14 28 28 28
VCCA0 2 2 2 2 6 2 2 6 8
VCCA (SERDES)
VCCA1 0 2 0 2 6 0 2 6 9
VCCAU 2 2 2 2 2 2 2 2 2
VCCAUX (SERDES) XA0
VCCAU 0 2 0 2 2 0 2 2 2
GNDA (SERDES) XA1 26 26 26 26 49 26 26 49 60
Total Balls 285 381 285 381 554 285 381 554 756
Bank 0 0 0 0 0 0 0 0 0 0
Bank 1 0 0 0 0 0 0 0 0 0
Bank 2 10/8 16/8 10/8 16/8 16/8 10/8 17/9 16/8 24/12
High Speed Differential Input Bank 3 14/7 16/8 14/7 16/8 24/12 14/7 16/8 24/12 32/16
/ Output Pairs Bank 4 0 0 0 0 0 0 0 0 0
Bank 6 13/6 16/8 13/6 16/8 24/12 13/6 16/8 24/12 32/16
Bank 7 8/6 16/8 8/6 16/8 16/8 8/6 16/8 16/8 24/12
Bank 8 0 0 0 0 0 0 0 0 0
Total High Speed Differential I/O Pairs 45/27 64/32 45/27 64/32 80/40 45/27 65/33 80/40 112/56
Bank 0 0 0 0 0 0 0 0 0 0
Bank 1 0 0 0 0 0 0 0 0 0
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 95
ECP5 and ECP5-5G Family
Data Sheet
4.3.2. LFE5U
Pin Information Summary LFE5U-12 LFE5U-25 LFE5U-45 LFE5U-85
256 285 381 256 285 381 256 285 381 554 285 381 554 756
Pin Type
caBGA csfBGA caBGA caBGA csfBGA caBGA caBGA csfBGA caBGA caBGA csfBGA caBGA caBGA caBGA
Bank 0 24 6 24 24 6 24 24 6 27 32 6 27 32 56
Bank 1 32 6 32 32 6 32 32 6 33 40 6 33 40 48
Bank 2 32 21 32 32 21 32 32 21 32 32 21 34 32 48
General Purpose Bank 3 32 28 32 32 28 32 32 28 33 48 28 33 48 64
Inputs/Outputs
per Bank Bank 4 0 0 0 0 0 0 0 0 0 0 0 0 14 24
Bank 6 32 26 32 32 26 32 32 26 33 48 26 33 48 64
Bank 7 32 18 32 32 18 32 32 18 32 32 18 32 32 48
Bank 8 13 13 13 13 13 13 13 13 13 13 13 13 13 13
Total Single-Ended User I/O 197 118 197 197 118 197 197 118 203 245 118 205 259 365
VCC 6 13 20 6 13 20 6 13 20 24 13 20 24 36
VCCAUX (Core) 2 3 4 2 3 4 2 3 4 9 3 4 9 8
Bank 0 2 1 2 2 1 2 2 1 2 3 1 2 3 4
Bank 1 2 1 2 2 1 2 2 1 2 3 1 2 3 4
Bank 2 2 2 3 2 2 3 2 2 3 4 2 3 4 4
Bank 3 2 2 3 2 2 3 2 2 3 3 2 3 3 4
VCCIO
Bank 4 0 0 0 0 0 0 0 0 0 0 0 0 2 2
Bank 6 2 2 3 2 2 3 2 2 3 4 2 3 4 4
Bank 7 2 2 3 2 2 3 2 2 3 3 2 3 3 4
Bank 8 1 2 2 1 2 2 1 2 2 2 2 2 2 2
TAP 4 4 4 4 4 4 4 4 4 4 4 4 4 4
Miscellaneous Dedicated Pins 7 7 7 7 7 7 7 7 7 7 7 7 7 7
GND 27 123 99 27 123 99 27 123 99 198 123 99 198 267
NC 0 1 26 0 1 26 0 1 26 33 1 26 33 29
Reserved 0 4 6 0 4 6 0 4 6 12 4 6 12 12
Total Balls 256 285 381 256 285 381 256 285 381 554 285 381 554 756
Bank 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bank 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bank 2 16/8 10/8 16/8 16/8 10/8 16/8 16/8 10/8 16/8 16/8 10/8 17/9 16/8 24/1
High Speed Bank 3 16/8 14/7 16/8 16/8 14/7 16/8 16/8 14/7 16/8 24/12 14/7 16/8 24/12 32/1
Differential Input
/Output Pairs Bank 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bank 6 16/8 13/6 16/8 16/8 13/6 16/8 16/8 13/6 16/8 24/12 13/6 16/8 24/12 32/1
Bank 7 16/8 8/6 16/8 16/8 8/6 16/8 16/8 8/6 16/8 16/8 8/6 16/8 16/8 24/1
Bank 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Total High Speed Differential 64/32 45/27 64/32 64/32 45/27 64/32 64/32 45/27 64/32 80/40 45/27 65/33 80/40 112/56
I/O Pairs
Bank 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bank 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bank 2 2 1 2 2 1 2 2 1 2 2 1 2 2 3
DQS Groups (> 11 Bank 3 2 2 2 2 2 2 2 2 2 3 2 2 3 4
pins in group) Bank 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bank 6 2 2 2 2 2 2 2 2 2 3 2 2 3 4
Bank 7 2 1 2 2 1 2 2 1 2 2 1 2 2 3
Bank 8 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Total DQS Groups 8 6 8 8 6 8 8 6 8 10 6 8 10 14
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
96 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
5. Ordering Information
LFE5U - XX - X XXXXX X
Device Family Grade
LFE5U (ECP5 FPGA) C = Commercial
I = Industrial
Logic Capacity
12F = 12K LUTs Package
25F = 25K LUTs BG256 = 256-ball caBGA
45F = 45K LUTs MG285 = 285-ball csfBGA
85F = 85K LUTs BG381 = 381-ball caBGA
Speed BG554 = 554-ball caBGA
6 = Slowest BG756 = 756-ball caBGA
7
8 = Fastest
LFE5UM - XX - X XXXXX X
Device Family Grade
LFE5UM (ECP5 FPGA C = Commercial
with SERDES) I = Industrial
Logic Capacity
25F = 25K LUTs Package
45F = 45K LUTs MG285 = 285-ball csfBGA
85F = 85K LUTs BG381 = 381-ball caBGA
BG554 = 554-ball caBGA
Speed BG756 = 756-ball caBGA
6 = Slowest
7
8 = Fastest
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 97
ECP5 and ECP5-5G Family
Data Sheet
LFE5UM5G - XX - X XXXXX X
Device Family Grade
LFE5UM5G (ECP5-5G FPGA C = Commercial
with SERDES) I = Industrial
Logic Capacity
25F = 25K LUTs Package
45F = 45K LUTs MG285 = 285-ball csfBGA
85F = 85K LUTs BG381 = 381-ball caBGA
BG554 = 554-ball caBGA
Speed BG756 = 756-ball caBGA
8 = Fastest
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
98 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 99
ECP5 and ECP5-5G Family
Data Sheet
5.2.2. Industrial
Part number Grade Package Pins Temp. LUTs (K) SERDES
LFE5U-12F-6BG256I –6 Lead free caBGA 256 Industrial 12 No
LFE5U-12F-7BG256I –7 Lead free caBGA 256 Industrial 12 No
LFE5U-12F-8BG256I –8 Lead free caBGA 256 Industrial 12 No
LFE5U-12F-6MG285I –6 Lead free csfBGA 285 Industrial 12 No
LFE5U-12F-7MG285I –7 Lead free csfBGA 285 Industrial 12 No
LFE5U-12F-8MG285I –8 Lead free csfBGA 285 Industrial 12 No
LFE5U-12F-6BG381I –6 Lead free caBGA 381 Industrial 12 No
LFE5U-12F-7BG381I –7 Lead free caBGA 381 Industrial 12 No
LFE5U-12F-8BG381I –8 Lead free caBGA 381 Industrial 12 No
LFE5U-25F-6BG256I –6 Lead free caBGA 256 Industrial 24 No
LFE5U-25F-7BG256I –7 Lead free caBGA 256 Industrial 24 No
LFE5U-25F-8BG256I –8 Lead free caBGA 256 Industrial 24 No
LFE5U-25F-6MG285I –6 Lead free csfBGA 285 Industrial 24 No
LFE5U-25F-7MG285I –7 Lead free csfBGA 285 Industrial 24 No
LFE5U-25F-8MG285I –8 Lead free csfBGA 285 Industrial 24 No
LFE5U-25F-6BG381I –6 Lead free caBGA 381 Industrial 24 No
LFE5U-25F-7BG381I –7 Lead free caBGA 381 Industrial 24 No
LFE5U-25F-8BG381I –8 Lead free caBGA 381 Industrial 24 No
LFE5U-45F-6BG256I –6 Lead free caBGA 256 Industrial 44 No
LFE5U-45F-7BG256I –7 Lead free caBGA 256 Industrial 44 No
LFE5U-45F-8BG256I –8 Lead free caBGA 256 Industrial 44 No
LFE5U-45F-6MG285I –6 Lead free csfBGA 285 Industrial 44 No
LFE5U-45F-7MG285I –7 Lead free csfBGA 285 Industrial 44 No
LFE5U-45F-8MG285I –8 Lead free csfBGA 285 Industrial 44 No
LFE5U-45F-6BG381I –6 Lead free caBGA 381 Industrial 44 No
LFE5U-45F-7BG381I –7 Lead free caBGA 381 Industrial 44 No
LFE5U-45F-8BG381I –8 Lead free caBGA 381 Industrial 44 No
LFE5U-45F-6BG554I –6 Lead free caBGA 554 Industrial 44 No
LFE5U-45F-7BG554I –7 Lead free caBGA 554 Industrial 44 No
LFE5U-45F-8BG554I –8 Lead free caBGA 554 Industrial 44 No
LFE5U-85F-6MG285I –6 Lead free csfBGA 285 Industrial 84 No
LFE5U-85F-7MG285I –7 Lead free csfBGA 285 Industrial 84 No
LFE5U-85F-8MG285I –8 Lead free csfBGA 285 Industrial 84 No
LFE5U-85F-6BG381I –6 Lead free caBGA 381 Industrial 84 No
LFE5U-85F-7BG381I –7 Lead free caBGA 381 Industrial 84 No
LFE5U-85F-8BG381I –8 Lead free caBGA 381 Industrial 84 No
LFE5U-85F-6BG554I –6 Lead free caBGA 554 Industrial 84 No
LFE5U-85F-7BG554I –7 Lead free caBGA 554 Industrial 84 No
LFE5U-85F-8BG554I –8 Lead free caBGA 554 Industrial 84 No
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
100 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 101
ECP5 and ECP5-5G Family
Data Sheet
Supplemental Information
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
102 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
Revision History
Revision 2.1, April 2019
Section Change Summary
General Description In the Features section, changed feature to subLVDS and SLVS, SoftIP MIPI D-PHY
receiver/transmitter interfaces under Programmable sysI/O™ Buffer Supports Wide Range of
Interfaces.
Architecture Updated the Supported sysI/O Standards section.
DC and Switching Characteristics Updated Table 3.11. sysI/O Recommended Operating Conditions.
Added/revised standards and values.
Corrected typo from LVCOM to LVCMOS.
Updated Table 3.12. Single-Ended DC Characteristics.
Corrected typo from LVCOM to LVCMOS.
Pinout Information Updated Configuration Pads (Used during sysCONFIG) in Signal Descriptions table.
Removed note 3.
Supplemental Information Updated document numbers of:
PCB Layout Recommendations for BGA Packages to FPGA-TN-02024
ECP5 and ECP5-5G sysI/O Usage Guide to FPGA-TN-02032
ECP5 and ECP5-5G High-Speed I/O Interface to FPGA-TN-02035
Added MIPI D-PHY Bandwidth Matrix and Implementation Technical Note.
All Minor editorial changes.
General Description Updated Table 1.1. ECP5 and ECP5-5G Family Selection Guide. Added caBGA256 package in
LFE5U-45.
Architecture Added a row for SGMII in Table 2.13. LFE5UM/LFE5UM5G SERDES Standard Support.
Updated footnote #1.
DC and Switching Characteristics Updated Table 3.2. Recommended Operating Conditions.
Added 2 rows and updated values in Table 3.7. DC Electrical Characteristics.
Updated Table 3.8. ECP5/ECP5-5G Supply Current (Standby).
Updated Table 3.11. sysI/O Recommended Operating Conditions.
Updated Table 3.12. Single-Ended DC Characteristics.
Updated Table 3.13. LVDS.
Updated Table 3.14. LVDS25E DC Conditions.
Updated Table 3.21. ECP5/ECP5-5G Maximum I/O Buffer Speed.
Updated Table 3.28. Receiver Total Jitter Tolerance Specification.
Updated header name of section 3.28 CPRI LV E.24/SGMII(2.5 Gbps) Electrical and
Timing Characteristics.
Updated header name of section 3.29 Gigabit Ethernet/SGMII (1.25 Gbps)/CPRI LV E.12
Electrical and Timing Characteristics.
Pinout Information Updated table in section 4.3.2 LFE5U.
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 103
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
104 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 105
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
106 FPGA-DS-02012-2.1
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
FPGA-DS-02012-2.1 107
ECP5 and ECP5-5G Family
Data Sheet
© 2014-2019 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal.
All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice.
108 FPGA-DS-02012-2.1
www.latticesemi.com