Spectre and Spice

L

Lychak Vladlen

Guest
867381554
What is PSpice analogue of if-else structure in Spectre?
How to make conditional decription of parameters in PSpice?
 
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)
 
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)
 
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)
 

Welcome to EDABoard.com

Sponsor

Back
Top