amplifier spice netlist

Below shows the contents of: amplifier.spice

* amplifier parameter sensitivity test

.param bias_current = 400u

m1 vout in 0 0 nmos_3p3 L=1u W=69.985u
m2 vout ibias vdd vdd pmos_3p3 L=0.28u W=100u
m3 ibias ibias vdd vdd pmos_3p3 L=0.28u W=100u

ibias  ibias 0 bias_current
cl     vout   0 7pF

vdd vdd 0 1.8
vin in  0 sin(0.9600 0.01 100k)

* Use "nominal.ngspice", which disables randomization and uses default global params for BSIM4
.INCLUDE "jlpkg://GF180MCUPDK/model/design.ngspice"
.LIB "jlpkg://GF180MCUPDK/model/sm141064.ngspice" typical

.TRAN 1e-9 2.0e-5
.END