Spectre and Spice
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
Spectre and Spice

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
Lychak Vladlen
Guest





Posted: Tue Nov 02, 2004 5:56 am    Post subject: Spectre and Spice Reply with quote

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

Back to top
fogh
Guest





Posted: Thu Nov 04, 2004 9:22 am    Post subject: Re: Spectre and Spice Reply with quote

Lychak Vladlen wrote:
Quote:
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)
Back to top
Andrew Beckett
Guest





Posted: Fri Nov 05, 2004 11:15 am    Post subject: Re: Spectre and Spice Reply with quote

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:

Quote:
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)


Back to top
fogh
Guest





Posted: Fri Nov 05, 2004 4:04 pm    Post subject: Re: Spectre and Spice Reply with quote

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:
Quote:
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)

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Powered by phpBB