Example 3.2
1. Schematic
2. HSPICE Netlist
* Example 3.2
* MOS model
.include p35_cmos_models_tt.inc
* main circuit
mn1 3 4 0 0 nmos L=0.4u W=10u
mp2 3 2 1 1 pmos L=0.4u W=10u
mp3 2 2 1 1 pmos L=0.4u W=10u
* current source
id 2 0 dc 100u
* voltage sources
Vdd 1 0 dc 3.3
vin 4 0 dc 0.762 ac 1
** vin dc value adjusted to ensure mn1 is in active mode
* analysis
.op
.ac dec 10 1k 100G
* options
.options post
.end