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

techGetTrimLayer

techGetTrimLayer(
d_techFileID 
tx_layer 
[ t_color t_colorState ] 
) 
=> l_trimLayer / nil

Description

(Virtuoso Advanced Node for Layout Only) Returns the trim layer that trims 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 trim layers that trim tx_layer for all valid 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_trimLayer

The trim layer or a list of trim layers that trim the specified metal or poly layer.

nil

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

Examples

techGetTrimLayer(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 trim layers that trim metal layer Metal1.

techGetTrimLayer(techfileId "Metal1" "mask2Color" "locked") 
=>("trimMetal2" "mask2Color" "locked")

Returns the trim layer that trims layer Metal1 with color mask2Color and color state locked.


Return to top
 ⠀
X