Changes between Version 35 and Version 36 of Exercises/13_4/IntroToXPS


Ignore:
Timestamp:
Aug 20, 2012, 4:41:07 PM (12 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Exercises/13_4/IntroToXPS

    v35 v36  
    11= Introduction to the Xilinx Platform Studio (XPS) =
    2 ''(compatible with WARP v2 and WARP v3)''
     2''(compatible with WARP v3)''
    33
    44In this exercise, users will be introduced to the Xilinx Platform Studio (XPS). This tool is used by designers to build complete systems out of separate peripheral cores known as "pcores." In this exercise, user's will extend a provided template project by adding a custom pcore that implements a pseudorandom number generator (PRNG) directly in the FPGA. This core is then connected to the template project's User I/O core so it can drive random values out to LEDs and hexadecimal displays.
    55
    66== Prerequisites ==
    7  * You have a WARP v2 or WARP v3 board
     7 * You have a WARP v3 board
    88 * ESD protection for the WARP board (wrist strap, etc)
    9  * WARP v2: USB cable for programming and USB cable for UART
    10  * WARP v3: External USB JTAG cable and a micro USB cable for UART
     9 * External USB JTAG cable and a micro USB cable for UART
    1110 * Complete installation of ISE System Edition 13.4
    1211 * Checked out a local copy of the [wiki:edk_user_repository WARP Repository]
     
    3837== Instructions ==
    3938
    40 1. Download either the [wiki:HardwareUsersGuides/WARPv3/TemplateProjects WARP v3 Template Project] or the [wiki:HardwareUsersGuides/WARPv2/TemplateProjects WARP v2 Template Project] according to the which hardware you are using. Note: We recommend using the "lite" template for this exercise as it will build the quickest.
     391. Download either the [wiki:HardwareUsersGuides/WARPv3/TemplateProjects WARP v3 Template Project]. Note: We recommend using the "lite" template for this exercise as it will build the quickest.
    41401. Extract the archive into a folder on your hard drive. Note: this folder '''must not''' contain any spaces in the path (this includes the the Windows desktop, as that lives in a folder known as "Documents and Settings").
    42411. Navigate to this folder in Windows Explorer. Go into the SDK_workspace folder. These are the default SDK projects used in the [wiki:IntroToSDK Introduction to SDK] exercise. We do not need them for this exercise. Delete the three folders in SDK_workspace (but do not delete SDK_workspace itself).
     
    105104[[Image(newbutton.jpeg)]]
    106105
    107 15. Click on "Xilinx Board Support Package" and click "Next."
     10617. Click on "Xilinx Board Support Package" and click "Next."
    1081071. Click "Finish."
    1091081. A new window will pop-up that allows you configure the BSP with various optional software packages. For the purposes of this exercise, the default settings are fine. Just click OK. You will see the console at the bottom of the screen start printing messages as the SDK compiles the BSP. It will end up with "Finished building libraries" printed to the console.
     
    1121111. Click "Empty Application" under the "Select Project Template" dialog. This will rename the project to "empty_application_0." Change that name to "example_project." Click "Next."
    1131121. We have already created a BSP, so we do not want this dialog box to make another one for us. Click the radio button next to "Target an existing Board Support Package." Click "Finish"
    114 1. In the Project Explorer on the left side of the SDK, you will see the example_project_0 project. Click the + next to it and it will reveal a "src" folder.
     1131. Download [attachment:prng_example.c] to somewhere on your harddrive.
     1141. In the Project Explorer on the left side of the SDK, you will see the example_project_0 project. Click the + next to it and it will reveal a "src" folder. Drag the prng_example.c file from Windows explorer ''into'' this src folder. The project will immediately build. You can look through this
    115115
    116116== Testing the Design ==