From dfc268e0863c913a1b8726cd54eea3b40caf7c67 Mon Sep 17 00:00:00 2001 From: rahulp13 Date: Tue, 3 Mar 2020 05:31:58 +0530 Subject: upgrade ngspice to v31 --- Windows/spice/examples/vdmos/inv_vdmos_dc.cir | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Windows/spice/examples/vdmos/inv_vdmos_dc.cir (limited to 'Windows/spice/examples/vdmos/inv_vdmos_dc.cir') diff --git a/Windows/spice/examples/vdmos/inv_vdmos_dc.cir b/Windows/spice/examples/vdmos/inv_vdmos_dc.cir new file mode 100644 index 00000000..d81d8f54 --- /dev/null +++ b/Windows/spice/examples/vdmos/inv_vdmos_dc.cir @@ -0,0 +1,25 @@ +*****************==== Inverter ====******************* +*********** VDMOS inverter dc **************************** +vdd 1 0 5 +vss 4 0 0 + +.subckt inv out in vdd vss +mp1 out in vdd p1 +mn1 out in vss n1 +.ends + +xinv 3 2 1 4 inv + +Vin 2 0 0 + +.dc Vin 0 5 0.05 + +.control +run +* current and output in a single plot +plot v(2) v(3) vss#branch +.endc + +.model N1 vdmos cgdmin=0.2p cgdmax=1p a=2 cgs=0.5p rg=5k +.model P1 vdmos cgdmin=0.2p cgdmax=1p a=2 cgs=0.5p rg=5k pchan +.end -- cgit