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

vfoGREnableVersionCache

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

Description

Enables version cache on all instances currently not cache-enabled that belong to the specified list of FGR super-masters and found in the in the specified library, cell, or view. The createVersionCache parameter of such instances will get updated from 0 to the VFO version of the current Virtuoso session.

The function vfoGREnableVersionCache calls the dbSave function in the background, so any unsaved changes in the layout cellview are saved when the vfoGREnableVersionCache 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 and cache-enabled.

t_libName

The library name for which you want to enable version cache on the FGR instances with latest vfoVersionCache values.

?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

Version cache has been enabled.

nil

Version cache has not been enabled.

Example

The following code snippet shows how to enable version cache for all the instances of the device reflib/FGR2 in all cellviews named as layout2 of all the cells in the library reflib.

devids = ddGetObj("reflib" "FGR2")
lst=list(devids)
vfoGREnableVersionCache(lst "reflib" ?viewName "layout2")

Return to top
 ⠀
X