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

techCreateElectricalRuleTable

techCreateElectricalRuleTable( 
d_techID 
t_constraintName 
l_indexDefinitions 
tx_layer1 
[ tx_layer2 ]
) 
=> t / nil

Description

Creates a current density table and indexes for the named layer attribute in the specified technology database. ASCII technology file location: currentDensityTables subsection of the layerRules section. To create table entries, use techSetElectricalRuleTableEntry. If a currentDensityTables subsection does not exist, this function creates one. If a current density table already exists for the named attribute applied to the specified layer or layers, this function replaces it; the original table entries are deleted.

Arguments

d_techID

The database identifier of the technology database.

t_constraintName

The name of the electrical constraint.

Valid values: peakACCurrentDensity, avgACCurrentDensity, rmsACCurrentDensity, avgDCCurrentDensity

l_indexDefinitions

A list defining the name of the index or indexes for the table. The list has the following syntax:

list( [ t_index1Name ] nil nil
[
t_index2Name ] nil nil )

where,

  • t_index1Name is the name of the first dimension of a two-dimensional table or the only dimension of a one-dimensional table.
    Valid values: Any number or string
  • t_index2Name is the name of the second dimension of a two-dimensional table.
    Valid values: Any number or string

tx_layer1

The first layer on which to apply the table constraint.

Valid values: The layer name, the layer number

tx_layer2

The optional second layer on which to apply the table constraint.

Valid values: The layer name, the layer number

Value Returned

t

The current density table was created.

nil

The current density table was not created.

Example

techCreateElectricalRuleTable(tfID "peakACCurrentDensity" 
list("frequency" nil nil "width" nil nil) "Metal1")
=> t

Creates the table electrical rule peakACCurrentDensity with the indexes frequency and width applied to layer Metal1 in the technology database identified by tfID.


Return to top
 ⠀
X