• 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. Virtuoso: how to create a (truly) parametric component ...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 143
  • Views 1030
  • 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

Virtuoso: how to create a (truly) parametric component (i.e. with "dynamic" termOrder)?

MurimGomes
MurimGomes over 5 years ago

I have a verilog-A component that converts an integer (passed as an instance CDF parameter) into an electrical digital bus value, with a fixed number of bits (see code below).

It works well and now I'd like to make it "truly" parametric, so that the bit width can also be an instance parameter which, when modified, changes the number of bits of the output bus ("dynamic termOrder"), much in the same way like some analogLib components are able to do (e.g. "mtline" component, which dynamically changes the number of lines when varying the CDF parameter "n"). easybib
 
To implement this behavior, which modifications would I need to do... fedloan

...in the CDF?
...in the symbol view? (how does "mtline" achieves its cool "dynamic" symbol update according to the number of lines?)
...in the verilog-A code? irs.gov
...anywhere else?

Thanks in advance for any help!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago

    There are multiple pieces to this. The first is having a PCell (Parameterised Cell) for the symbol, which allows the symbol to be generated using SKILL code which is executed for each variant of the parameters set on the instance. Then typically there needs to be some custom netlist procedure so that it netlists correctly. There was a similar recent question about this part: custom pcell for symbol/schematic that has variable number of terminals

    Doing all this with a VerilogA model is slightly trickier still.

    The good news is that I've written an article on this! It can be found here: How to create a VerilogA model of a DAC with a variable width bus input

    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