Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

spdGetSymDeviceInfo

spdGetSymDeviceInfo(
d_inst
)
=> r_infoObj / nil

Description

Returns an object containing information, such as length, width, fingers, and binding related to the specified symbolic device. This information can be used to write user callback functions.

Arguments

d_inst

Database ID of the instance of a symbolic device.

Value Returned

r_infoObj

Information related to the specified symbolic device instance. This information can be queried using the obj~>? or obj~>?? command.

  • obj~>length: Transistor length (f_value)
  • obj~>width: Transistor width (f_value)
  • obj~>fingers: Number of fingers (x_value)
  • obj~>schInst: Source schematic instance to look for additional information.

See example for more details about the information returned.

nil

No information related to the specified symbolic device is found.

Example

Return the information related to the symbolic device instance inst, where,

The source schematic instance info is (((db:0x29e5d81a 0 0 0))), which is the return value of bndGetBoundObjects(inst). Where, db:0x29e5d81a is the database ID of the source schematic instance bound to inst.

spdGetSymDeviceInfo(inst)~>??
=>
(length 2e-08 width 1.2e-07 finger
    1 schInst 
    (((db:0x29e5d81a 0 0 0)))
)

Related Topics

bndGetBoundObjects

Device Representations


Return to top
 ⠀
X