Home > Community > Forums > Custom IC Design > CDF 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: *

 CDF parameters 

Last post Thu, Feb 11 2010 8:00 PM by simbamford. 3 replies.
Started by simbamford 10 Feb 2010 03:55 PM. Topic has 3 replies and 1829 views
Page 1 of 1 (4 items)
Sort Posts:
  • Wed, Feb 10 2010 3:55 PM

    CDF parameters Reply
    I've created a component with a pPar("...") parameter, and I've defined that parameter in CDF (as being a base parameter of type float). Then I've created a schematic with 3 instances of this component and I can go into the properties of each of them individually and set the value of the parameter to a number. What I'd like to be able to do at this point is use a variable name or expression for these parameters and then set this in the ADE, but when I try to change the numerical value of the parameter to an expression it won't let me. What could the problem be?

    Thanks,

    Sim

    • Post Points: 20
  • Wed, Feb 10 2010 10:28 PM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,598
    • Points 16,075
    Re: CDF parameters Reply

     Hi Sim,

    I think that the dataType of the parameter would need to be "string" in order for pPar and design variables to work. Can you try this and send a reply to the forum?

    Regards,

    Lawrence.

    Filed under:
    • Post Points: 20
  • Wed, Feb 10 2010 10:35 PM

    Re: CDF parameters Reply
    You'll also need to set parseAsCEL to "yes" if you want to enter expressions (as well is being a string, as Lawrence said), and most likely parseAsNumber to "yes" as well.

    Regards,

    Andrew
    • Post Points: 20
  • Thu, Feb 11 2010 8:00 PM

    Re: CDF parameters Reply
    It works now - thanks very much both of you.
    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by simbamford at 10 Feb 2010 03:55 PM. Topic has 3 replies.