The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> Circuit Simulators >> Problem with " assert " in Spectre https://designers-guide.org/forum/YaBB.pl?num=1159171986 Message started by AnalogAroma on Sep 25th, 2006, 1:13am |
Title: Problem with " assert " in Spectre Post by AnalogAroma on 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 |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |