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.
-
If you have specified the type
baseCellDataorbaseLibData, ensure that the destination library or cell has the appropriate write permission. - You cannot copy effective-level CDF data.
Arguments
|
Specifies the ID of the library or cell where the CDF data must be copied. |
|
Value Returned
|
ID of the new CDF data returned if the copy operation was successful. |
|
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