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

dbCreateUniqueNamedNet

dbCreateUniqueNamedNet( 
d_cellView 
t_prefix 
x_numBits 
) 
=> d_net / nil 

Description

Creates a new net with a unique name.

A unique name for the net is automatically generated. The name is composed of the given t_prefix followed by a unique number as specified by x_numBits.

Arguments

d_cellView

Cellview within which the net is created.

t_prefix

Prefix used in auto-naming the net. nil or an empty string defaults to dbNet.

Here, N_ cannot be used as prefix to create bus nets because it conflicts with the prefix of the auto-names.

x_numBits

Integer specifying the number of bits for the net. If x_numBits is 1, the name is t_ prefix followed by a unique number. If x_numBits is greater than 1, t_prefix is followed by <0:numBits-1>. If x_numBits is less than -1, t_prefix is followed by <abs(numBits)-1:0>.

Value Returned

d_net

The net that is created.

nil

The net is not created.

Examples

Create a single bit net named Nx where x is a unique number.

net = dbCreateUniqueNamedNet(cellview "N" 1)=> N1

Creates a new net named N<0:3>.

net = dbCreateUniqueNamedNet(cvId "N" 4)=> N<0:3>

Creates a bus named B<30:0>.

bus = dbCreateUniqueNamedNet(cellview "B" -31)=> B<30:0>

Related Topics

Connectivity Creation and Modification Functions


Return to top
 ⠀
X