请问个为高手,用H-SPICE怎么对电流做交流扫描分析啊。假如我做一个电流镜电路,输入Iin ,电路及仿真结果,下面是网表 idb * Main circuit: idb M1 Iin Iin Gnd Gnd NMOS L=1u W=5u AD=66p PD=24u AS=66p PS=24u M2 N6 Iin Gnd Gnd NMOS L=1u W=5u AD=66p PD=24u AS=66p PS=24u M3 N1 N1 Gnd Gnd NMOS L=1u W=5u AD=66p PD=24u AS=66p PS=24u M4 N1 N1 Vdd Vdd PMOS L=1u W=12u AD=66p PD=24u AS=66p PS=24u i5 Vdd Iin 500uA i6 Vdd N6 500uA v7 N6 N1 0 * End of main circuit: idb
vdd vdd gnd 5v Iin iin1 iin dc 0 ac 1u vin gnd iin1 0 .ac dec 20 100 100meg .op .print ac idb(v7) .MODEL NMOS NMOS VTO=0.7 KP=110U GAMMA=0.4 LAMBDA=0.04 PHI=0.7 .MODEL PMOS PMOS VTO=-0.7 KP=50U GAMMA=0.57 LAMBDA=0.05 PHI=0.8 .END
做瞬时是没错的,请问做AC的话,输入和输出应该怎么样描述 |