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

vfoGRUpdateVersionCache

vfoGRUpdateVersionCache(
l_FGRcellDDID
t_libName
[ ?cellName t_cellName ]
[ ?viewName t_viewName ]
)
=> t / nil

Description

Updates the vfoCreateVersion parameter of an instance to the current Virtuoso version. If the vfoCreateVersion parameter is set to 0, the vfoGRUpdateVersionCache function does not update the vfoCreateVersion parameter to the latest Virtuoso version. You have to call the vfoGREnableVersionCache function to update this parameter to the latest Virtuoso version. If the vfoCreateVersion parameter is set to an older Virtuoso version and the image of the sub-master is not found in the cache files, cache.pcl and index.pcl, the vfoGRUpdateVersionCache function does not update the vfoCreateVersion parameter to the latest Virtuoso version. You have to call the vfoGRDisableVersionCache function and then the vfoGREnableVersionCache function to update this parameter to the latest Virtuoso version.

The function vfoGRUpdateVersionCache calls the dbSave function in the background, so any unsaved changes in the layout cellview are saved when the vfoGRUpdateVersionCache function is called.

Arguments

l_FGRcellDDID

The list of dd IDs, returned by the ddGetObj()function, for the fluid guard ring cells to be updated.

t_libName

The library name for which you want to update the vfoVersionCache parameter of the FGR instances with the current Virtuoso version.

?cellName t_cellName

If a cell name is specifed, only cells with the given name are processed and all others are ignored. All views for the given cell name are processed, and cache.pcl and index.pcl files are updated in all views of the specified cell name. If no cell name is specified, all cells are processed, and cache.pcl and index.pcl are updated.

?viewName t_viewName

If a view name is specified, only the specified view name is processed for all cells specified in the t_cellName argument. If a view name is not specified, all views of each cell are processed, and index.pcl and cache.pcl files are updated.

Value Returned

t

The vfoCreateVersion parameter has been updated.

nil

The vfoCreateVersion parameter has not been updated.

Example

The following code snippet shows how this function updates the cacheCreateVersion parameter to the current version in all the cellviews of the library reflib for instances of the device FGR2.

devids = ddGetObj("reflib" "FGR2")
lst=list(devids)
vfoGRUpdateVersionCache(lst "reflib")

Return to top
 ⠀
X