• 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 Design
  3. how to pass parameters and do some calculations

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 14897
  • 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 to pass parameters and do some calculations

Danilo P
Danilo P over 14 years ago

Hi,

In cell cap the cdf parameter "c" is defined and set as c = [@test:%:12.0].

Cell cap is instantiated in the schemati cell "myTest". In the cell myTest the user property "test" is declared as string ans set to 15.

Everything is fine till now, netlist is generated correctly  and parameter value is passed properly through the hierarchy. Now I need that parameter c in the cell "cap" doesn't inherit exactly the value from property "test" defined on the parent cell, but it should be generated with a calculation: for instance 2*test+15. How to do that?

 Thank you, Danilo

 

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    Hi Danilo,

    Apologies - I posted the reply to the wrong post (I don't think I can fix that without messing up the others - I'll see).

    Anyway, if using the UltraSim or hspiceD netlister, you should not really be using NLP expressions to pass parameters. Better would be to use the AEL pPar() expression, and then you can have expressions as the Analog Expression Language handling will come into play.

    That's really the way that AEL/CDF-based netlisters are intended to work. NLP is more for older "digital" flows which are separate from ADE.

    Regards,

    Andrew.

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

    Hi Danilo,

    Apologies - I posted the reply to the wrong post (I don't think I can fix that without messing up the others - I'll see).

    Anyway, if using the UltraSim or hspiceD netlister, you should not really be using NLP expressions to pass parameters. Better would be to use the AEL pPar() expression, and then you can have expressions as the Analog Expression Language handling will come into play.

    That's really the way that AEL/CDF-based netlisters are intended to work. NLP is more for older "digital" flows which are separate from ADE.

    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