Specifications
Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 59
UG111 (v1.4) January 30, 2004 1-800-255-7778
XPS “No Window” Mode
R
Available Commands
XPS-Batch provides you a Tcl shell interface. You can use the commands in Table 2-3.
Creating A New Empty Project
For creating a new project with no components, use the command
load new <basename>.xmp.
XPS will create a project with an empty MHS file and will also create the corresponding 
MSS file. All the files have same basename as the xmp file. If XPS finds an existing project 
in the directory with same basename, then the XMP file is overwritten. However, if 
MHS,or MSS file with same name is found, then they are read in as part of the new project.
Table 2-3: XPS-Batch commands
Command Description
load 
[mhs|xmp|new|mss|] 
<filename>
Loads the MHS/XMP file and opens/creates XPS project. 
Updates project with MSS file. Input <filename> is optional 
when loading MSS. 
Users can create an empty project with suboption new
save
[mss|xmp|make|proj]
Saves the corresponding file. Option proj will save all files
xset option <value> This command sets the value of a field (corresponding to 
option) to the given value. Refer to Section “Setting Project 
Options”. 
xget option This command displays the current value of the field 
(corresponding to option). Refer to Section “Setting Project 
Options”. 
run option Executes makefile with appropriate target. Refer to Section 
“Executing Flow Commands”
xadd_swapp 
<name> <procinst>
Add a new Software Application with given name and 
associated with given processor instance
xdel_swapp <name> Delete the given Software Application from the project
xadd_swapp_progfile 
<name> <filename>
Add given program file to the given software application
xdel_swapp_progfile 
<name> <filename>
Delete given program file from the given software 
application
xset_swapp_prop_value 
<name> option <value>
Set value of a particular property of the given software 
application. Refer to Section “Setting Options on a Software 
Application” for a list of options
xget_swapp_prop_value 
<name> option
Get value of a particular property of the given software 
applicatoin. Refer to Section “Setting Options on a Software 
Application” for a list of options
exit Closes the project and exits out the XPS










