summaryrefslogtreecommitdiff
path: root/CMOS
diff options
context:
space:
mode:
Diffstat (limited to 'CMOS')
-rw-r--r--CMOS/monadic_decoder.asc80
-rw-r--r--CMOS/monadic_decoder.asy29
2 files changed, 109 insertions, 0 deletions
diff --git a/CMOS/monadic_decoder.asc b/CMOS/monadic_decoder.asc
new file mode 100644
index 0000000..1a92702
--- /dev/null
+++ b/CMOS/monadic_decoder.asc
@@ -0,0 +1,80 @@
+Version 4
+SHEET 1 880 680
+WIRE -48 -144 -112 -144
+WIRE 224 -144 64 -144
+WIRE 288 -144 224 -144
+WIRE 64 -64 32 -64
+WIRE 336 -64 144 -64
+WIRE 32 -32 32 -64
+WIRE 336 -32 336 -64
+WIRE 288 -16 160 -16
+WIRE -112 32 -112 -144
+WIRE -112 32 -224 32
+WIRE 336 80 336 64
+WIRE 224 96 224 -144
+WIRE 288 96 224 96
+WIRE 336 208 336 176
+WIRE 576 208 336 208
+WIRE 720 208 576 208
+WIRE -112 240 -112 32
+WIRE 160 240 160 -16
+WIRE 160 240 -112 240
+WIRE 464 240 160 240
+WIRE 336 272 336 208
+WIRE 576 272 576 208
+WIRE 224 352 224 96
+WIRE 288 352 224 352
+WIRE 464 352 464 240
+WIRE 528 352 464 352
+WIRE 64 400 32 400
+WIRE 336 400 336 368
+WIRE 336 400 144 400
+WIRE 576 400 576 368
+WIRE 576 400 336 400
+WIRE 32 432 32 400
+WIRE -112 496 -112 240
+WIRE -48 496 -112 496
+WIRE 288 496 176 496
+FLAG -224 32 A
+IOPIN -224 32 In
+FLAG 288 -144 Y1
+IOPIN 288 -144 Out
+FLAG 288 496 Y3
+IOPIN 288 496 Out
+FLAG 32 -32 0
+FLAG 32 432 0
+FLAG 720 208 Y2
+IOPIN 720 208 Out
+SYMBOL ternary-logic\\CMOS\\negative_threshold_inverter 0 -192 R0
+SYMATTR InstName U1
+SYMBOL ternary-logic\\CMOS\\positive_threshold_inverter 0 448 R0
+SYMATTR InstName U2
+SYMBOL ternary-logic\\CMOS\\negative_threshold_inverter 112 448 R0
+SYMATTR InstName U3
+SYMBOL voltage 160 -64 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 160 400 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 -1
+SYMBOL pmos 288 64 M180
+SYMATTR InstName M1
+SYMATTR Value P-ELOW
+SYMBOL pmos 288 176 M180
+SYMATTR InstName M2
+SYMATTR Value P-ENH
+SYMBOL nmos 288 272 R0
+SYMATTR InstName M3
+SYMATTR Value N-ELOW
+SYMBOL nmos 528 272 R0
+SYMATTR InstName M4
+SYMATTR Value N-ENH
+TEXT 496 -120 Left 0 !.inc ./custom.mos
diff --git a/CMOS/monadic_decoder.asy b/CMOS/monadic_decoder.asy
new file mode 100644
index 0000000..d3c4a72
--- /dev/null
+++ b/CMOS/monadic_decoder.asy
@@ -0,0 +1,29 @@
+Version 4
+SymbolType CELL
+LINE Normal 64 80 32 80
+LINE Normal 32 32 -32 32
+LINE Normal 32 128 32 32
+LINE Normal -32 128 32 128
+LINE Normal -32 32 -32 128
+LINE Normal 64 48 32 48
+LINE Normal 64 112 32 112
+LINE Normal -64 80 -32 80
+TEXT -20 80 Left 0 =
+TEXT 3 46 Left 0 -
+TEXT 9 46 Left 0 -
+TEXT 10 80 Center 0 0
+TEXT 10 112 Center 0 +
+SYMATTR Prefix X
+SYMATTR Description Monadic decoder gate
+PIN -64 80 NONE 8
+PINATTR PinName A
+PINATTR SpiceOrder 1
+PIN 64 48 NONE 8
+PINATTR PinName Y1
+PINATTR SpiceOrder 2
+PIN 64 80 NONE 8
+PINATTR PinName Y2
+PINATTR SpiceOrder 3
+PIN 64 112 NONE 8
+PINATTR PinName Y3
+PINATTR SpiceOrder 4