vfoGetInstWithMissingCache
vfoGetInstWithMissingCache(t_libName t_cellName t_viewName) =>l_dbIDs
Description
Returns three lists of dbIDs. The first is the list of dbIDs of all instances whose submaster is not found in index.pcl file. The second is the list of dbIDs of all instances whose submaster is found in index.pcl file but not found in cache.pcl file because the file is corrupt or missing. The third is the list of dbIDs of instances whose submaster is not found because the supermaster has been updated after instance creation.
Arguments
Value Returned
Example
Get the list of instances in design myLib/myCell/layout whose FGR cache is not found in the cache files.
design = dbOpenCellViewByType( "myLib" "myCell" "layout" "a" )
instanceList = vfoGetInstWithMissingCache( "myLib" "myCell" "layout" )
; iterate over the first list of instances and set latest FGR cache version to update the FGR cache.
(foreach inst car(instancelist)
vfoSetParam(inst "cacheCreateVersion" vfoGetVersion())
)
(foreach inst car(cdr(instancelist))
vfoSetParam(inst "cacheCreateVersion" vfoGetVersion())
)
(foreach inst car(cdr(cd(instancelist)))
vfoSetParam(inst "cacheCreateVersion" vfoGetVersion())
)
; save the design to update FGR cache.
dbSave(design)
dbPurge(design)
Return to top