summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMOS/decrement.asc93
1 files changed, 93 insertions, 0 deletions
diff --git a/CMOS/decrement.asc b/CMOS/decrement.asc
new file mode 100644
index 0000000..b90fa26
--- /dev/null
+++ b/CMOS/decrement.asc
@@ -0,0 +1,93 @@
+Version 4
+SHEET 1 880 680
+WIRE -336 -192 -400 -192
+WIRE 144 -192 -256 -192
+WIRE 400 -192 144 -192
+WIRE 144 -144 144 -192
+WIRE 96 -128 16 -128
+WIRE 144 -16 144 -48
+WIRE 672 -16 144 -16
+WIRE 768 -16 672 -16
+WIRE 144 32 144 -16
+WIRE -400 48 -400 -192
+WIRE -400 48 -464 48
+WIRE -336 48 -400 48
+WIRE 16 48 16 -128
+WIRE 16 48 -256 48
+WIRE -464 96 -464 48
+WIRE 16 112 16 48
+WIRE 96 112 16 112
+WIRE 144 160 144 128
+WIRE 400 208 400 -192
+WIRE 672 208 672 -16
+WIRE 352 224 304 224
+WIRE 224 240 192 240
+WIRE 144 288 144 256
+WIRE 624 288 560 288
+WIRE 224 320 224 240
+WIRE 400 320 400 304
+WIRE 400 320 224 320
+WIRE 592 320 400 320
+WIRE 16 352 16 112
+WIRE 304 352 304 224
+WIRE 304 352 16 352
+WIRE 560 352 560 288
+WIRE 560 352 304 352
+WIRE 400 368 400 320
+WIRE 672 368 672 304
+WIRE 304 448 304 352
+WIRE 352 448 304 448
+WIRE 592 448 592 320
+WIRE 624 448 592 448
+WIRE -400 512 -400 48
+WIRE -336 512 -400 512
+WIRE 400 512 400 464
+WIRE 400 512 -256 512
+WIRE 672 512 672 464
+WIRE 672 512 400 512
+FLAG -464 96 0
+FLAG 144 288 0
+SYMBOL nmos 96 32 R0
+SYMATTR InstName M1
+SYMATTR Value N-ELOW
+SYMBOL pmos 192 160 M0
+SYMATTR InstName M2
+SYMATTR Value P-DLOW
+SYMBOL pmos 96 -48 M180
+SYMATTR InstName M3
+SYMATTR Value P-ENH
+SYMBOL nmos 352 368 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+SYMBOL voltage -240 -192 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V1
+SYMATTR Value 1
+SYMBOL voltage -240 48 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V2
+SYMATTR Value SINE(0 1 2)
+SYMBOL voltage -240 512 R90
+WINDOW 0 -32 56 VBottom 0
+WINDOW 3 32 56 VTop 0
+WINDOW 123 0 0 Left 0
+WINDOW 39 0 0 Left 0
+SYMATTR InstName V3
+SYMATTR Value -1
+SYMBOL pmos 352 304 M180
+SYMATTR InstName M5
+SYMATTR Value P-ELOW
+SYMBOL nmos 624 208 R0
+SYMATTR InstName M6
+SYMATTR Value N-ELOW
+SYMBOL nmos 624 368 R0
+SYMATTR InstName M7
+SYMATTR Value N-ENH
+TEXT 536 -184 Left 0 !.inc ./custom.mos
+TEXT -484 578 Left 0 !.tran 1