ccpExpandDesign
ccpExpandDesign(
G_src
s_expFlag
q_expandSkipLibList
[ l_expandViewTypeList ]
[ l_expandViewNameList ]
[ t_vNameSimExp ]
[ t_vNameSpace ]
[ g_addProp ]
[ g_existenceCheck ]
[ g_reReferenceCustomVias ]
)
=> q_expSpecList / nil
Description
Expands a design, given a source cell or cellview gdmSpec object.
ccpExpandDesign first traverses the top level design, which is specified by the source cell or view G_src. It uses the pcdb (parent/child database) API to find all references to other cells. It then traverses those cells, except the ones that are in libraries listed in q_expandSkipLibList. ccpExpandDesign then creates the expansion list, using the following filtering process:
-
It includes only the views listed in l_expandViewTypeList, l_expandViewNameList, and t_vNameSimExp. If the lists are empty, it includes all views.
-
It includes files based upon the value of the s_expFlag argument, which determines whether all files or only the
coManaged and alsoManaged files are included.
Arguments
|
G_src
|
Sources gdmSpec object. Must be a cell or view.
|
|
s_expFlag
|
Expands the flag options. Can be one of the following predefined symbols:
-
CCP_EXPAND_COMANAGED: Expands a directory and includes only the coManaged and alsoManaged files, which are defined in the dataReg.
Some applications have co-managed files stored at different directory levels. These co-managed files will also be included for copy.
The prop.xx file, which is invalid in OpenAccess libraries, is no longer automatically included in co-managed sets.
CCP_EXPAND_ALL: Expands everything in a directory.
|
|
q_expandSkipLibList
|
Excludes gdmSpecList object that contains the libraries while copying. It is a stop list—design objects in the libraries are not traversed.
|
|
l_expandViewTypeList
|
Lists strings specifying the view types to be expanded. If the list is empty, includes all view types in the hierarchy.
This argument is optional; its default value is nil.
|
|
l_expandViewNameList
|
Lists view names to be expanded. If the list is empty, includes all view names in the hierarchy.
This argument is optional; its default value is nil.
|
|
t_vNameSimExp
|
Specifies the views to expand.
|
|
t_vNameSpace
|
The name space in which the arguments t_vNameSimExp and l_expandViewNameList are provided. Can be one of the following strings: VHDL, Verilog, Verilog-A, CDBA, Concept, Library, LibraryUnix, or LibraryNT.
|
|
g_addProp
|
Copies files from library and cell property. It is recommended that you use nil for this argument because of potential conflicts between property files. Properties are usually added by the copy updaters. Default is nil.
|
|
g_existenceCheck
|
Sets a flag for the Virtuoso post-copy updater to validate the existence of layers, purposes, viaDefs, and siteDefs in the technology database of the destination library after the copy command is completed. Default is 0.
This argument is typically used with the copy functions and is not needed for expansion functions.
|
|
g_reReferenceCustomVias
|
Sets a flag for the Virtuoso post-copy updater to update custom via definitions to point to cellviews in the destination library. Default is 0.
This argument is typically used with the copy functions and is not needed for expansion functions.
|
Value Returned
|
q_expSpecList
|
A gdmSpecList object containing gdmSpec objects for the files in the expansion list.
|
|
nil
|
The design could not be expanded.
|
Related Topics
Generic Design Management (GDM) Functions
Name Spaces for Different Data Types
gdmCreateSpec
gdmCreateSpecList
Return to top