Specifications
Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 119
UG111 (v1.4) January 30, 2004 1-800-255-7778
Tool Options
R
x If no HW_SPEC_FILE parameter is found in the MSS file, use the base name mssfile 
(name without .mss extension) with the .mhs extension as the mhsfilename.
-mode 
Specifies the following modes for all processor instances in the MSS file.
-mode executable: This mode should be employed if the user wants to generate a 
stand-alone executable program for all processor instances. The EXECUTABLE attribute in 
the MSS file is used in this mode. Note that in this mode, on-board debug support is not 
available. The MSS file should have the line:
parameter EXECUTABLE = proc_inst_name/code/exec_file.elf
where the directory is relative to the USER_PROJECT directory.
-mode xmdstub: (MicroBlaze only.) This mode is employed when the user wants to use a 
debug stub for on-board debug. The xmdstub is created automatically for each processor 
instance in the MSS file by LibGen as the file proc_inst_name/code/xmdstub.elf, 
relative to the OUTPUT_DIR directory
Note: This option is DEPRECATED as XPS now supports multiple executables for a single 
processor (Chapter 2, “Xilinx Platform Studio (XPS)”). The option of executable/xmdstub is set on the 
application. Generation of xmdstub is inferred from the xmdstub_peripheral setting on a processor in 
the MSS file.
-xmdstub proc_inst_name 
Note: Option valid for MicroBlaze only.
Specifies that the processor has its memory initialized with xmdstubs (debug stubs). While 
the -mode option is a global option, applicable for all processors in the system, this option 
can be used to specify initialization modes for specific processor instances. When both 
-mode and -xmdstub options are used, the -xmdstub option takes precedence for that 
processor instance alone. Use multiple -xmdstub switches to set xmdstub mode for one or 
more processor instances.
Note: This option is DEPRECATED as now XPS ( Chapter 2, “Xilinx Platform Studio (XPS)”) 
supports multiple executables for a single processor. The option of xmdstub is set on the application. 
Generation of xmdstub is inferred from the xmdstub_peripheral setting on a processor in the MSS 
file.
-executable proc_inst_name
Similar in functionality for user executables as the -xmdstub option.
Note: This option is DEPRECATED as XPS now supports multiple executables for a single 
processor ( Chapter 2, “Xilinx Platform Studio (XPS)”). The option of xmdstub is set on the 
application. 
-lib
This option can be used to copy libraries and drivers but not to compile them.
-stub
Creates the stub files (for MicroBlaze) and BRAM initialization script bram_init.sh. Using 
this option prevents the generation of libraries and drivers.










