Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbMakeNet

dbMakeNet( 
d_cellView 
t_name 
[ d_parentNet ] 
) 
=> d_net / nil 

Description

Creates a new net in a cellview. If the net already exists, it returns the dbObject of the net.

To create a child net, this function works identically to dbCreateNet. t_name can be a unique name, such as "net1" or, a hierarchy name, such as "moduleA`moduleB`Net2" with at least one hierarchy delimiter (`). However, if you specify a hierarchy name, the d_parentNet object must be nil.

Arguments

d_cellView

Cellview the net is created within.

t_name

Name of the net. For a child net it can be an empty string or nil.

d_parentNet

To create a new top-level net, d_parentNet must be either nil or unspecified. To create a child net, the d_parentNet object must not be nil.

Value Returned

d_net

The new net or the existing top-level net t_name.

nil

The net is not created.

Examples

Make a top-level net.

parentNet = dbMakeNet(cellview "net1")
hierNet = dbMakeNet(cellview "moduleA`moduleB`hierNet")

Make a child net.

childNet = dbMakeNet(cellview "childNet" parentNet)

Related Topics

Connectivity Creation and Modification Functions


Return to top
 ⠀
X