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

techGetSpacingRuleTableEntry

techGetSpacingRuleTableEntry( 
d_techID 
t_constraintName
g_index | l_index
tx_layer1
[ tx_layer2 ]
) 
=> g_value / nil

Description

Returns the value of the table constraint in the specified technology database that (a) is in the foundry constraint group, (b) is applied to the specified layer or layers, and (c) is the value for the table entry with the specified index or indexes.

After running the cdb2oa translator on a CDBA table that contains table values of nil, the resultant OA table will display the CDBA nil values as OA default values when called by techGetSpacingRuleTableEntry().

Arguments

d_techID

The database identifier of the technology database.

t_constraintName

The name of the spacing table constraint.

g_index

The index in a one-dimensional table for which to return the table value.

l_index

A list specifying the pair of indexes in a two-dimensional table for which to return the table value. The list has the following syntax:

list( g_index1 g_index2 )

where,

  • g_index1 is the first table index.
  • g_index2 is the second table index.

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

g_value

The value of the specified index.

nil

The technology database does not exist or the spacing table constraint is not defined.

Example

techGetSpacingRuleTableEntry(tfID "minSpacing" 0 "via")
=> 5.5

Returns the value (5.5) of the index 0 from the one-dimensional minSpacing table applied to layer via in the technology database identified by tfID.

techGetSpacingRuleTableEntry(tfID "minSpacing" list(0.0005 0.0005) "Metal2")
=> 0.14

Returns the value (0.14) of the index (0.0005 0.0005) from the two-dimensional minSpacing table applied to layer Metal1 in the technology database identified by tfID.


Return to top
 ⠀
X