Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

gpeExtractReuseTemplate

gpeExtractReuseTemplate(
u_constraint | d_fig | l_instIDs
g_structureName
t_fileName
)
=> t | nil

Description

Extracts the given Modgen into a reusable text file.

Arguments

u_constraint | d_fig | l_instIDs

Source Modgen constraint ID, figGoup ID, or list of instances.

g_structureName

Category to which the Modgen belongs.

t_fileName

Name of the text file to which the Modgen must be saved.

Value Returned

t

The given Modgen was extracted into a text file.

nil

The given Modgen could not be extracted into a text file.

Example

Extract the Modgen fg of type diffPair into a text file pair1.txt. The file is saved at location ./.cadence/dfII/modgens/templateLib/DiffPair/pair1.txt.

fg = car(exists(x geGetSelectedSet() (x~>objType=="figGroup" && x~>type=="modgen")))
gpeExtractReuseTemplate(fg "DiffPair" "pair1.txt")

Return to top
 ⠀
X