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

techSetElectricalRuleTableEntry

techSetElectricalRuleTableEntry( 
d_techID 
t_constraint
l_index
g_value
tx_layer1
[ tx_layer2 ]
) 
=> t / nil

Description

Updates the specified current density table in the specified technology database. ASCII technology file location: currentDensityTables subsection of the layerRules section. If the specified index or index pair is in the table, this function updates the value assigned. If the specified index or index pair is not in the table, this function adds an entry to the table with the specified data.

Arguments

d_techID

The database identifier of the technology database.

t_constraint

The name of the current density constraint.

l_index

The list of indexes. The list has the following syntax:

( g_index1 [ g_index2 ] )

where,

  • g_index1 is the first index in a two-dimensional table or the only index in a one-dimensional table.
  • g_index2 is the second index in a two-dimensional table.

g_value

The value to apply to the specified table index or index pair.

Valid values: Any number or string

tx_layer1

The first layer on which the table constraint is applied.

Valid values: The layer name, the layer number

tx_layer2

The optional second layer on which the table constraint is applied.

Valid values: The layer name, the layer number

Value Returned

t

The table was successfully updated.

nil

The technology database does not exist or the current density table does not exist.

Example

techSetElectricalRuleTableEntry(tfID "peakACCurrentDensity" list(1.0 0.3) 5e-08 "Metal2))
=> t

Changes the original table below:

currentDensityTables(
( "peakACCurrentDensity" "Metal2"
(("frequency" nil nil "width" nil nil))
(
(1.0 0.3) 5e-05
(1 0. 0.4) 5e-06
(2e+07 0.3) 5.5e-06
(2e+07 0.4) 6e-07
)
)

to:

currentDensityTables(
( "peakACCurrentDensity" "Metal2"
(("frequency" nil nil "width" nil nil))
(
(1.0 0.3) 5e-08
(1 0. 0.4) 5e-06
(2e+07 0.3) 5.5e-06
(2e+07 0.4) 6e-07
)
)

Return to top
 ⠀
X