Home > Community > Forums > Custom IC Design > Question about Parametric Sets

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

 Question about Parametric Sets 

Last post Thu, Jan 7 2010 4:22 PM by Andrew Beckett. 1 replies.
Started by Candido 07 Jan 2010 02:44 AM. Topic has 1 replies and 1329 views
Page 1 of 1 (2 items)
Sort Posts:
  • Thu, Jan 7 2010 2:44 AM

    • Candido
    • Not Ranked
    • Joined on Fri, Nov 28 2008
    • PORTO, Douro
    • Posts 1
    • Points 20
    Question about Parametric Sets Reply

    Hi!

    What about parametric sets?

    e.g.

    paramAnalysis("X" ?values set_x ?sweepType 'paramset paramAnalysis("Y" ?values set_y ?sweepType 'paramset))
    paramRun()

     How can i have access to data and the set of sweep values?

     

    Regards,

    Candido Duarte

     

    Filed under: ,
    • Post Points: 20
  • Thu, Jan 7 2010 4:22 PM

    Re: Question about Parametric Sets Reply

    Hi Candido,

    I split this post from the previous one, since it's a new question from a different user. It can get confusing to ask new questions on the back of another, old, thread.

    ocnPrint() will print out all the information about the sweeps along with whatever it is you're printing.

    You can also do something like this:

    data=v("/out")
    outerName=car(sweepNames(data))
    foreach(outerVal sweepValues(data)
      inner=value(data outerName outerVal)
      innerName=car(sweepNames(inner))
      ; will only be a single sweepValue if it's a paramset
      innerVal=car(sweepValues(inner))
      printf("SWEEP: %s=%L %s=%L\n" outerName outerVal innerName innerVal)
    )

    Regards,

    Andrew.

     

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Candido at 07 Jan 2010 02:44 AM. Topic has 1 replies.