Download Xilinx Command Line Tools User Guide
Transcript
Appendix C: Tcl Reference project save_as (save current project as a new ISE project) This command saves the current project as a new ISE® project with the project name you specify. When the command is executed, the current project is closed and the newly saved project is opened and set as the current project. Syntax % project save_as project_name [.ise] project is the Tcl command name. save_as is the subcommand name. project_name is the name specified for the new project. Typically, this file has a .ise extension. If no extension is specified, .ise is the default. Caution! If project_name .ise already exists, it will be overwritten. Example % project save_as myNewProject.ise This example saves the current project to a new project named myNewProject.ise, which is also set as the current project. Tcl Return True if the project is saved successfully; false otherwise. For More Information % help project project set (set project properties, values, and options) This command is used to set properties and values for the current ISE® project. Specific properties you can set with this command are device, generated_simulation_language, family, package, speed, synthesis_tool, and top_level_module_type. In addition to setting family and device-specific properties and values, this command is also used to set options for the batch application tools, including XST, NGDBuild, MAP, PAR, TRACE, and BitGen. The set subcommand uses two required arguments. The first argument assigns the name of the property or variable; and the second argument assigns the value. The optional -process and -instance arguments limit the property setting to the specified process and/or instance. Syntax % project set property_name property_value [-process process_name ] [-instance instance_name ] project is the Tcl command name. set is the subcommand name. property_name specifies the name of the property, variable or batch application option. property_value specifies the value of the property, variable, or batch application option. -process process_name limits the property search to only those for the specified process. By default, the properties for all synthesis and implementation processes are listed. You can also specify -process all to list the properties for all project processes. -instance instance_name limits the property search to only those of the specified instance. If no instance name is specified, the properties for the top-level instance are listed. You can also specify -instance top to specify the top-level instance. You must specify the full hierarchical name of the instance. 354 www.xilinx.com Command Line Tools User Guide UG628 (v 11.4) December 2, 2009