Product Documentation
Virtuoso Technology Data SKILL Reference
Product Version IC23.1, June 2023

techGetInstDeviceClass

techGetInstDeviceClass(
d_instID
) 
=> t_deviceClassName / nil

Description

Returns the device class of the specified instance in the current technology database. ASCII technology file location: devices section.

For more information about the devices section, see Technology File Devices in Virtuoso Technology Data ASCII Files Reference. For information about retrieving the instance database identifier, see dbFindAnyInstByName in Virtuoso Studio Design Environment SKILL Reference.

Arguments

d_instID

The database identifier of the instance.

Value Returned

t_deviceClass

The device class (type) of the instance.

nil

The technology database or device does not exist.

Examples

dbCreateInstByMasterName(cvID "cellTechLib" "MOS1" "layout" "inst2" list(0 0) "R0" 1)

Creates the instance inst2 from the master MOS1.

instID=dbFindAnyInstByName(cvID "inst2")
=> db:41956120

Assigns the instance database identifier to the variable instID.

techGetInstDeviceClass(instID)
=> "guardring"

Returns the device class, guardring, of the instance inst2.


Return to top
 ⠀
X