sahel2303
Newbie level 4
Hello,
I have a model for a new technology for which I would like to add mismatch statistics blocks. So I wrote the .scs file as:
------------------------------------------------------------------------------
library potft
section typ
simulator lang=spectre
//
ahdl_include "pmos_array.va"
//
parameters deltaWp=0 //Width variations
+ deltaLp=0 //Length variation
subckt p_mos D G S
parameters W=10.0 L=5.0 F=5.0 NC=2
//
mos1 Di Gi Si p_mos_va W=W+deltaWp L=L+deltaLp NC=NC F=F
//
Vd (D Di) vsource dc=0 type=dc
Vg (G Gi) vsource dc=0 type=dc
Vs (Si S) vsource dc=0 type=dc
RI (Di Si) resistor r=100T
*
ends p_mos
statistics{
mismatch{
vary deltaWp dist=gauss std=5
vary deltaLp dist=gauss std=5
}
}
endsection
-----------------------------------------------------------------
When I run the montecarlo in ADELX (Virtuoso 6.1.3), I get a message "Monte carlo run stopped because no statistical data generated", and there is no results to see. on the other hand, in the log file it seems that the simulation has been done successfully for all the montecarlo points, although there is a warning: "mps error: MPSC:bad Handle: (nil)".
If someone help me with this problem I'd be really thankful.
PS. the file is just an example to be used to learn running the montecarlo analysis.
I have a model for a new technology for which I would like to add mismatch statistics blocks. So I wrote the .scs file as:
------------------------------------------------------------------------------
library potft
section typ
simulator lang=spectre
//
ahdl_include "pmos_array.va"
//
parameters deltaWp=0 //Width variations
+ deltaLp=0 //Length variation
subckt p_mos D G S
parameters W=10.0 L=5.0 F=5.0 NC=2
//
mos1 Di Gi Si p_mos_va W=W+deltaWp L=L+deltaLp NC=NC F=F
//
Vd (D Di) vsource dc=0 type=dc
Vg (G Gi) vsource dc=0 type=dc
Vs (Si S) vsource dc=0 type=dc
RI (Di Si) resistor r=100T
*
ends p_mos
statistics{
mismatch{
vary deltaWp dist=gauss std=5
vary deltaLp dist=gauss std=5
}
}
endsection
-----------------------------------------------------------------
When I run the montecarlo in ADELX (Virtuoso 6.1.3), I get a message "Monte carlo run stopped because no statistical data generated", and there is no results to see. on the other hand, in the log file it seems that the simulation has been done successfully for all the montecarlo points, although there is a warning: "mps error: MPSC:bad Handle: (nil)".
If someone help me with this problem I'd be really thankful.
PS. the file is just an example to be used to learn running the montecarlo analysis.
Last edited: