Lattice CrossLink-NX PCIe User Manual

Bridge board basic demo
Table of Contents

Advertisement

Quick Links

CrossLink-NX PCIe Bridge Board Basic Demo
User Guide
FPGA-UG-02145-1.0
December 2021

Advertisement

Table of Contents
loading

Summary of Contents for Lattice CrossLink-NX PCIe

  • Page 1 CrossLink-NX PCIe Bridge Board Basic Demo User Guide FPGA-UG-02145-1.0 December 2021...
  • Page 2 Buyer shall not rely on any data and performance specifications or parameters provided herein. Products sold by Lattice have been subject to limited testing and it is the Buyer's responsibility to independently determine the suitability of any products and to test and verify the same. No Lattice products should be used in conjunction with mission- or safety-critical or any other application in which the failure of Lattice’s product could create a...
  • Page 3: Table Of Contents

    Revision History .................................. 45 © 2021 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.
  • Page 4 Figure 7.7. Content List of Software/Linux Directory ......................43 © 2021 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.
  • Page 5 Table 5.4. Memory Tab ............................... 37 © 2021 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.
  • Page 6: Acronyms In This Document

    Universal Serial Bus © 2021 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.
  • Page 7: Introduction

    Establish communication between the CrossLink-NX PCIe Bridge Board through the PCI Express link  Run the PCI Express Basic Demo that allows you to control three 7 segment LEDs on the CrossLink-NX PCIe Bridge Board. This demo is included in the user interface.
  • Page 8: Hardware And Software Requirements

    To install the kit design and run the demo software, a computer with a PCI Express ×16, ×8, ×4, or ×1 slot is required. The computer must also have a USB port and be able to run the Lattice Radiant Software. All other hardware and drivers are included in the kit.
  • Page 9: Setting Up The Demo

    CrossLink-NX PCIe Bridge Board Basic Demo User Guide 3. Setting Up the Demo 3.1. Hardware Setup This section covers the steps in programming the demo to the SPI memory of the CrossLink-NX PCIe Bridge Board. 3.1.1. Jumper Configuration Install the jumpers listed in Table 3.1.
  • Page 10: Programming The Fpga

    If external 12 V power is provided, then SW2 should be in the down position to receive power from the external 12 V connection. Connect the board to the PC running the Lattice Radiant software with the Mini USB Type A Cable as...
  • Page 11: Figure 3.4. Radiant Programmer Window

    3. Double-click under Operation to open the Device Properties dialog box. © 2021 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.
  • Page 12: Figure 3.6. Device Properties Window For Spi Flash Programming

    3.2. © 2021 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.
  • Page 13: Status Led

    Green: Lights if configuration is successful © 2021 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.
  • Page 14: Software Setup

    3. Close the Command Prompt and restart your PC. © 2021 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.
  • Page 15: Figure 3.12. Troubleshoot Option

    6. Select Startup Settings and press Enter. © 2021 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.
  • Page 16: Figure 3.14. Select Startup Settings

    © 2021 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.
  • Page 17: Figure 3.16. Device Manager

    3.18. © 2021 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.
  • Page 18: Figure 3.18. Hardware Ids Of Basic Demo Device

    Figure 3.18. Hardware IDs of Basic Demo Device © 2021 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.
  • Page 19: Figure 3.19. Update Driver Menu In Device Manager

    Figure 3.20. Update Driver Options © 2021 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.
  • Page 20: Figure 3.21. Browse The Driver For Device

    Figure 3.22. Windows Security in Device Manager © 2021 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.
  • Page 21: Figure 3.23. Driver Installation Status Message

    Figure 3.24. Basic Demo Device Name Displayed in Device Manager © 2021 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.
  • Page 22: Figure 3.25. Preparing To Install Page

    The Installer provides a standard packaging format for applications and a standard method for customizing the applications. The installer helps to install the CrossLink-NX PCIe Bridge Board Basic Demo application in your system. The Framework supported version is Windows 10 use WDF 1.25 or earlier.
  • Page 23: Figure 3.27. Destination Folder Page

    Figure 3.28. Summary Page © 2021 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.
  • Page 24: Figure 3.29. Application Installed

    Figure 3.30. Device Configuration Prompt © 2021 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.
  • Page 25: Figure 3.31. Device Driver Installation Wizard

    3.33. © 2021 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.
  • Page 26: Figure 3.33. Device Driver Installation Completed

    Figure 3.33. Device Driver Installation Completed © 2021 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.
  • Page 27: Software Setup For Linux

    © 2021 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.
  • Page 28 © 2021 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.
  • Page 29 ./uninstall.sh © 2021 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.
  • Page 30: Demo Design Overview

    Lattice CL-NX PCIe Bridge board. The PCIe IP present in the Lattice FPGA on the CL-NX PCIe Bridge Board acts as a PCIe endpoint occupying certain ranges of PCI memory space.
  • Page 31: Fpga Design

    Figure 4.3. PCIe Basic Demo FPGA Design © 2021 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.
  • Page 32: Pcie Hard Ip

    The BAR offset address 0x0 is mapped to the three 7-segment displays on the CL_NX PCIe bridge board. © 2021 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.
  • Page 33: Application Overview

    User Guide 5. Application Overview The PCIe Basic demo shows the capabilities of the Lattice FPGA and the PCI Express Endpoint IP core functionality in a PCI Express slot in a Linux (Ubuntu)/Windows 10 PC. This demo software allows you to access memory and registers on the board and provides real time interaction with the CrossLink NX Bridge Board hardware to demonstrate a functional PCI Express communications path between the application, driver software and the FPGA IP.
  • Page 34: Using The Pci Express Test Application User Interface

    Displays the standard PCI Config type 0 registers. © 2021 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.
  • Page 35: Running Pcie Basic Demo

    © 2021 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.
  • Page 36: Table 5.3. Memory Data And Corresponding 7 Segment Display Values

    7 Segment Display of the board display the correct number. © 2021 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.
  • Page 37: Running Pcie Memory Access Demo

    Contents © 2021 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.
  • Page 38 Sets all 4 KB to 0. © 2021 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.
  • Page 39: Importing And Building The Fpga Demonstration

    2. Click Open project and browse the LIFCL-40_PCIe_Basic_Demo.rdf file, which is located in the BridgeBoard_PCIe_BasicDemo\Hardware\CL_NX_BridgeBoard_PCIeBasicDemo\Implementation\LIFCL- 40_PCIe_Basic_Demo folder. 3. Once your project loads, click Task Detail View. This shows a list of actions that Lattice Radiant will perform to build the .bit file. 4. Select the files and reports that you want to generate.
  • Page 40: Troubleshooting

    If you are getting a verification error while dumping the .bit file, try changing the TCK frequency to a value greater than 4. The TCK Divider Setting option is in the Cable Setup dialog box of the Lattice Radiant Programmer Window,...
  • Page 41: Driver Installation And User Interface Launch For Windows

    7.4. © 2021 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.
  • Page 42: Driver Installation User Interface Launch For Linux

    If the driver does not build properly, check for any software or kernel dependencies. © 2021 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.
  • Page 43: Problem With User Interface Launching

    ./PCIe_Test_App.sh © 2021 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.
  • Page 44: Technical Support Assistance

    Submit a technical support case through www.latticesemi.com/techsupport. © 2021 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.
  • Page 45: Revision History

    Initial release. © 2021 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.
  • Page 46 www.latticesemi.com...

Table of Contents