%0.1b1
% A Simple MOSFET inverter
% Input voltage sources
Mvoltagesources sinwave 3 4
1 4
Ampl      f       delay     shift
0.5       1       0.0       0.5
1 0 4
% P-Mosfet
Mpmosfet simple 4 3
1 3
k          Vth     rd 
-1e-4     -0.1     1e6
1 3 2 3 
% N-Mosfet
Mnmosfet simple 4 3
1 3
k          Vth     rd 
1e-4       0.1     1e6
1 0 2 0
END
% Power supply
Mvoltagesources DC  3 1
1 1
V
1
3 0 5
END
