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

techCreateRelatedSnapPatterns

techCreateRelatedSnapPatterns(
d_techFileId
t_name
l_relatedSnapPatterns
[l_extraLPP]   
[f_regionSnapPitchHorizontal]    
[f_regionSnapPitchVertical]
)
=> d_techRelatedSnapPatternsId / nil

Description

(Virtuoso Advanced Node for Layout Only) Creates a group of related snap patterns in the specified technology file.

Arguments

d_techFileId

Specifies the ID of the technology file in which the related snap patterns group is to be created.

t_name

Specifies the name for the related snap patterns group.

l_relatedSnapPatterns

Specifies the list of snap pattern definitions to include in the group.

l_relatedSnapPatterns: list(l_snapPatternDef)

where,

  • l_snapPatternDef is a snap pattern definition
l_snapPatternDef: list(t_snapPatternDefName [l_widthSpacingPatternNames] [l_widthSpacingPatternGroupNames])
    • t_snapPatternDefName is the name for the snap pattern definition. This name can either refer to a snapPatternDef or a widthSpacingSnapPatternDef. If it refers to a snapPatternDef, the two optional arguments, l_widthSpacingPatternName and l_widthSpacingPatternGroupNames cannot be used.
    • l_widthSpacingPatternNames is a list of the width spacing pattern names allowed in this definition.
      l_widthSpacingPatternNames: list(t_widthSpacingPatternName)
    • l_widthSpacingPatternGroupNames is a list of the width spacing pattern group names allowed in the definition.
      l_widthSpacingPatternGroupNames: list (t_widthSpacingPatternGroupName)
    • t_widthSpacingPatternGroupName is a width spacing pattern group name allowed in the definition.

l_extraLPP

Specifies an additional layer-purpose pair. A shape on the LPP is created automatically when an instance of the related snap pattern is placed in the layout.

f_regionSnapPitchHorizontal

  

Specifies the pitch at which horizontal region edges snap in the vertical direction. This value overrides the X snapping grid values.

The default value is 0.

f_regionSnapPitchVertical

  

Specifies the pitch at which vertical region edges snap in the horizontal direction. This value overrides the Y snapping grid values.

The default value is 0.

Value Returned

d_relatedSnapPatternsId

Returns the ID of the created related snap patterns group.

nil

Returned in case of failure.

Example

techCreateRelatedSnapPatterns(    tech 
    "rsp1" 
    '(
     ("snap1" nil ("wsp_group1")) 
("snap2" "wsp1")
)
'("Active" "drawing")
0.1
0.2
)

Creates a group of related snap patterns, rsp1, in the specified technology file.


Return to top
 ⠀
X