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

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.

The cellview should be closed while using this function.

Arguments

t_libName

The name of the design library in which you want to search instances with missing cache.

t_cellName

The name of the cellview in which you want to search instances with missing cache.

t_viewName

The name of the view in which you want to search instances with missing cache.

Value Returned

l_dbIds

Returns the list of three sub-lists of dbIDs. The first sub-list contains dbIDs of instances whose submaster is not found in index.pcl file, the second sub-list contains dbIDs of instances whose cache is found corrupt, and the third sub-list contains dbIDs of instances whose supermasters were updated after the instance creation so no cache was found. For example, ( (db:0x2a04aa2a) (db:0x2a04dd9a db:0x2a04dd9b) (db:0x2a04dd8c) )

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
 ⠀
X