• 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. Set Symbol parameters and pass parameters to its schematic...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 142
  • Views 16651
  • 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

Set Symbol parameters and pass parameters to its schematic device

FormerMember
FormerMember over 12 years ago
Hi all,

We create a symbol from schematic.

The symbol which we created has adjustable options for l and w (length and width).

Now we use this symbol in other schematic and we want to set the l and w.

We want to pass area value (l*w) to this symbol’s schematic device(for example, a diode).

The spectre can accept parameters description.

We want to substitute all parameters with real numbers because we want to do the LVS netlist output.

Could you help us to solve this problem?

Thanks for your help!

Best regards, E-Jen
  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    But Calibre is perfectly capable of evaluating the expression - so why would you do this?

    A callback cannot solve this problem. If you have a block (say "myblock") which accepts CDF parameters w and l, and within myblock you have an instance of a diode which needs an area, as I said, the diode should allow the area to be set as pPar("w")*pPar("l").

    Imagine instead that you wanted to do this with a callback. You have two instances of myblock, one with w=1u,l=1u and one with w=2u,l=3u. If you (somehow) set the area on the diode instance inside myblock to be w*l for one instance, it will be wrong for the other. Potentially you could have a pseudo-flattening netlister which creates a separate subckt for each variant, but that's a lot of work (I wrote one of these many years ago (about 20) when Dracula's expression evaluation didn't really work yet), and complete overkill when the Verification tool can evaluate the expression. Essentially you need the expression to be evalated as the design is elaborated in the tool that reads the netlist - be it the simulator or the LVS tool.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    But Calibre is perfectly capable of evaluating the expression - so why would you do this?

    A callback cannot solve this problem. If you have a block (say "myblock") which accepts CDF parameters w and l, and within myblock you have an instance of a diode which needs an area, as I said, the diode should allow the area to be set as pPar("w")*pPar("l").

    Imagine instead that you wanted to do this with a callback. You have two instances of myblock, one with w=1u,l=1u and one with w=2u,l=3u. If you (somehow) set the area on the diode instance inside myblock to be w*l for one instance, it will be wrong for the other. Potentially you could have a pseudo-flattening netlister which creates a separate subckt for each variant, but that's a lot of work (I wrote one of these many years ago (about 20) when Dracula's expression evaluation didn't really work yet), and complete overkill when the Verification tool can evaluate the expression. Essentially you need the expression to be evalated as the design is elaborated in the tool that reads the netlist - be it the simulator or the LVS tool.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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