The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 19th, 2024, 3:41am
Pages: 1
Send Topic Print
Problem with " assert " in Spectre (Read 1364 times)
AnalogAroma
Community Member
***
Offline



Posts: 32
Germany
Problem with " assert " in Spectre
Sep 25th, 2006, 1:13am
 
Hi All,

     We have tried to use assert statements to get additional warnings about the operationg region of a SiGe HBT. Well as shown below , the assert statement does  not work if an expression is  used.  Is there any work-around for this ?

########################
inline subckt npnA  c b e bn
parameters Nx=1
+ icmax=Nx*0.0025
* cannot refer to Nx or icmax in the assert statement

   npnA (c b e bn) npnA_vbic
* works with fixed values:
*    warnImax assert max=2*0.0025 min=-0.0025 duration=0 dev="npnA" param=ic message="Warning: collector current range exceeded" level=warning

*doesnt work with expression - no error msg, but won't flag a violation
*    warnImax assert max=Nx*0.0025 min=-icmax duration=0 expr=(npnA:ic) message="Warning: collector current range exceeded" level=warning

 model npnA_vbic vbic
 ...
ends npnA


#####################################

        With Regards,

                 Analog Aroma
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.