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

techGetTrimLayers

techGetTrimLayers(
d_techFileID 
tx_layer 
[ t_color t_colorState ] 
) 
=> l_trimLayers / nil

Description

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

Arguments

d_techFileID

The database identifier of the technology file.

tx_layer

The metal, poly, or local interconnect 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_trimLayers

The trim layer or layers that trim the specified metal or poly layer, along with their color and color state.

nil

No trim layer trims the specified metal or poly layer, or an error condition occurred, such as an invalid input value.

Examples

techGetTrimLayers(tfid "Metal1")
=>((("mask1Color" "locked") 
    ("trimMetal1" "mask1Color" "locked")
   )
   (("mask1Color" "unlocked") 
    ("trimMetal1" "mask1Color" "unlocked")
   )
   (("mask2Color" "locked") 
    ("trimMetal2" "mask2Color" "locked")
   ) 
   (("mask2Color" "unlocked") 
    ("trimMetal2" "mask2Color" "unlocked")
)
)

Returns a list of the trim layers that trim metal layer Metal1.

techGetTrimLayers(techfileId "Metal1" "mask2Color" "locked") 
=>("trimMetal2" "mask2Color" "locked") ("trimMetal3" "mask2Color" "any")

Returns a list of the trim layers that trim metal layer Metal1 with color mask2Color and color state locked.


Return to top
 ⠀
X