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 | |
| 35 | At 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 | |
| 47 | If 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 | |
| 49 | At 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 |