The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> mismatch analysis using Monte Carlo
https://designers-guide.org/forum/YaBB.pl?num=1185906852

Message started by gayu on Jul 31st, 2007, 11:34am

Title: mismatch analysis using Monte Carlo
Post by gayu on Jul 31st, 2007, 11:34am

Hi,

While doing montecarlo simulation, I could see the variation in parameters during process variation but not during the mismatch analysis.I was looking into the Cadence's Known problem and solutions guide. Corresponding to this I created a subcircuit for my nmos as

inline subckt mosmod (d g s b)
parameters du0_n_12_hsl130e= m1*(-0.000045)+ m5*(-0.000015)-0.00002
parameters dpu0_n_12_hsl130e= ((m3+m4)/2)*0.000000000000000025-0.000000000000000025
parameters dpvth0_n_12_hsl130e= ((m3+m4)/2)* 0.00000000000000004-0.00000000000000001
mosmod (d g s b) n_12_hsl130e
model n_12_hsl130e bsim3v3 type=n
ends mosmod

where I vary m1-m5 inside the mismatch block of statistics block. I'm getting an error message saying Bad subckt mosmod..

Title: Re: mismatch analysis using Monte Carlo
Post by Geoffrey_Coram on Aug 1st, 2007, 4:57am

Looks to me that the parameters of the inline subckt aren't actually being used...

So, first thing to try is to delete those parameter declarations and see if that works.  If so, then check your parameter declarations (especially the correct way to reference values from the statistics block); if not, then check the syntax of inline subckts.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.