ECP5 and ECP5-5G High-Speed I/O Interface
Technical Note
© 2014-2020 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at
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-TN-02035-1.3
1.
Introduction
The ECP5™ and ECP5-5G™ devices support high-speed I/O interfaces, including Double Data Rate (DDR) and Single Data
Rate (SDR) interfaces, using the logic built into the Programmable I/O (PIO). SDR applications capture data on one edge
of a clock while DDR interfaces capture data on both the rising and falling edges of the clock, thus doubling the
performance. ECP5 and ECP5-5G device I/O also have dedicated circuitry that is used along with the DDR I/O to support
DDR2, DDR3, DDR3L, LPDDR2, and LPDDR3 SDRAM memory interfaces.
This document discusses how to utilize the capabilities of the ECP5 and ECP5-5G devices to implement high-speed
generic DDR interface and the DDR memory interfaces. Refer to the Implementing DDR Memory Interfaces section of
this document for more information.
2.
External Interface Description
This technical note uses two types of external interface definitions, centered and aligned. A centered external interface
means that, at the device pins, the clock is centered in the data opening. An aligned external interface means that, at
the device pins, the clock and data transition are aligned. This is also sometimes called edge-on-edge.
shows the external interface waveform for SDR and DDR.
Figure 2.1. External Interface Definitions
The interfaces described are referenced as centered or aligned interfaces. An aligned interface needs to adjust the
clock location to satisfy the capture flip-flop setup and hold times. A centered interface needs to balance the clock and
data delay to the first flip-flop to maintain the setup and hold already provided.