Download Precision Synthesis Reference Manual

Transcript
Commands
report_attributes
report_attributes
Generate a report that lists attributes on the specified objects.
Example
Syntax
report_attributes [<list_of_objects>]
[-port]|[-net]|[-instance]
Type Arguments
list
<list_of_objects>
Arguments
•
<list_of_objects>
Names of attributes applied to any objects (library, cell, view, port, net, instance) you want
listed. Object names are case-sensitive, and you can use wildcards. If you omit this
argument, the report_attributes command lists the attributes of the current design.
Options
•
-port | -net | -instance
Indicator that the object name(s) refer to ports, nets, or instances, respectively. If you omit
this argument, the report_attributes command assumes that the objects in object_list
are instances, unless object_list explicitly refers to libraries, cells or views.
Description
The report_attributes command returns a Tcl list of case-insensitive {name value} pairs
for the attributes of indicated objects.
This command is intended to be used in Tcl scripts. You can, however, assign the result to a Tcl
variable. You can then use the variable in any other Tcl command, for example, a foreach loop.
More Examples
report_attributes
This example lists the attributes of the current design and their values.
report_attributes .work
This example lists the attributes and their values of the library called work.
Precision Synthesis Installation Guide, 2003c Update1
March 2004
3-131