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

cdfCopyCDF

cdfCopyCDF(
g_cellId | g_libId
t_dataType
g_sourceCdfDataId
)
=> g_cdfDataId / nil

Description

Copies the CDF data of the specified type from specified source to a library or cell by creating a new CDF data ID.

The destination must be specified as the ID of a library or a cell. The destination library or cell must not already have a CDF description of the specified CDF data type.

Note the following:

Arguments

g_cellId | g_libId

Specifies the ID of the library or cell where the CDF data must be copied.

t_dataType

Specifies the type of CDF data to be copied.

  • baseLibData: Base-level CDF data of the specified library.
  • userLibData: User-level CDF data of the specified library.
  • baseCellData: Base-level CDF data of the specified cell
  • userCellData: User-level CDF data of the specified cell.
If you have specified the type baseCellData or baseLibData, ensure that the destination library or cell has the appropriate write permission.

g_sourcecdfDataId

Specifies the source of the CDF data to be copied.

Value Returned

g_cdfDataId

ID of the new CDF data returned if the copy operation was successful.

nil

When the copy operation fails.

Examples

Copies the base-level CDF description of nbsim in analogLib to nfet in bicmos.

source_cell = ddGetObj( "analogLib" "nbsim" )
srcCDF = cdfGetBaseCellCDF( source_cell )
dest_cell = ddGetObj( "bicmos" "nfet" )
if( destCDF = cdfGetBaseCellCDF(dest_cell) then
    cdfDeleteCDF( destCDF)
)
destCDF = cdfCopyCDF( dest_cell "baseCellData" srcCDF

Return to top
 ⠀
X