Spectre and Spice

Discussion in 'Cadence' started by Lychak Vladlen, Nov 2, 2004.

  1. 867381554
    What is PSpice analogue of if-else structure in Spectre?
    How to make conditional decription of parameters in PSpice?
     
    Lychak Vladlen, Nov 2, 2004
    #1
  2. Lychak Vladlen

    fogh Guest

    same syntax as any spice AFAIK, just use
    testexpression?trueval:falseval

    there is also a "structural if statement" but I found it rather limited
    and autistic last time I tried.
    see
    spectre -h expressions
    and
    spectre -h if
    for more.
    (nb:I am not joking)
     
    fogh, Nov 4, 2004
    #2
  3. Frederic,

    Lychak was asking how to do this in pspice, not spectre...

    (sorry, I don't know the answer, as I rarely use pspice).

    Andrew.
     
    Andrew Beckett, Nov 5, 2004
    #3
  4. Lychak Vladlen

    fogh Guest

    Oopsie. I should not answer NGs so late at night.

    Lychak,

    you can use in Pspice either this syntax
    testexpression?trueval:falseval
    or that syntax
    IF(testexpression,trueval,falseval)
     
    fogh, Nov 5, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.