• 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. inheriting minimum of 2 parent parameters

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 124
  • Views 12879
  • 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

inheriting minimum of 2 parent parameters

archive
archive over 18 years ago

Hi,

I am trying to pass the minimum of 2 parent parameters to an instance.  Can I do this in AEL?  I have tried the following, but it bombs in Assura-LVS:

((pPar("A")"B"))?pPar("A"):pPar("B"))
This works well in some SKILL based dry-runs of AEL:
env=aelEnvCreate('f)
aelEnvSetGlobals(env "A" 2 "B" 20)
aelEnvInterpret(env "((A")
==> "2.0"
;; swapping variable values
aelEnvSetGlobals(env "A" 20 "B" 2)
aelEnvInterpret(env "((A")
==> "2.0"

But, the spectre and Assura-LVS netlist parsers do not seem to understand this syntax.  What I am doing wrong?

BTW, I am trying to avoid adding another CDF parameter on the parent that stores the minimum of these 2 values, which is updated by a form callback.  This could be passed easily, but I'd like to avoid yet another CDF parameter and callback if at all possible.  Plus, I'd really like to understand AEL better, so I could avoid frivolous CDF parameters.

Thanks!



Originally posted in cdnusers.org by m27315
  • Cancel
  • archive
    archive over 18 years ago

    Something got messed up in th formatting of your post, but I think the min and max functions should work in AEL, spectre and Assura. If it is supported in AEL (which it is), and spectre (which it is), then Assura should work too.

    You should report this to Cadence customer support if it is misbehaving. I agree, you should avoid using callbacks for something like this (in fact avoid using them for any derived data generation, in my opinion).

    Regards,

    Andrew.


    Originally posted in cdnusers.org by adbeckett
    • 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