Specifications
Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 49
UG111 (v1.4) January 30, 2004 1-800-255-7778
Debug and Simulation
R
Debug and Simulation
Users can debug the hardware and the software part of the design either by simulation or 
by running it on the hardware itself. XPS provides support for invoking the corresponding 
tools to perform the job. 
x Xilinx Microprocessor Debug (XMD): Invoke the XMD tool to debug the application 
software. The XMD-button on the XPS toolbar opens up a XMD shell in the project 
directory. 
x Software Debugger: The debug button invokes the software debugger 
corresponding to the compiler being used for the processor. If there are more than one 
processor in the design, XPS prompts to choose the processor whose program sources 
the user wants to debug. 
x Hardware Simulation Model Generator (SimGen): Invoke the SimGen tool to 
generate various simulation models for the components instantiated in MHS File. 
Depending on the simulation model to be used (Behavioral, Structural or Timing), 
XPS calls SimGen with appropriate options to generate the simulation models and 
initialize memory. Then XPS compiles those models for ModelTech’s ModelSim 
simulator and starts the simulator with the compiled files.
PBD Editor
The Processor Block Diagram Editor (PBD Editor) allows you to read, create, modify and 
save a description of an FPGA Platform that references Hardware (HW) components. The 
HW components comprise, in part, microprocessors, buses and bus arbiters, and 
peripheral devices.
The PBD Editor block diagram supplies the hardware platform information written into 
the MHS file.
PBD Editor Interface
The PBD Editor interface is shown in Figure 2-4. These areas comprise the interface:
x The workspace
x The system tabs










