The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Simulators >> Circuit Simulators >> How to run corner analysis over parameter analysis https://designers-guide.org/forum/YaBB.pl?num=1195191246 Message started by Julian18 on Nov 15th, 2007, 9:34pm |
Title: How to run corner analysis over parameter analysis Post by Julian18 on Nov 15th, 2007, 9:34pm Hi, there: I try to run Corner analysis over parameter analysis like this loadPcf("xxxxx.pcf") parameterAnalysis("id" ?values '(90u 100u 110u)) cornerRun() cornerMeas() but the results have no parameter result. only corner simulation result. How to do a corner analysis over parameter analysis? Thanks |
Title: Re: How to run corner analysis over parameter anal Post by Julian18 on Nov 17th, 2007, 5:34am Hi, I try to overcome this but .... I think I have done something dumb as shown below foreach(device '("tt" "ss" "ff") foreach(element '("typ" "min" "max") modelFile( '("/xx/xx/1.scs" sprintf(nil "%s" device)) '("/xx/xx/2.scs" sprintf(nil "%s" element)) ) paramAnalysis("id" ?values '(90u 100u 110u) paramAnalysis("vd" ?values '(1.62u 1.8u))) paramRun() ) ) which does not work, seems that foreach statement can not be nested and the sprintf can not give the model file a right section definition. Can someone give me some tested script to do all that job? It is such a tedious work to manually write down several hundreds corners definition in a pcf file. Thanks |
Title: Re: How to run corner analysis over parameter anal Post by Julian18 on Nov 20th, 2007, 7:22pm any ideas? :) |
Title: Re: How to run corner analysis over parameter anal Post by pancho_hideboo on Nov 20th, 2007, 9:33pm You should read manual. I don't think nested foreach statement can't work. Rather you should rewrite like following: modelFile( list( "/xx/xx/1.scs" sprintf(nil "%s" device) ) list( "/xx/xx/2.scs" sprintf(nil "%s" element) ) ) or modelFile( list( "/xx/xx/1.scs" sprintf(nil "\"%s\"" device) ) list( "/xx/xx/2.scs" sprintf(nil "\"%s\"" element) ) ) I don't check which is appropriate. But I think first one is appropriate. About tool usage, read manual or contact with technical support of EDA vendor. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |