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

techSetDeviceProp

techSetDeviceProp(
d_techID 
t_deviceName
t_viewName 
l_property
) 
=> t / nil

Description

Sets or updates the value of the specified device property in the specified technology database. If the property does not exist, this function creates it. When you create a device or set a property on a device, the software adds the device name, view name, property name, and property value for each property on the device.

For more information about the Devices class, 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.

t_viewName

The view name on which the device is defined.

Valid values: layout

l_property

A list of the property name and value. The list has the following syntax:

( t_propName g_value )

where,

  • t_propName is the name of property to set or create.
  • g_value is the value of the property.
    Valid values: An integer, a floating-point number, a string enclosed in quotes, a Boolean value, any SKILL symbol or expression that evaluates to any of these types

Value Returned

t

The device property was set or created.

nil

The device does not exist.

Example

techSetDeviceProp(tfID "MOS1" "layout" list("prop1" 2.0))

Sets the property prop1 to 2.0 for the MOS1 device in the technology database identified by tfID.


Return to top
 ⠀
X