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

techGetTrimmedLayers

techGetTrimmedLayers(
d_techFileID 
tx_layer 
[ t_color t_colorState ] 
) 
=> l_trimmedLayers / nil

Description

(Virtuoso Advanced Node for Layout Only) Returns a list of metal or poly layers trimmed by tx_layer with the specified color and color state combination. If only d_techFileID and tx_layer are specified, it returns a list of metal or poly layers trimmed by tx_layer for all valid color and color state combinations.

Arguments

d_techFileID

The database identifier of the technology file.

tx_layer

The trim layer name or number.

t_color

The mask color.

Valid values: grayColor, mask1Color, mask2Color, mask3Color

t_colorState

The color state.

Valid values: locked, unlocked

Value Returned

l_trimmedLayers

A list of metal or poly layers trimmed by the specified trim layer.

nil

No metal or poly layers are trimmed by the specified trim layer, or an error condition occurred, such as an invalid input value.

Examples

techGetTrimmedLayers(tfid "trimMetal")
=>((("mask1Color" "locked")
    (("Metal1" "mask1Color" "locked"))
   )
   (("mask1Color" "unlocked") 
    (("Metal1" "mask1Color" "unlocked"))
   )
   (("mask2Color" "locked") 
    (("Metal2" "mask2Color" "locked") ("Metal1" "mask2Color" "any"))
)
)

Returns a list of metal layers trimmed by trim layer trimMetal.

techGetTrimmedLayers(tfid "trimMetal" "mask2Color" "locked")
=>(("Metal2" "mask2Color" "locked") ("Metal1" "mask2Color" "any"))

Returns a list of metal layers trimmed by trim layer trimMetal with color mask2Color and color state locked: trim layer trimMetal with mask2Color and color state locked trims Metal2 with mask2Color and color state locked and Metal1 with mask2Color irrespective of its color state.


Return to top
 ⠀
X