Product Documentation
Virtuoso Space-based Router Command Reference
Product Version IC23.1, September 2023

read_nets

read_nets
-file s_fileName 
[ -force_load [ true | false ] ] 

Description

Returns a set that contains the nets named in the file. If a net named in the file cannot be found in the active design, a warning message is output.

Entry 'name' on line x was skipped. Failed to find net in design.

The command will automatically stop after 100 warnings are issued, unless you specify -force_load.

Arguments

-file s_fileName

Specifies the file from which to read the net names. If a net name is not found in the active design, a warning is issued and the name is skipped.

-force_load [ true | false ]

  

When true, all net names in the file will be processed.

Default: (false) After 100 nets cannot be found, the command stops processing names.

Value Returned

d_setObj

Is the set containing the nets in the design that matched net names in the file.

-1

The command failed due to syntax errors.

Examples

These commands create a variable named mySet that contains the nets listed in fileA, then highlights those nets in the artwork.

set mySet [ read_nets -file fileA ]
add_highlight -name myNets -set $mySet -color cyan

Related Topics

find_net


Return to top
 ⠀
X