summaryrefslogtreecommitdiff
path: root/digital ciruits/cmos_nand/cmos_nand.cir
diff options
context:
space:
mode:
Diffstat (limited to 'digital ciruits/cmos_nand/cmos_nand.cir')
-rw-r--r--digital ciruits/cmos_nand/cmos_nand.cir16
1 files changed, 16 insertions, 0 deletions
diff --git a/digital ciruits/cmos_nand/cmos_nand.cir b/digital ciruits/cmos_nand/cmos_nand.cir
new file mode 100644
index 0000000..b426375
--- /dev/null
+++ b/digital ciruits/cmos_nand/cmos_nand.cir
@@ -0,0 +1,16 @@
+.title KiCad schematic
+V1 A 0 dc 0 pulse(0 3.3 0 0 0 100m 200m)
+V2 VDD 0 3.3
+M1 Out A VDD VDD MPMOS
+M2 Out A 1 1 MNMOS
+M4 Out B VDD VDD MPMOS
+M3 1 B 0 0 MNMOS
+V3 B 0 dc 0 pulse(0 3.3 0 0 0 50m 100m)
+.tran 1m 400m
+.model mnmos nmos level=8 version=3.3.0
+.model mpmos pmos level=8 version=3.3.0
+.control
+run
+plot v(a)+5 v(b)+10 v(out)
+.endc
+.end