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

dbGetNetVoltageRange

dbGetNetVoltageRange(
d_netId 
)
=> l_voltages / nil 

Description

Returns the minimum and maximum voltages on a net.

Arguments

d_netId

Database ID of a net.

Value Returned

l_voltages

The list of floating numbers representing the minimum and maximum voltages.

nil

The specified net ID is incorrect.

Examples

The following example returns the minimum and maximum voltage values for the net IN.

cv=dbOpenCellViewByType(
      "vdr_demo"
      "inverter_chain"
      "layout_cv"
      ""
      "r"
      )
;Opens the specified layout cellview in read-only mode.
cv~>nets~>name
;Prints names of nets available in the specified cellview.
in=dbFindNetByName(
     cv
     "IN"
     )
;Retrieves the database ID of the net IN.
printf("dbGetNetVoltageRange for the net IN is %L \n" dbGetNetVoltageRange(in)) ;Returns the minimum and maximum voltages for the net IN.
=> db:0x2c6fe31a
=>
("VSS" "VDD1" "net15" "IN" "VDD2"
    "net14" "VDD3" "OUT"
)
=> db:0x2c6fc59d
=> dbGetNetVoltageRange for the net IN is (1.021592e-06 1.499999) => t

Related Topics

Connectivity Creation and Modification Functions


Return to top
 ⠀
X