cdf lost every time I log out from cadence

J

jren

Guest
Hi

In my SKILL code (pcell.il), I include pcell (pcDefinePCell()) and CDF
(cdfCreateParam(()).(This is similar to
http://groups.google.com/group/comp.cad.cadence/browse_thread/thread/4791011ed9a6ff40/1d12829648321907).
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!

jren
 
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/4791011ed9a6ff40/1d12829648321907).
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 )

???
 
jren wrote:
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")
.....

cdfSaveCDF( cdfId )

);end of let
 
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...@gmx.de> 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 )

???
 
It works.
Thank you for your help!

On Aug 25, 10:35 am, PM <p...@gmx.de> wrote:
jren wrote:
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")
.....

    cdfSaveCDF( cdfId )







);end of let
 

Welcome to EDABoard.com

Sponsor

Back
Top