neerav_mehan
Newbie level 6
hello ..................
i am writing the netlist of a inverter in tsice.... i want to run monte carlo simulation to measure the mean of the falltime, by taking the effect of threshold voltage variation.
...
* Main circuit: invert
c2 out Gnd 800ff
.include ml2_125mc.md
m1n out in Gnd Gnd nmos L=5u W=8u
m1p out in Vdd Vdd pmos L=5u W=12u
.measure tran falltime trig v(out) val=2.8 fall=1 targ v(out) val=0.2 fall=1
.param vto_n=unif(0.622490, 0.5, 1) vto_p=unif(-0.63025, 0.5, 1)
.tran 2n 600n sweep monte=10
.print tran in out
vdd Vdd Gnd 3.0
vin in Gnd pwl (0ns 0V 100ns 0V 105ns 3V 200ns 3V 205ns 0V 300ns
+ 0V 305ns 3V 400ns 3V 405ns 0V 500ns 0V 505ns 3V 600ns 3V)
* End of main circuit: invert
..........
Thus i have define the threshold parameter as a uniform distribution. According to this netlist threshold voltage should sweep with relative variation of 50%. But the simulator is taking only one value of the threshold voltage which is defined by the model file.
can anyone tell me is there anything wrong with this coding????? why simulator is not varying the parameter value??????
plz help me....
thanx in advance....
i am writing the netlist of a inverter in tsice.... i want to run monte carlo simulation to measure the mean of the falltime, by taking the effect of threshold voltage variation.
...
* Main circuit: invert
c2 out Gnd 800ff
.include ml2_125mc.md
m1n out in Gnd Gnd nmos L=5u W=8u
m1p out in Vdd Vdd pmos L=5u W=12u
.measure tran falltime trig v(out) val=2.8 fall=1 targ v(out) val=0.2 fall=1
.param vto_n=unif(0.622490, 0.5, 1) vto_p=unif(-0.63025, 0.5, 1)
.tran 2n 600n sweep monte=10
.print tran in out
vdd Vdd Gnd 3.0
vin in Gnd pwl (0ns 0V 100ns 0V 105ns 3V 200ns 3V 205ns 0V 300ns
+ 0V 305ns 3V 400ns 3V 405ns 0V 500ns 0V 505ns 3V 600ns 3V)
* End of main circuit: invert
..........
Thus i have define the threshold parameter as a uniform distribution. According to this netlist threshold voltage should sweep with relative variation of 50%. But the simulator is taking only one value of the threshold voltage which is defined by the model file.
can anyone tell me is there anything wrong with this coding????? why simulator is not varying the parameter value??????
plz help me....
thanx in advance....