• 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 16649
  • 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
  • Andrew Beckett
    Andrew Beckett over 12 years ago

     I answered a similar question in this thread last week. Set the diode to have the area set to pPar("l")*pPar("w"). The LVS netlist (CDL, I assume) would also have the expression (l*w) but that shouldn't be a problem for any LVS tool to be able to resolve during LVS.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • FormerMember
    FormerMember over 12 years ago

    Andrew, 

    Thanks for your help!

    We want to replace the function expression with real numbers because we have perl program to transfer the cdl output to Calibre LVS netlist format.

     We use PDK callback(from the other cell) to solve some function expression problem. 

    Unfortunately, there is no area callback function in the PDK. 

     Is it possible to write a simple callback to solve the problem?

     

    cellId = ddGetObj("library" "cellname" "cellview")

    procedure(calcSimParams(cellId)

        cdfgData = cdfGetInstCDF(cellId)

            tmpw=cdfParseFloatString(cdfgData->w->value)

    tmpl=cdfParseFloatString(cdfgData->l->value)

            cdfgData->area->value=sprintf(s "%g" (l*w))

    )

     

    Best regards,

    E-Jen 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • 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
  • FormerMember
    FormerMember over 12 years ago
      Thanks for your help!

    Now we have a new problem.

    When we try export cdl file, the output netlist will stop on this new created device.

    One line of the output file looks like as follows.

    “XI7 net20 VIN VSS VSS VDD subcircuit”

    How could I export the whole schematics?

    Thanks and best regards,

    E-Jen 
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    E-Jen,

    It sounds as if you must have the incorrect switch or stop view list setup. You need to ensure that the switch list contains the name of the view to switch into, and that it doesn't have a stop view listed before the schematic view.

    If you still have a problem, please contact customer support so that somebody can look at your data to understand what is wrong with your set up. This is pretty straightforward and not unusual though, so I'm sure it's just something wrong in how you've told it to netlist.

    Regards,

    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