PCI Express Demos for the ECP5 and ECP5-5G
Versa Development Board
User Guide
FPGA-UG-02006 Version 1.4
July 2018
PCI Express Demos for the ECP5 and ECP5-5G Versa Development Board
User Guide
© 2015-2018 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-UG-02006-1.4
Contents
Acronyms in This Document ................................................................................................................................................. 4
1. Introduction .................................................................................................................................................................. 5
1.1. Learning Objectives ............................................................................................................................................. 5
1.2. Related Documentation ...................................................................................................................................... 5
2. Hardware Requirements ............................................................................................................................................... 6
3. Software Requirements ................................................................................................................................................ 6
4. Installing the ECP5 Versa Development Board PCI Express Demos .............................................................................. 7
5. Hardware Installation ................................................................................................................................................... 8
5.1. Installing Drivers .................................................................................................................................................. 8
5.2. Installing Hardware into a Different Slot ............................................................................................................. 9
5.3. Verifying Correct Board Operation ...................................................................................................................... 9
5.3.1. LED Definitions ................................................................................................................................................ 9
6. Running the PCI Express Basic Demo .......................................................................................................................... 11
6.1. Before You Begin ............................................................................................................................................... 11
6.2. Resource References ......................................................................................................................................... 11
6.2.1. Hardware Resources ..................................................................................................................................... 11
6.2.2. Software Resources ...................................................................................................................................... 11
6.3. Basic Demo Operations Overview ..................................................................................................................... 11
6.4. Running the PCI Express Basic Demo Software ................................................................................................. 12
6.5. Touring the PCI Express Basic Demo Interface .................................................................................................. 13
6.6. Rebuilding the PCI Express Basic Demo Design ................................................................................................. 17
6.6.1. Implementing the PCI Express Basic Demo Design ....................................................................................... 18
6.7. Modifying the PCI Express Basic Demo Design ................................................................................................. 18
7. Running the PCI Express Throughput Demo ............................................................................................................... 20
7.1. Before You Begin ............................................................................................................................................... 20
7.2. Resource References ......................................................................................................................................... 20
7.2.1. Hardware Resources ..................................................................................................................................... 20
7.2.2. Software Resources ...................................................................................................................................... 20
7.3. Throughput Demo Operations Overview .......................................................................................................... 20
7.4. Running the Throughput Demo Software ......................................................................................................... 21
7.5. Touring the PCI Express Throughput Demo Interface ....................................................................................... 22
8. Running the PCI Express Scatter-Gather DMA Demos ................................................................................................ 26
8.1. Before You Begin ............................................................................................................................................... 26
8.2. Resource References ......................................................................................................................................... 26
8.2.1. Hardware Resources ..................................................................................................................................... 26
8.2.2. Software Resources ...................................................................................................................................... 26
8.3. DMA Demo Operations Overview ..................................................................................................................... 27
8.3.1. Scatter-Gather DMA Overview ..................................................................................................................... 28
8.4. Running the DMA Demos .................................................................................................................................. 29
8.4.1. Running Multiple DMA Demos ..................................................................................................................... 30
8.5. PCI Express DMA ColorBars Demo .................................................................................................................... 30
8.6. PCI Express DMA ImageMove Demo ................................................................................................................. 32
Appendix A. Troubleshooting .............................................................................................................................................. 33
Troubleshooting Demo Software Installation ................................................................................................................. 33
Troubleshooting Driver Installation ................................................................................................................................ 33
Troubleshooting Demo Operation .................................................................................................................................. 33
Using Device Manager to Debug Installation ................................................................................................................. 33
Known Issues .................................................................................................................................................................. 34
Technical Support ............................................................................................................................................................... 35
Revision History .................................................................................................................................................................. 35