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

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

g_obj

An instance of the vfoAdvGuardRing SKILL++ class or any of its subclasses.

t_libName

The name of the technology library containing the FGR device.

t_cellName

The name of the cell in which the FGR device exists.

t_viewName

The name of the view associated to the FGR device.

Value Returned

l_cdfParams

List of user-defined CDF parameters.

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