IF-ELSEIF_ENDIF statement in HSPICE

Status
Not open for further replies.

zeldazzz

Junior Member level 3
Joined
Jun 23, 2005
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,445
Hi guys,
I check Hspice manual. These statements are there. I tried to use it but no luck. Here is what i did. My intention is to select one of these analyse. Is this doable? Or it is just my imagination. Do need advice for you guys. Thanks.

.param ooo=1
.if (ooo==0)
.dc vin 0 1 0.01
.else
.dc vin 4 5 0.01
.endif
 

Gugs,
Come on. Nobody used it before! Thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…