Specifications

Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 63
UG111 (v1.4) January 30, 2004 1-800-255-7778
XPS “No Window” Mode
R
Adding a Program File to a Software Application
Users can add any program file (C source or header files) to an existing software
application using the xadd_swapp_progfile command. The name of the swapp to which
the file needs to be added and the location of the program file needs to be specified. Based
on the extension of the file, XPS automatically adds it as a source or header.
xadd_swapp_progfile <swapp_name> <filename>
Deleting a Program File from a Software Application
Users can delete any program file (C source or header file) associated with an existing
software application using the xdel_swapp_progfile command. The name of the swapp
and the program file location needs to be specified.
xdel_swapp_progfile <swapp_name> <filename>
Setting Options on a Software Application
Users can set various software application options and other fields in XPS using the
xset_swapp_prop_value command. Users can also display the current value of those fields
by using xget_swapp_prop_value command. The various options taken by the two
commands are shown in Table 2-6.
xset_swapp_prop_value <swapp_name> <option_name> [value]
xget_swapp_prop_value <swapp_name> <option_name>
Table 2-6: Options for commands xset_swapp_prop_value and
xget_swapp_prop_value
Option Name Description
sources Can be used only for displaying a list of sources. For adding
sources, use xadd_swapp_progfile command.
headers Can be used only for displaying a list of headers. For adding
header files, use xadd_swapp_progfile command.
executable Path to the executable (ELF) file.
download Option to specify whether the ELF for this SwProj should be used
for initializing BRAMs or not. Values are true or false.
procinst The processor instance associated with this sw application.
compile_sources Option to specify whether this software application ELF should
be compiled within XPS, or whether it is compiled outside XPS (in
this case, XPS expects precompiled ELF to be present. Value can
be true or false.
compileroptlevel Specify compiler optimization level. Values can be from 0 to 3.
globptropt Specify whether to perform Global Pointer Optimization. Value
can be true or false.
debugsym Debug Symbol Setting. Value can be from 0 to 2 corresponding
none, -g and -gstabs options.