smita1811
Newbie level 6
I have created a file for cmos inverter using ngspice.
The ngspice netlist is as follows:
For noise analysis I have done the following steps:
>ngspice filename
>noise v(vout) vin1 dec 10 1MegHz 100MegHz
>display
>print inoise_total, onoise_total
The values for inoise_total is 1.032053e-03
The values for onoise_total is 1.217160e-14
I an confused about that the equivalent input noise is greater than the integrated output noise. Are the results feasible? What mistake am i doing?
Please help me.
The ngspice netlist is as follows:
Code:
*******************************************
.include technologyfiles/16nmLP.pm ; LP stands for Low Power. It has high tox and high vth values. nmoslp and pmoslp refers to this file
.param psu = 0.9
.param len = 16n
.param wpmos=250n wnmos=100n
vsupply vdd 0 {psu}
vgnd vss 0 0V
vin1 v1 vss dc 0 ac 0.9V sin(0V 0.9V 100MegHz 20ns 0)
*output inverter
Mp1 vout v1 vdd vdd pmoslp l={len} w={wpmos} ; pmos
Mn1 vout v1 vss vss nmoslp l={len} w={wnmos}; nmos
Cload vout vss1 200f
vdc0 vss1 vss dc 0V
.End
***********************************
For noise analysis I have done the following steps:
>ngspice filename
>noise v(vout) vin1 dec 10 1MegHz 100MegHz
>display
>print inoise_total, onoise_total
The values for inoise_total is 1.032053e-03
The values for onoise_total is 1.217160e-14
I an confused about that the equivalent input noise is greater than the integrated output noise. Are the results feasible? What mistake am i doing?
Please help me.