Changes

Jump to: navigation, search

How to change the name of a WILDSTAR4 project

184 bytes removed, 00:34, 30 May 2010
no edit summary
&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
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; architecture XYZ_radar of iope is &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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 />
&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
&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 />
<br />
[[Category:WILDSTAR4]]

Navigation menu