Re: cdf lost every time I log out from cadence



Yes. I have these. Basic my pcell.il is as following:

pcDefinePCell(
list(ddGetObj("lib" "cell" "layout")
........
) ;end of pcDefinePCell


;;CDF Development
let( (libId cellId cdfId (cellLib "libname") (cellName
"cellname") ;;cellLib, cellName, changed as in PcCellViewDefine
)
unless(cellId = ddGetObj(cellLib cellName)
error( "Could not get cell %s." cellName ))
when(cdfId = cdfGetBaseCellCDF(cellId)
cdfDeleteCDF(cdfId))
cdfId = cdfCreateBaseCellCDF(cellId)

cdfCreateParam(cdfId
?name "widthR2"
?prompt "widthR2"
?defValue 2.0
?type "float"
?storeDefault "yes")
......
);end of let

On Aug 25, 9:27 am, PM <p...@xxxxxx> wrote:
jren wrote:
Hi

In my SKILL code (pcell.il), I include pcell (pcDefinePCell()) and CDF
(cdfCreateParam(()).(This is similar to

Similar is maybe not good enough ...

http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/...).
After I load this pcell.il in CIW, everything looks fine and I can see
the CDF settings. However, every time I restarted cadence, CDF
component parameters are lost.
Can anyone help with me on this issue? Thanks!

You have to modify the base CDF parameter (supposed you are allowed to).
Do you have (among others) at top:

let( ( libId cellId cdfId )
    unless( cellId = ddGetObj( LIBRARY CELL )
        error( "Could not get cell %s." CELL )
    )
    when( cdfId = cdfGetBaseCellCDF( cellId )
        cdfDeleteCDF( cdfId )
    )
    cdfId  = cdfCreateBaseCellCDF( cellId )

???

.



Relevant Pages

  • Re: modify CDF for all pcells in library
    ... Do you want to set the ?editable "t" for all the CDF parameters? ... This command will parse all the cells of a lib and sets the editable ... procedure(RKsetCdfAttributeByCell(libName cellName attribute value) ... RKsetCdfAttributeByParamByCell(libName cell param attribute value) ...
    (comp.cad.cadence)
  • Re: modify CDF for all pcells in library
    ... Do you want to set the ?editable "t" for all the CDF parameters? ... This command will parse all the cells of a lib and sets the editable ... procedure(RKsetCdfAttributeByCell(libName cellName attribute value) ... RKsetCdfAttributeByParamByCell(libName cell param attribute value) ...
    (comp.cad.cadence)