
Table of Contents
Lattice Semiconductor
LatticeECP/EC Family Data Sheet
9
Conclusion ..................................................................................................................................................... 18-15
Technical Support Assistance........................................................................................................................ 18-16
Board Timing Guidelines for the DDR SDRAM Controller IP Core
Introduction ...................................................................................................................................................... 19-1
Read Operation................................................................................................................................................ 19-2
Set-up Time Calculation for the Data Input (Max. Case) ........................................................................ 19-3
Hold Time Calculation for the Data Input (Min. Case)............................................................................. 19-3
Write Operation ................................................................................................................................................ 19-4
Write Set-up ............................................................................................................................................ 19-4
Write Hold ............................................................................................................................................... 19-5
Address and Command Signals....................................................................................................................... 19-5
Set-up Calculation................................................................................................................................... 19-6
Hold Calculation ...................................................................................................................................... 19-7
Board Design Guidelines ................................................................................................................................. 19-7
Technical Support Assistance.......................................................................................................................... 19-8
Appendix A. Example Extractions of Delays from Timing Reports .................................................................. 19-9
PCB Layout Recommendations for BGA Packages
Introduction ...................................................................................................................................................... 20-1
Advantages and Disadvantages of BGA Packaging ........................................................................................ 20-1
PCB Layout ...................................................................................................................................................... 20-2
Plated Through Hole (Via) Placement.............................................................................................................. 20-2
BGA Board Layout Recommendations ............................................................................................................ 20-3
BGA Package Types........................................................................................................................................ 20-3
Further Information........................................................................................................................................... 20-3
Technical Support Assistance.......................................................................................................................... 20-3
Revision History ............................................................................................................................................... 20-3
SPI Serial Flash Programming Using ispJTAG on LatticeECP/EC FPGAs
Introduction ...................................................................................................................................................... 21-1
Related Documents.......................................................................................................................................... 21-1
Hardware and Software Requirements ............................................................................................................ 21-1
SPI/SPIX Differences ....................................................................................................................................... 21-1
SPI Serial Flash Sizing............................................................................................................................ 21-2
Hardware.......................................................................................................................................................... 21-2
SPI Serial Flash Interface ....................................................................................................................... 21-3
ispJTAG Interface ................................................................................................................................... 21-3
Schematic ............................................................................................................................................... 21-5
Software ........................................................................................................................................................... 21-6
Programming Procedure ......................................................................................................................... 21-7
Including the SPI Interface in the FPGA Design ............................................................................................ 21-14
Sample Code ........................................................................................................................................ 21-14
Locking the Pins............................................................................................................................................. 21-16
Design Notes.................................................................................................................................................. 21-18
Conclusion ..................................................................................................................................................... 21-19
Technical Support Assistance........................................................................................................................ 21-19
Section III. LatticeECP/EC Family Handbook Revision History
Revision History ............................................................................................................................................... 22-1