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

techGetDeviceClass

techGetDeviceClass(
d_techID
t_deviceName
t_viewName 
) 
=> l_types / t_type / nil

Description

Returns a list of the names of all device types defined with the specified view in the specified technology database. ASCII technology file location: devices section. If you specify a device name, this function returns the device type of that device.

For more information about the devices section, see Technology File Devices in Virtuoso Technology Data ASCII Files Reference.

Arguments

d_techID

The database identifier of the technology database.

t_deviceName

The device name.

Valid values: Name of an existing device, nil

t_viewName

The view name defined for the device type.

Value Returned

l_types

A list of device type names of all device types defined with the specified view in the current technology database. If you specify a device name, returns one device type name.

t_type

The device type name of the device specified by deviceName.

nil

The technology database or device does not exist.

Examples

techGetDeviceClass(tfID "MOS1" "layout")
=> "guardring"

Returns the device type, guardring, of the MOS1 layout device.


Return to top
 ⠀
X