MATLAB DESIGN HDL CODER RELEASE NOTES User's Guide Page 181

  • Download
  • Add to my manuals
  • Print
  • Page
    / 410
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 180
System Generator for DSP User Guide www.xilinx.com 181
UG640 (v 12.2) July 23, 2010
Designing with Embedded Processors and Microcontrollers
Configure Memory Map Interface
Re-open the dialog box of the EDK Processor block. Add all the shared memories in the
model to the processor's memory map by selecting <all> in the Available memories pull-
down menu and then press the Add button. The EDK Processor block dialog box should
look like the following screenshot. Dismiss the dialog box by clicking the OK button at the
bottom.
Write Software Programs
You will write software programs running on MicroBlaze processor to read from and write
to the shared memories. Re-open the XPS project in Xilinx Platform Studio. Create a new
software application called MyProject. Make sure that the MyProject software application is
marked for download into BRAM while the other software applications are unmarked.
Refer to the topic Using XPS on how to add a new software application to an EDK project.
Create a new source code file MyProject.c for MyProject and open it in the XPS code
editor.
The above figure shows a portion of the System Assembly View of the XPS project in Xilinx
Platform Studio. A sg_plbiface peripheral is automatically added to an XPS project after it is
successfully imported into System Generator. The sg_plbiface peripheral connects the PLB
bus attached to the imported MicroBlaze processor to the System Generator model
through a memory-mapped interface, and to capture information on how to generate the
Page view 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 409 410

Comments to this Manuals

No comments