• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. How do I pass the parameter values of the schematic to those...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 14225
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How do I pass the parameter values of the schematic to those of the instances inside the schematic

lbodepu
lbodepu over 6 years ago

Hi ,

I created a schematic with a simple RLC network.

Then made a symbol for this schematic. 

Now I am trying to pass the R, L ,C values from the schematic's CDF parameters.

I used something like this:

cv=dbOpenCellViewByType("Photonics_cadence" "Pd_schem" "schematic" "schematic" "w")
res=dbOpenCellViewByType("analogLib" "res" "symbol" "" "r")

cellId=ddGetObj("Photonics_cadence" "Pd_schem")

cdfId=cdfCreateBaseCellCDF(cellId)

param=cdfCreateParam(cdfId , ?name "Res_R0"
?prompt "Res_R0 (ohm)"
?defValue "100"
?type "string"
?display "artParameterInToolDisplay('Res_R0)"
?parseAsNumber "yes"
?parseAsCEL "yes" )

dbCreateParamInst(cv res "R1" 1:1 "R90" 1 list(list("r" "string" param~>value)) t)

The value of R1 is by default 100. 

However when I am trying to change the param  "Res_R0" from the property box of the schematic symbol, its not reflected in the R0.

Am I missing something.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    Yes. Set the value of "r" on the instance R1 to be pPar("Res_R0") - so:

    dbCreateParamInst(cv res "R1" 1:1 "R90" 1 list(list("r" "string" "pPar(\"Res_R0\")")) t)

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • lbodepu
    lbodepu over 6 years ago in reply to Andrew Beckett

    Thank you Andrew :)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information