vfoAdvGRUpdateCDF
vfoAdvGRUpdateCDF(g_obj t_libName t_cellName t_viewName) =>l_cdfParams
Description
Helps to modify the existing CDFs on a FGR device and add more CDFs on it. The function can be defined for subclasses of vfoAdvGuardRing. It works based on callback mechanism, that is, the user defines it and the infrastructure calls it.
Arguments
|
An instance of the |
|
|
The name of the technology library containing the FGR device. |
|
Value Returned
Example
defclass(vfoAdvGRExtended (vfoAdvGuardRing) () )
defmethod(vfoAdvGRUpdateCDF ( (obj vfoAdvGRExtended ) libName cellName viewName) let((cellId cdfId paramId cvId)
cellId = ddGetObj(libName cellName)
cdfId = cdfGetBaseCellCDF(cellId)
unless(cdfId
cdfId = cdfCreateBaseCellCDF(cellId)
);;unless
cvId = dbFindOpenCellView(ddGetObj(libName) cellName viewName)
;create user defined parameter
when(cdfFindParamByName(cdfId "userCDF")
cdfDeleteParam(cdfFindParamByName(cdfId "userCDF"))
)
cdfCreateParam(cdfId
?name "userCDF"
?prompt "User CDF"
?defValue 0.0
?value 0.0
?type "float"
?display "t"
)
putprop(cdfId->readers '(lambda (x) x) "topMetal")
cdfSaveCDF(cdfId)
)
Return to top