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

techSetLayerFunctions

techSetLayerFunctions( 
d_techID 
l_layerFunctionsList
) 
=> t / nil

Description

When the specified layers are not already assigned functions (materials), sets the function assignments in the specified technology database. If any layer is already assigned a function, techSetLayerFunctions returns a message to that effect and does not change that function assignment, but does change the others. ASCII technology file location: functions subsection in the layerRules section; it assigns functions to layers. If a functions subsection does not exist, this function creates one with the specified data.

For more information about layer functions, see functions in Virtuoso Technology Data ASCII Files Reference.

Arguments

d_techID

The database identifier of the technology database.

l_layerFunctionsList

A list of lists specifying the layer names and functions to assign to them. The list has the following syntax:

list( list( tx_layer g_function ) … )

where,

  • tx_layer is the layer name or number or a list containing the layer name and purpose.
  • g_function is the layer function.

Value Returned

t

The functions are assigned to the layers.

If some functions cannot be set for any reason, the software returns error messages for those, sets the ones that can be set, and returns t.

nil

The technology database does not exist, the layers are not defined in the technology database, the functions are not valid functions, or all of the layers already have other functions assigned to them.

Example

techSetLayerFunctions(tfID list(list("poly2" "poly") list("metal3" "metal")))
=> t

Assigns the layer function poly to the layer poly2 and the layer function metal to the layer metal3 in the technology database identified by tfID.


Return to top
 ⠀
X