Hi, Do you have an example of what you are trying to do? You can embed if-else statements inside a subcircuit definition but, you cannot embed a subcircuit definition within if-else statements. For example, X1 D1 0 sub1 A=2 .... X2 D2 0 sub1 A=0 .subckt sub1 a b .if (A > 0) r1 a b 100 .else r1 a b 100 c a b 10p .endif .ends Tracy Barclay CAE Synopsys, Inc. -----Original Message----- From: si-list-bounce@xxxxxxxxxxxxx [mailto:si-list-bounce@xxxxxxxxxxxxx]On Behalf Of ElecQs quest Sent: Thursday, November 13, 2003 11:54 To: si-list@xxxxxxxxxxxxx Subject: [SI-LIST] Hspice subckt call Has anyone expereinced problems with Hspice when chosing between different subckts (to modify circuit topologies) using .IF statement? And is there a workaround (not using .Alter statement)? _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ------------------------------------------------------------------ To unsubscribe from si-list: si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field or to administer your membership from a web page, go to: //www.freelists.org/webpage/si-list For help: si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field List technical documents are available at: http:/www.si-list.org List archives are viewable at: //www.freelists.org/archives/si-list or at our remote archives: http://groups.yahoo.com/group/si-list/messages Old (prior to June 6, 2001) list archives are viewable at: http://www.qsl.net/wb6tpu ------------------------------------------------------------------ To unsubscribe from si-list: si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field or to administer your membership from a web page, go to: //www.freelists.org/webpage/si-list For help: si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field List technical documents are available at: http:/www.si-list.org List archives are viewable at: //www.freelists.org/archives/si-list or at our remote archives: http://groups.yahoo.com/group/si-list/messages Old (prior to June 6, 2001) list archives are viewable at: http://www.qsl.net/wb6tpu