Changes

Jump to: navigation, search

How to change the name of a WILDSTAR4 project

3,014 bytes added, 18:51, 21 May 2010
Created page with 'This guide explains how to change the name of your WILDSTAR4 project. It will assume that your original project is called 'lvds_example' and targets IOPE0. It will assume that …'
This guide explains how to change the name of your WILDSTAR4 project. It will assume that your original project is called 'lvds_example' and targets IOPE0. It will assume that your new, desired, project name is 'XYZ_radar' and also targets IOPE0.<br />
<br />
You may want to reference the article on [[How to move a WILDSTAR4 project]] if you don't want your brand new project to be located in the annapolis/wildstar4/examples directory<br />
<br />
-----
<br />
1.) create a directory called 'XYZ_radar'<br />
<br />
2.) copy all of the files (the host, simulation, and synthesis folders) from 'lvds_example' to, the newly created 'XYZ_radar' directory.<br />
<br />
3.) Navigate to XYZ_radar/host/source<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a.) Rename 'lvds_example.c' to 'XYZ_radar.c'<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;b.) Open 'makefile' and modify section 2. to read
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FILENAME = XYZ_radar
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OBJECTS = XYZ_radar.o ws4_shared.o
<br />
4.) Navigate to XYZ_radar/simulation<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a.) Rename 'iope_lvds_example.vhd' to 'iope0_XYZ_radar.vhd'<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;b.) Open the newly renamed 'iope0_XYZ_radar.vhd' and rename the architecture. The new architecture start and end lines should look something like this
architecture XYZ_radar of iope is
.
.
.
end architecture XYZ_radar;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c.) Go ahead and change the comments at the top of the VHDL file as well.<br />
<br />
5.) Navigate to XYZ_radar/synthesis and rename the 'iope' folder to 'iope0'<br />
<br />
6.) Navigate to XYZ_radar/synthesis/iope0/xst<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a.) Rename 'iope_lvds_example.prj' to 'XYZ_radar.prj'<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;b.) Rename 'iope_lvds_example.scr' to 'XYZ_radar.scr'<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;c.) Rename 'iope_lvds_example.ucf' to 'XYZ_radar.ucf'<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;d.) Open the newly renamed 'XYZ_radar.prj' file and change the 1st line to point to iope0_XYZ_radar.vhd<br />
vhdl WILDSTAR4_LIBRARY ../../../simulation/iope0_XYZ_radar.vhd
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: If you have moved your project you will need to modify the reference to iope.vhd as well. See [[How to move a WILDSTAR4 project]] for details.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;e.) Open the newly renamed 'XYZ_radar.scr' and change the references from iope_lvds_example to iope0_XYZ_radar. Lines 9-17 should look like the following
run
-ifn iope0_XYZ_radar.prj
-ofn iope0_XYZ_radar.ngc
-ifmt vhdl
-ofmt ngc
-top iope
-work_lib WILDSTAR4_LIBRARY
-p xc4vfx100ff1517-10
-xsthdpdir .
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;f.) 'XYZ_radar.ucf' does not require any internal modification for renaming. However you will want to modify it if you extend the functionality of some WILDSTAR4 code.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;g.) Open 'makefile' and change line 11 to read
FILENAME = iope0_XYZ_radar
<br />

Navigation menu