Home > Community > Forums > Custom IC Design > inheriting minimum of 2 parent parameters

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 inheriting minimum of 2 parent parameters 

Last post Fri, Aug 10 2007 9:18 AM by archive. 1 replies.
Started by archive 10 Aug 2007 09:18 AM. Topic has 1 replies and 1108 views
Page 1 of 1 (2 items)
Sort Posts:
  • Fri, Aug 10 2007 9:18 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    inheriting minimum of 2 parent parameters Reply

    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")
    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
    • Post Points: 0
  • Mon, Aug 13 2007 2:20 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: inheriting minimum of 2 parent parameters Reply

    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
    • Post Points: 0
Page 1 of 1 (2 items)
Sort Posts:
Started by archive at 10 Aug 2007 09:18 AM. Topic has 1 replies.