Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

dbHasValidHierCache

dbHasValidHierCache(
d_cvId
) 
=> t / nil

Description

Checks whether the specified cellview has a valid hierarchical cache file.

Arguments

d_cvId

Database ID of the cellview to be checked for a hierarchical cache.

Value Returned

t

The cellview has a hierarchical cache file.

nil

The cellview does not have a hierarchical cache file.

Example

Checks whether the cellview has a hierarchical cache file before the cache file has been created.

cv = dbOpenCellViewByType("test" "hierTop" "layout" "maskLayout" "a")
dbSetHierCacheUsage("saveAndLoad" cv)
dbHasValidHierCache(cv)
=> nil
Checks whether the cellview has a hierarchical cache file after the file has been created.
dbSave(cv)
dbHasValidHierCache(cv)
=> t

Related Topics

dbDeleteHierCache

dbGetHierCacheUsage

dbSetHierCacheUsage


Return to top
 ⠀
X