Home > Community > Forums > Custom IC Design > AEL expression in CDF

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: *

 AEL expression in CDF 

Last post Thu, Jan 22 2009 11:56 AM by hkutuk. 0 replies.
Started by hkutuk 22 Jan 2009 11:56 AM. Topic has 0 replies and 1909 views
Page 1 of 1 (1 items)
Sort Posts:
  • Thu, Jan 22 2009 11:56 AM

    • hkutuk
    • Not Ranked
    • Joined on Thu, Dec 4 2008
    • Posts 6
    • Points 60
    AEL expression in CDF Reply

     Hi, I'm trying to modify a resistor value in its CDF via an conditional expression as below

     (iPar("b1")==1) ? iPar("p3") : iPar("p4")

     where b1, p3 and p4 are previously defined in the CDF.

    The AEL reference document lists  "?:" as a valid operator. But it doesn't seem to work.

    Can anyone help with how a conditional expression can be written in CDF?

    Thanks,

    -Haydar

    PS: The AEL document gives an example expression with a function called "magic(c)". Does anyone have an example how/where a similar function can be define.

    Filed under: , ,
    • Post Points: 5
Page 1 of 1 (1 items)
Sort Posts:
Started by hkutuk at 22 Jan 2009 11:56 AM. Topic has 0 replies.