Corona (MAXREFDES12#) Nexys 3 Quick Start Guide Rev 0; 4/13 Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circuit patent licenses are implied. Maxim Integrated reserves the right to change the circuitry and specifications without notice at any time. Maxim Integrated 160 Rio Robles, San Jose, CA 95134 USA 1-408-601-1000 © 2013 Maxim Integrated Products, Inc.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide Table of Contents 1. Required Equipment ................................................................................................. 3 2. Overview ................................................................................................................... 3 3. Included Files............................................................................................................ 5 4. Procedure ....................................................
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 1. Required Equipment • • • • • PC with Windows® OS with Xilinx® ISE®/SDK version 13.4 or later and one USB port License for Xilinx EDK/SDK version 13.4 or later Corona (MAXREFDES12#) board Nexys™3 development kit One 24V 1A DC power supply 2. Overview Below is a high-level overview of the steps required to quickly get the Corona design running by downloading and running the FPGA project.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide Figure 1. Corona Board Connected to Nexys 3 Development Kit Figure 2.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 3. Included Files The top level of the hardware design is a Xilinx ISE Project Navigator Project (.XISE) for Xilinx ISE version 13.4. The Verilog-based HDL design instantiates the MicroBlaze core, the support hardware required to run the MicroBlaze, and the peripherals that interface to the Pmod ports.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 4. Procedure 1. Connect the Corona board to the JA1 port of a Nexys 3 development kit as shown in Figure 1. 2. Connect the 24V DC power-supply positive terminal to the TP3 connector on the Corona board. Connect the 24V DC power-supply ground terminal to the TP4 connector on the Corona board. 3. Power up the Nexys 3 development kit by sliding the SW8 switch on the Nexys 3 board to the ON position. 4. Download the latest RD12V01_00.ZIP file at www.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 6. Open the Xilinx Software Development Kit (SDK) from the Windows Start menu. 7. SDK will prompt for a workspace directory, which is the location where the software project is located. For this example, it is: C:\designs\maxim\RD12V01_00\RD12_NEXYS3_V01_00\Design_Files\sdkWorkspace Click OK and SDK will open. The Xilinx SDK is based on an Eclipse™-based IDE, so it will be a familiar flow for many software developers.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 8. Review the SDK IDE. The Project Explorer in the upper left tab should have three components as shown in the image below. If all three subfolders are present, you can skip the next step.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 9. If the Project Explorer does not contain these three subfolders, launch the File | Import menu, expand the General folder, and select Existing Projects into Workspace. Click Next. Set the root directory to: C:\designs\maxim\RD12V01_00\RD12_NEXYS3_V01_00\Design_Files\sdkWorkspace and the missing projects should appear in SDK Project Explorer with their checkboxes checked. Click Finish to import the projects.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 10. To download the bitstream (.BIT) file to the board, click on the Program FPGA icon (which looks like a green chain of devices). The Program FPGA dialog box appears. From here, an FPGA bitstream (.BIT) file is selected as well as an FPGA BMM (.BMM) file. Be sure to select the .BIT file and the .BMM by using the paths below. Bitstream: C:\designs\maxim\RD12V01_00\RD12_NEXYS3_V01_00\Design_Files\ sdkWorkspace\system_hw_platform\system.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide Additionally, make sure bootloop is selected as shown, then press Program. It takes approximately 10 seconds to download the FPGA, then a message box indicating FPGA configuration complete appears.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 11. Use the Xilinx SDK to download and run the executable ELF (.ELF) file on the MicroBlaze using the following steps. Right-click the mouse while the MAXREFDES12 C project is selected, choose the Run As menu, and then Run Configurations… menu as shown below.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide Next, double-click the mouse on the Xilinx C/C++ ELF menu.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide Next, press the Search Project button.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide Double-click on the MAXREFDES12.elf binary.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide Verify the application is selected and press the Run button. Once the Debug/MAXREFDES12 configuration is set up once, you just need to press the Run button if you ever want to run the program again. At this point, the application is running on the MicroBlaze. The LEDs LD7–LD0 on the Nexys 3 development board indicate the voltage levels of the digital input channels IN8–IN0, respectively.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 5. Code Documentation Code documentation can be found at: C:\...\RD12V01_00\RD12_NEXYS3_V01_00\Code_Documentation\ To view the code documentation in HTML format with a browser, open the MainPage.html file. To view the code documentation in .PDF format with a PDF reader, open the MAXREFDES12_Code_Documentation.pdf file.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 6. Appendix A: Project Structure and Key Filenames 7. Trademarks Eclipse is a trademark of Eclipse Foundation, Inc. ISE is a registered trademark of Xilinx, Inc. MicroBlaze is a trademark of Xilinx, Inc. Nexys is a trademark of Digilent Inc. Pmod is a trademark of Digilent Inc. Spartan is a registered trademark of Xilinx, Inc. Windows is a registered trademark and registered service mark and Windows XP is a registered trademark of Microsoft Corporation.
Corona (MAXREFDES12#) Nexys 3 Quick Start Guide 8.