Changes between Version 3 and Version 4 of XilinxSDK
- Timestamp:
- Jul 12, 2012, 4:06:44 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
XilinxSDK
v3 v4 44 44 A 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. 45 45 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.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 using the blank workspace folder in the root directory of the XPS project. 47 47 48 48 In 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. … … 50 50 '''Creating the workspace''' 51 51 * 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}}} 54 54 * Choose Xilinx Tools->Repositories 55 55 * Verify the WARP edk_user_repository is listed in the Global Repositories section … … 57 57 * Click OK 58 58 * 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 unchecked59 * 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 62 62 * Click Finish 63 63 * 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 70 65 * 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)72 66 * Change Heap/Stack sizes to 4096 (4K) 73 67 * Click Generate; click Yes to overwrite existing linker script 74 * Repeat the linker script generation for NoMAC75 68 76 69 … … 85 78 86 79 Download the software program: 87 * Click on the NoMACproject in Project Explorer80 * Click on the user software project in Project Explorer 88 81 * Choose Run->Run 89 82 * Software should now be running (FPGA Board hex displays on, Radio Board Rx LEDs on, PLL unlocked LEDs off)