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

cdfRefreshCDF

cdfRefreshCDF(
g_libId / g_cellId
)
=> t / nil

Description

Updates the CDF structure in the memory for the specified library or cell Id with the contents stored on the hard disk. Returns nil if the CDF structures for the specified library and cell ID are not present in memory.

If there are multiple Virtuoso sessions and you modify and save a CDF in one session, then that CDF in other sessions would be outdated. In such a case, use the cdfRefreshCDF function to update the CDF in other sessions.

Use this function with caution. In case multiple users modify the CDF parameters of a common component simultaneously, the saved parameter pointers may become invalid as there is no way of notifying the application after refreshing the CDF parameter values.

Arguments

g_libId or g_cellId

Specifies the dd_id of the library or the cell.

Return Value

t

Updates the CDF structure in the memory for the specified library or cell Id with the contents stored on the hard disk.

nil

The CDF structures for the specified library and cell ID do not exist in the memory

Examples

cdfRefreshCDF(ddGetObj("mylib" "npnpar"))

Return to top
 ⠀
X