1,575
edits
Changes
no edit summary
i.) Right click your software application and select "Build Project"<br \>
ii.) This generates your executable.elf file.<br \>
<br />
2.) Instantiate the Microblaze in the appropriate PE's VHDL<br \>
<br />
3.) Modify "makefile" in the synthesis/<pe>/xst folder<br \>
a.) Modify line 37 to point to a local copy of the "wildstar4_xst.mk" instead of the original (yes, modify below the do not modify below this line line)<br \>
b.) Add a variable pointing to the BMM file, something like "MICROBLAZE_BMM = ../../../../edk/implementation/system.bmm" right below line 11<br \>
<br />
4.) Modify line 38 of the new "wildstar4_xst.mk"<br \>
a.) Append "-sd ../../../../edk/implementation" (or whatever path points to your microblaze NGC files) to the ngdbuild call<br \>
b.) Append "-bm ${MICROBLAZE_BMM}" to the ngdbuild call<br \>
<br />
5.) Build the WS4 project<br \>
a.) Navigate to the appropriate PE build folder (in cygwin)<br \>
c.) Run "make xst"<br \>
e.) Run "make"<br \>
<br />
6.) Update the .bit file with the processor data<br \>
a.) Navigate to the PE build folder<br \>
c.) Run "promgen -p hex -w -o ace2_cpe0.dum -u 0 ace2_cpe0_download.bit"<br \>
d.) Run "/cygdrive/c/annapolis/wildstar4/bin/peutils.exe ace2_cpe0.hex ace2_cpe0.x86 -s"<br \>
<br />
7.) Move the .x86 to the host/<fpga type> folder and run the software like normal<br \>