Changes between Version 3 and Version 4 of XilinxSDK


Ignore:
Timestamp:
Jul 12, 2012, 4:06:44 PM (12 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XilinxSDK

    v3 v4  
    4444A workspace always maps to a folder on your hard drive. That folder will contain workspace settings (in a {{{.metadata}}} directory) and subdirectories for each project in the workspace.
    4545
    46 Unfortunately workspaces are not portable. The ref design .zip file contains all the necessary project files to populate a workspace, but you must initialize your workspace first and import these project files manually. We recommend creating your workspace in the {{{SDK/SDK_Workspace}}} subdirectory of the XPS project. This directory already contains the project files for the ref design.
     46Unfortunately workspaces are not portable. The ref design .zip file contains all the necessary project files to populate a workspace, but you must initialize your workspace first and import these project files manually. We recommend using the blank workspace folder in the root directory of the XPS project.
    4747
    4848In the instructions below we use {{{<xps_proj>}}} to represent the path where you expanded the ref design .zip. If the XPS project file is in {{{C:\work\WARP\OFDM_RefDesign_FPGAv2_v17.0\system.xmp}}}, then you should use {{{C:\work\WARP\OFDM_RefDesign_FPGAv2_v17.0\}}} in place of {{{<xps_proj>}}} below.
     
    5050'''Creating the workspace'''
    5151 * Launch the Xilinx SDK
    52    * If prompted to select a workspace, choose {{{<xps_proj>/SDK/SDK_Workspace}}}
    53    * If not, choose File->Switch Workspace, then choose {{{<xps_proj>/SDK/SDK_Workspace}}}
     52   * If prompted to select a workspace, choose {{{<xps_proj>/workspace}}}
     53   * If not, choose File->Switch Workspace, then choose {{{<xps_proj>/workspace}}}
    5454 * Choose Xilinx Tools->Repositories
    5555   * Verify the WARP edk_user_repository is listed in the Global Repositories section
     
    5757   * Click OK
    5858 * Choose File->Import, expand General, choose Existing Projects into Workspace, click Next
    59    * For 'Select root directory:', click Browse and navigate to {{{<xps_proj>/SDK/SDK_Workspace}}} (this path is probably already selected by default)
    60    * Make sure four projects are checked (CSMAMAC, NoMAC, OFDM_RefDesign_FPGAv2_bsp, OFDM_REfDesign_FPGAv2_v17.0_hw_platform)
    61    * Make sure "Copy projects into workspace" is unchecked
     59   * For 'Select root directory:', click Browse and navigate to {{{<xps_proj>/SDK/SDK_PROJECTS_IMPORT}}}
     60   * Make sure all projects are selected
     61   * Make sure "Copy projects into workspace" is checked... this will move them out of the temporary import folder into your workspace
    6262   * Click Finish
    6363 * SDK will begin building the software projects. If everything works, this process will finish with a log message {{{'elfcheck passed'}}}.
    64  * Choose File->Import again, expand Run/Debug, chose Launch Configurations, click Next
    65    * Click Browse and navigate to {{{<xps_proj>/SDK/SDK_Workspace/launch-configs}}}
    66    * Check launch-configs
    67    * Check CSMAMAC.launch and NoMAC.launch
    68    * Click Finish
    69  * In the Project Explorer tab right-click the CSMAC project and choose Generate Linker Script
     64 * In the Project Explorer tab right-click the user software project and choose Generate Linker Script
    7065   * Assign Code Sections to iocm, Data sections to docm, Heap/Stack to xps_bram_if_cntlr_1
    71    * In both the Basic and Advanced tabs confirm nothing is assigned to xps_bram_if_cntlr_2 (this memory maps to the PHY packet buffers)
    7266   * Change Heap/Stack sizes to 4096 (4K)
    7367   * Click Generate; click Yes to overwrite existing linker script
    74  * Repeat the linker script generation for NoMAC
    7568
    7669
     
    8578
    8679Download the software program:
    87  * Click on the NoMAC project in Project Explorer
     80 * Click on the user software project in Project Explorer
    8881 * Choose Run->Run
    8982 * Software should now be running (FPGA Board hex displays on, Radio Board Rx LEDs on, PLL unlocked LEDs off)