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

techSetSpacingRuleTableEntry

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

Description

Updates the specified spacing table in the specified technology database. ASCII technology file location: spacingTables subsection in the foundry constraint group. 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_constraintName

The name of the spacing constraint.

g_index

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

l_index

A list specifying the pair of indexes in a two-dimensional table for which to set 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.

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 spacing table does not exist.

Examples

techSetSpacingRuleTableEntry(tfID "minSpacing" list(0.005 0.005) 0.14 "Metal1")
=> t

Updates the minSpacing value to 0.14 in the 2-D minSpacing spacing table for Metal1 containing the indexes (0.005 0.005).

Example 1

The original table:

spacingTables(
( minSpacing                 "Metal1"
    (( "width"   nil  nil      "length"   nil   nil  ) )
    (
       (0.0005    0.0005    ) 0.12
       (0.0005    0.5605    ) 0.18
       (0.0005    1.5005    ) 0.5
       (0.0005    3.0005    ) 0.9
       (0.0005    7.5005    ) 2.5
       (0.1805    0.0005    ) 0.18
)
)

Changes to:

spacingTables(
( minSpacing                 "Metal1"
    (( "width"   nil  nil      "length"   nil   nil  ))
    (
       (0.0005    0.0005    ) 0.14
       (0.0005    0.5605    ) 0.18
       (0.0005    1.5005    ) 0.5
       (0.0005    3.0005    ) 0.9
       (0.0005    7.5005    ) 2.5
       (0.1805    0.0005    ) 0.18
)
)

Example 2

techSetSpacingRuleTableEntry(tfID "minSpacing" list(0.1 0.005) 0.14 "Metal1")
=> t

The original table:

spacingTables(
( minSpacing                 "Metal1"
    (( "width"   nil  nil      "length"   nil   nil  ) )
    (
       (0.0005    0.0005    ) 0.12
       (0.0005    0.5605    ) 0.18
       (0.0005    1.5005    ) 0.5
       (0.0005    3.0005    ) 0.9
       (0.0005    7.5005    ) 2.5
       (0.1805    0.0005    ) 0.18
)
)

changes to:

spacingTables(
( minSpacing                 "Metal1"
    (( "width"   nil  nil      "length"   nil   nil  ))
    (
       (0.0005    0.0005    ) 0.12
       (0.0005    0.5605    ) 0.18
       (0.0005    1.5005    ) 0.5
       (0.0005    3.0005    ) 0.9
       (0.0005    7.5005    ) 2.5
        (0.1000    0.005     ) 0.14
       (0.1805    0.0005    ) 0.18
)
)

Return to top
 ⠀
X