Results 1 to 4 of 4

Thread: Spectre and Spice

  1. #1
    Lychak Vladlen Guest

    Spectre and Spice

    867381554
    What is PSpice analogue of if-else structure in Spectre?
    How to make conditional decription of parameters in PSpice?

  2. #2
    fogh Guest
    Lychak Vladlen wrote:
    867381554
    What is PSpice analogue of if-else structure in Spectre?
    How to make conditional decription of parameters in PSpice?

    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)

  3. #3
    Andrew Beckett Guest
    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.

    On Wed, 03 Nov 2004 23:22:25 -0500, fogh <oghdayan_AT@xs4all_dot.nl>
    wrote:

    Lychak Vladlen wrote:
    867381554
    What is PSpice analogue of if-else structure in Spectre?
    How to make conditional decription of parameters in PSpice?

    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)

  4. #4
    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)


    Andrew Beckett wrote:
    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.

    On Wed, 03 Nov 2004 23:22:25 -0500, fogh <oghdayan_AT@xs4all_dot.nl
    wrote:


    Lychak Vladlen wrote:

    867381554
    What is PSpice analogue of if-else structure in Spectre?
    How to make conditional decription of parameters in PSpice?


    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)

Similar Threads

  1. Simulating Spice Netlists
    By nabil in forum Cadence
    Replies: 4
    Last Post: 11-10-2010, 08:09 PM
  2. Spectre to Spice
    By saby in forum Cadence
    Replies: 6
    Last Post: 11-10-2005, 05:10 PM
  3. SPICE syntax and grammar
    By in forum Cadence
    Replies: 2
    Last Post: 11-07-2005, 01:10 PM
  4. SPICE ERROR! Please help me Out
    By prashanth in forum Cadence
    Replies: 0
    Last Post: 06-06-2005, 01:10 AM
  5. Replies: 2
    Last Post: 06-03-2005, 03:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum