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

techOrderLeLsw

techOrderLeLsw(
tx_techfileLibName 
l_lswLayers
) 
=> t / nil

Description

Defines the relative priority for a dynamic set of layer-purpose pairs (LPPs) to be shown in the Palette assistant. The layers are pulled from the current leLswLayers section to the top of the display order according to their priority numbers. The smaller the number, the higher the priority and the higher the LPP is in the list.

This function is most useful when multiple technology databases are arranged in a technology graph. The LPPs specified are expected to exist in the graph rooted at the specified technology database. The function can be run on any variant of the process stack. It silently ignores any layers that are not present. Technology files on disk are not changed.

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

Arguments

tx_techfileLibName

The technology file library name.

l_lswLayers

An ordered list of LPPs to display in the Palette assistant. The list has the following syntax:

list ( list( tx_layer tx_purpose n_priority) … )

where,

  • tx_layer is the layer name or number.
  • tx_purpose is the purpose name or number.
  • n_priority is the priority in which the specified LPPs appear in the display order.

Value Returned

t

The leLSWLayers subsection in the specified technology database was updated as specified.

nil

The technology database does not exist.

Example

Assume that the leLswLayers section has this sequence:

(("Via1"        "drawing") 
("Via2" "drawing")
("Via3" "drawing")
("Via4" "drawing")
("Via5" "drawing")
("Metal1" "drawing")
("Metal2" "drawing")
("Metal3" "drawing")
("Metal4" "drawing")
("Metal5" "drawing")
)

The function is called as follows:

techOrderLeLsw("topTech"
    list(
        list("Metal1" "drawing" 1)
        list("Metal2" "drawing" 2)
        list("Metal3" "drawing" 3)    
        )
)

The leLswLayers section is updated as follows:

(("Metal1"       "drawing")
("Metal2" "drawing")
("Metal3" "drawing")
("Via1" "drawing")
("Via2" "drawing")
("Via3" "drawing")
("Via4" "drawing")
("Via5" "drawing")
("Metal4" "drawing")
("Metal5" "drawing")
)

Return to top
 ⠀
X