Xilinx 8.2i Life Jacket User Manual


 
68 www.xilinx.com Development System Reference Guide
Chapter 3: Tcl
R
Note: Some batch application options only work when other options are specified. For example, in
XST, the Synthesize Constraints File option only works if the Use Synthesis Constraints File option is
also specified.
Note: Batch application options are entered as strings distinguished by double quotes (“). The exact
text representation of the option (or property) in the Project Navigator GUI is required. For a complete
list of project properties and options, see the “Project Properties and Options” section of this chapter.
set device (set device)
The project set device command specifies the target device for the current ISE project.
Note:
A list of available devices can be viewed in the Project Properties dialog box in Project
Navigator, or by utilizing the unique prefixes supported by Xilinx Tcl commands. For example, type
project set device V to get an error message that enumerates all Virtex devices. Optionally,
you can specify the partgen –arch command. From the Tcl prompt (%), type partgen –h for help
using this command.
% project set device <device_name>
project is the name of the Xilinx Tcl command.
set device is the name of the project subcommand.
device_name specifies the target device for the current ISE project.
Note:
You must first use the set family command to set the device family before using this command
to set the device.
set family (set device family)
The project set family command specifies the device family for the current ISE project.
Note:
A list of available devices can be viewed in the Project Properties dialog box in Project
Navigator, or by utilizing the unique prefixes supported by Xilinx Tcl commands. For example, type
project set device V to get an error message that enumerates all Virtex devices. Optionally,
you can specify the partgen –arch command. From the Tcl prompt (%), type partgen –h for help
using this command.
% project set family <device_family_name>
project is the name of the Xilinx Tcl command.
set family is the name of the project subcommand.
Example: % project set “Map Effort Level” high
Description: In this example, the project set command is used to set the map effort
level to high. Map Effort Level is the name of the MAP option. High
is the value set for the option.
Tcl Return: The previous value of the newly set option. In this example, the Tcl
return would be medium, if the option value was previously set to
medium.
Example: % project set device xc2vp2
Description: In this example, the device for the current project is set to xc2vp2.
Tcl Return: The previous value. In this example, the previous device setting is
returned.