EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

cdf lost every time I log out from cadence

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Cadence - cdf lost every time I log out from cadence

jren
Guest

Thu Aug 25, 2011 2:56 pm   



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

PM
Guest

Thu Aug 25, 2011 2:56 pm   



jren wrote:
Quote:
Hi

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

Similar is maybe not good enough ...

Quote:
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 )

???

PM
Guest

Thu Aug 25, 2011 2:56 pm   



jren wrote:
Quote:
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 )

Quote:
);end of let


jren
Guest

Thu Aug 25, 2011 3:40 pm   



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:
Quote:
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 )

???


jren
Guest

Thu Aug 25, 2011 4:59 pm   



It works.
Thank you for your help!

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


elektroda.net NewsGroups Forum Index - Cadence - cdf lost every time I log out from cadence

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony