R

Tcl Commands for Advanced Scripting

collection_variable specifies the name of the collection variable, which references the collection. If the collection variable does not exist, then it is created.

objects_to_append specifies an object or a collection of objects to be added to the collection.

-uniqueoptionally adds only objects that are not already in the collection. If the -unique option is not used, then duplicate objects may be added to the collection.

Example:

% collection append_to colVar [search * -type instance]

 

 

Description:

In this example, the collection append_to command is used to create

 

a new collection variable named colVar. The nested search command

 

returns a collection of all the instances in the current design. These

 

instances are objects that are added to the collection, referenced by

 

the colVar collection variable.

Tcl Return:

A collection of objects.

copy (copy a collection)

The collection copy command creates a duplicate of an existing collection. Alternatively, you can have more than one collection variable referencing a collection, rather than copying it. See Example 1 below.

In most cases, a second reference to a collection is all that is needed. However, if a separate copy is required, use the collection copy command to create the new collection as shown in Example 2 below.

collection copy <collection_variable>

collection is the name of the Xilinx Tcl command.

copy is the name of the collection subcommand.

collection_variable specifies the name of the collection to copy.

Example 1:

% set colVar_1 [search * -type instance]

 

% set colVar_2 $colVar_1

 

 

Description:

In this example, the Tcl set command in the first line creates a

 

collection assigned to the collection variable colVar_1. The second

 

line creates a second collection variable, colVar_2, that references

 

the value of colVar_1, which is the first collection.

 

There is still only one underlying collection referenced. Any

 

changes made to colVar_1 will be visible in colVar_2, and if

 

colVar1_1 is changed, then colVar_2 continues to reference the same

 

underlying collection.

 

 

Tcl Return:

A new variable reference to the collection.

 

 

Development System Reference Guide

www.xilinx.com

83

Page 83
Image 83
Xilinx 8.2i manual Copy copy a collection, Tcl Commands for Advanced Scripting, Set colVar1 search * -type instance

8.2i specifications

Xilinx 8.2i is a significant version of the Xilinx ISE (Integrated Software Environment) that emerged in the early 2000s, marking an important milestone in the world of FPGA (Field-Programmable Gate Array) development. This version introduced a slew of advanced features, technologies, and characteristics that made it an indispensable tool for engineers and developers in designing, simulating, and implementing digital circuits.

One of the standout features of Xilinx 8.2i is its enhanced design entry capabilities. This version supports multiple design entry methods, including schematic entry, VHDL, and Verilog HDL, giving engineers the flexibility to choose their preferred approach. The integrated environment provides user-friendly graphical interfaces, making it accessible for both novice and experienced users.

Xilinx 8.2i's synthesis tools have been improved to enable more efficient design compilation and optimization. The new algorithms used in this version facilitate faster synthesis times while reducing power consumption and improving performance. Furthermore, it features support for advanced FPGA architectures, which allows for the implementation of more complex designs with greater efficiency.

The implementation tools in Xilinx 8.2i include advanced place and route capabilities, utilizing state-of-the-art algorithms for optimized resource usage. These tools enable designers to make better use of FPGA resources, ensuring that designs fit within the constraints of the target device while maximizing performance.

Another key characteristic of Xilinx 8.2i is its extensive support for various Xilinx devices such as the Spartan, Virtex, and CoolRunner series. This compatibility ensures that developers can leverage the powerful features of these FPGA families, including high-speed transceivers and DSP slices.

Xilinx 8.2i also places a strong emphasis on simulation and verification. The version integrates with various simulation tools, allowing for thorough testing of the designs before implementation. This reduces the risk of errors and ensures that the final product meets specifications.

In addition, this version includes support for design constraints, enabling engineers to specify timing, area, and other critical design parameters. By accommodating constraints, Xilinx 8.2i helps in achieving reliable and efficient designs tailored to project needs.

In summary, Xilinx 8.2i is a robust software development tool that enhances the design process for FPGAs. Its comprehensive features, including multiple design entry options, advanced synthesis and implementation tools, extensive device support, and strong simulation capabilities, make it a valuable resource for engineers and developers striving for innovation in digital design.