get_nets
The following table displays information for the get_nets Tcl command:
Tcl Package and Version | Belongs to ::quartus::sdc 1.5 | ||||||||||||
Syntax | get_nets [-h | -help] [-long_help] [-no_duplicates] [-nocase] [-nowarn] [ <filter>] | ||||||||||||
Arguments |
| ||||||||||||
Description | Returns a collection of nets in the design. All net names in the collection match the specified pattern. Wildcards can be used to select multiple nets at once. The default matching scheme returns nets whose names match the specified filter and nets that are automatically generated by the Quartus II software from these nets. Use the -no_duplicates option to exclude duplicated nets. The filter for the collection is a Tcl list of wildcards, and must follow standard Tcl or TimeQuest-extension substitution rules. See help for the use_timequest_style_escaping command for details. | ||||||||||||
Example Usage | # Find a net called "reg" using case insensitive search get_nets -nocase reg # Create a collection of all nets whose names start with "reg" get_nets reg* # Create a collection of all nets in the design set mycollection [get_nets *] # Output net names. foreach_in_collection net $mycollection { puts [get_net_info -name $net] } | ||||||||||||
Return Value |
|