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

techCreateGenViaVariant

techCreateGenViaVariant(
d_techID 
t_viaVariantName
t_viaDefName
(l_parameters)
)
=> d_viaVariantID / nil

Description

Creates a generated via variant matching the specified generated via definition in the specified technology database. ASCII technology file location: cdsGenViaVariants subsection in the viaDefs section.

For more information, see cdsGenViaVariants in the Virtuoso Technology Data ASCII Files Reference.

Arguments

d_techID

The database identifier of the technology database.

t_viaVariantName

The name of the generated via variant definition to create.

Valid values: Any string unique in the database

t_viaDefName

The name of the generated via definition to associate with the variant. See techCreateGenViaDef.

Valid values: Any string unique in the database

l_parameters

A list of parameters for the object in this syntax:

'(parameters 
   [(layer1Purpose tx_layer1Purpose)]
   [(layer2Purpose tx_layer2Purpose)]
   [(cutPurpose tx_cutPurpose)]
   [(cutWidth f_cutWidth)]
   [(cutHeight f_cutHeight)]
   [(cutColumns n_cutColumns)]
   [(cutRows n_cutRows)]
   [(cutSpacing f_Xspacing f_Yspacing)]
   [(layer1Enc l_fourEnclosures1)]
   [(layer2Enc l_fourEnclosures2)]
   [(cutPattern  l_cutPattern)]
   [(alignment t_alignmentType)]
   [(originOffset (f_Xoffset f_Yoffset)]
    [(cutArraySpacing f_XarraySpacing f_YarraySpacing)]
   [(version n_version)]
   [(layer1ExtraParams l_layer1ExtraParams)]
   [(layer2ExtraParams l_layer2ExtraParams)]
   [(cutArrayPatternX l_cutArrayPatternX)]
   [(cutArrayPatternY l_cutArrayPatternY)]
  )
The originOffset parameter is valid only when the alignment is set to offset.

Value Returned

d_viaVariantID

The generated via variant was created successfully with the database identifier viaVariantID.

nil

The generated via variant could not be created because either the technology database or the generated via definition does not exist.

Example

techCreateGenViaVariant(tech "vv1" "myGenVia"
  '(parameters 
      (layer1Purpose "net")
      (layer2Purpose "net")
      (cutPurpose "fill")
      (cutWidth 0.1)
      (cutHeight 0.1)
      (cutColumns 6)
      (cutRows 8)
      (cutSpacing 0.1 0.1)
      (layer1Enc (0 0 0.1 0.1))
      (layer2Enc (0.2 0.2 0.2 0.2))
      (cutPattern ((0 1) (1 0)))
      (alignment "offset")
      (originOffset (0.1 0.1))
      (cutArraySpacing 0.1 0.2)
      (version 1)
      (layer2ExtraParams (((purpose "net") (enc (0.3 0.3 0.3 0.3)))))
      (layer1ExtraParams (
                      ((purpose "net") (enc (0.3 0.3 0.3 0.3)))
                      ((purpose "drawing") (enc (0.2 0.2 0.2 0.2)))
                    )
      )
      (cutLayerExtraParams (((purpose "net") (enc (0.3 0.3 0.3 0.3)))))
      (cutArrayPatternX (2 4))
      (cutArrayPatternY (3 5))
  )
)

Creates a generated via variant and associates it with the specified generated via definition.


Return to top
 ⠀
X