Changes between Version 1 and Version 2 of howto/XPS_to_PlanAhead


Ignore:
Timestamp:
Mar 4, 2014, 8:37:11 PM (10 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • howto/XPS_to_PlanAhead

    v1 v2  
    55== Overview ==
    66The steps below use a few placeholder names:
    7  * '''<xps_proj_root>''': root of your existing XPS project. This is the folder containing your {{{system.xmp}}} and {{{system.mhs}}} files.
    8  * '''<pa_proj_diir>''': root of your new PlanAhead project. This folder should be empty before creating the PlanAhead project.
     7 * {{{<src_xps_proj>}}}: root of your existing XPS project. This is the folder containing your {{{system.xmp}}} and {{{system.mhs}}} files.
     8 * {{{<pa_proj_dir>}}}: root of your new PlanAhead project. This folder should be empty before creating the PlanAhead project.
    99 * '''PA_PROJ''': name of your new PlanAhead project
    1010
     
    1313 1. Select '''Create New Project''', click Next
    1414 1. Enter your choice of project name. We'll refer to this as '''PA_PROJ''' below
    15  1. Enter a project location. We'll refer to this as '''<pa_proj_diir>''' below
     15 1. Enter a project location. We'll refer to this as {{{<pa_proj_dir>}}} below
    1616 1. Click Next
    1717 1. Select '''RTL Project''' and check '''Do not specify sources at this time'''
     
    2828 1. Enter a top-level module name. We'll use '''xps_top''' here.
    2929 1. Click Ok, then Finish
    30  1. XPS will launch on top of the PlanAhead workspace. You should see a dialog box asking: "This project appears to be a blank project. Do you want to create a Base System using the BSB Wizard?". Click '''No'''
    31  1.
     30 1. XPS will launch on top of the PlanAhead workspace. You should see a dialog box asking: "This project appears to be a blank project. Do you want to create a Base System using the BSB Wizard?". Click '''No'''.
     31 1. You should now see a blank XPS project:
     32[[Image(xps_blank_proj.png)]]
     33 1. Minimize the XPS window but do '''not''' close XPS
     34
     35At this point you have two XPS projects. The XPS project inside the PlanAhead project is blank and must be updated with the hardware design from your original XPS project.
     36
     37 1. Navigate to {{{<pa_proj_dir>/PA_PROJ.srcs/sources_1/edk/xps_top}}}. This is the root of your new XPS project.
     38 1. From your source XPS project folder, copy the following into the new XPS project folder:
     39  * The contents of the {{{pcores}}}, {{{drivers}}} and {{{sw_services}}} folders (if they exist)
     40  * Any {{{data/*.prj}}} files, such as {{{data/DDR3_SODIMM_mig_saved.prj}}} in Mango reference designs
     41  * Do '''not''' copy any UCF files from your old project. These will be handled below
     42 1. Copy and paste the contents of the old MHS file into the new MHS file
     43  * Copy from {{{<src_xps_proj>/system.mhs}}}
     44  * Paste into {{{<pa_proj_dir>/PA_PROJ.srcs/sources_1/edk/xps_top/xps_top.mhs}}}
     45 1. Save the modified {{{xps_top.mhs}}}, then close XPS.
     46
     47If XPS throws an error,  you probably forgot to copy cores/code from the old XPS project. Also double check that your edk_user_repository is up to date and that the edk_user_repository is in the Global Peripheral Repository Search Path in the XPS preferences (see [wiki:edk_user_repository for more]).
     48
     49At this point your PlanAhead project has one source, the XPS project. You must now add a constraints file to the PlanAhead Project.
     50
     51 1. In the PlanAhead workspace Sources tab, right-click and select ''''Add Sources'''
     52 1. Select '''Add or Create Constraints''' then click Next