User guide
382 www.xilinx.com System Generator for DSP User Guide
UG640 (v 12.2) July 23, 2010
Chapter 5: System Generator Compilation Types
Re-Compiling EDK Processor Block Software Programs in Bitstreams
When you perform bitstream compilation on a System Generator design with an EDK
Processor block, the imported EDK project and the shared memories sitting between the
System Generator design and MicroBlaze⢠processor are netlisted and included in the
resulting bitstream.
System Generator also tries to compile any active software programs inside the imported
EDK project. If the compilation of active software programs succeeds, System Generator
invokes the data2bram utility to include the compiled software programs into the resulting
bitstream.
Note:
No error or warning message is issued when System Generator encounters failures during
software program compilation or when System Generator updates the resulting bitstream with the
compiled software programs.
You can modify the software programs in the imported EDK project and use the following
command to compile the software programs, and update the System Generator bitstream
with the compiled software programs:
xlProcBlockCallbacks('updatebitstream', [], xmp_file, bit_file,
bmm_file);
where
xmp_file is the pathname to the imported EDK project file
bit_file is the pathname to the Sysgen bitstream file
bmm_file is the pathname of the back-annotated BMM file produced by
Sysgen during bitstream compilation
If the imported EDK project contains a BMM file named imported_edk_project.bmm,
System Generator creates a back-annotated BMM file named
imported_edk_project_bd.bmm. You should provide the later back-annotated BMM
file to the above command in order to update the bitstream properly.