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 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-TN-02035-1.3 41
This interface uses the following modules:
ODDRX2DQA to generate the data DQ and DM signals. TSHX2DQA is used to generate the tristate control for the
DQ output.
ODDRX2DQSB to generate DQS output. TSHX2DQSA is used to generate the DQS tristate control.
DQSW270 which is the 270 degree delayed DQS signal is used to generate the DQ and DM outputs.
DQSW is 90° shifted from the DQSW270 is used to generate DQS output.
The DQSW270 and DQSW clocks are generated in the DQSBUFM module shown on the Read side Implementation
figure.
When write leveling is enabled, the dynamic delay for write leveling (DYNDELAY[7:0]) is applied both to DQSW and
DQSW270 so that the DQ and DQS phase relationship is maintained.
ECLK and SCLK are used inside the ODDRX2 module before data is transferred to the DQSW270 and DQSW clocks.
The ECLK is generated by the EHXPLLL module and the SCLK is generated by the CLKDIVF module, both shown in
the Read side implementation.
Figure 6.9 shows one tristate. The software generates one tristate element for each DQ port.
6.3.3. Write Implementation (DDR2, DDR3/DDR3L Address, Command, and Clock)
DDR2, DDR3, DDR3L write side interface side to generate the clock, address, and command uses the following modules:
ODDRX2F with inputs tied to constants to generate the DDRCLK output.
The ADDR, BA, CASN, RASN, WEN, CKE, and ODT command and address signals are generated using the ODDRX1F.
CSN output is generated using OSHX2A.
Both ECLK and SCLK is used in these elements. This is same ECLK and SLCK generated in the Read side.