Product Documentation
Digital Design Netlisting and Simulation SKILL Reference
Product Version IC23.1, June 2023

hnlNameOfSignal

hnlNameOfSignal(
d_net
x_netIndex
)
=> name / nil

Description

Returns a string for the name of the signal that defines the given net-index pair. This name is considered to be the preferred name and is consistent even when called with two different nets whose ~> name field differs, but which are electrically equivalent at this level of the design hierarchy. If the netIndex is not in the range of bits for the given net, nil is returned.

If this bit of net is an inherited net or is connected to an inherited terminal then the netlister-generated name is returned.

Arguments

d_net

The netId of the net.

x_netIndex

Index of a bit of the net.

Value Returned

name

The preferred name of the signal that defines the given net-index) pair.

nil

The netIndex is not in the range of bits for the given net.

Examples

hnlNameOfSignal( net 0 )

The call to this function for signal vdd! in the schematic view of the cell inv (hnlNameOfSignal( db_id_signal_vdd!, 0)) returns inh_vdd, which is the local name. It does not return the inherited signal name since that depends on the hierarchy lineage.

Related Topics

OSS Functions


Return to top
 ⠀
X