summaryrefslogtreecommitdiff
path: root/CMOS/monadic_decoder.asc
blob: 1a92702b5e1f7d7624adf8518a925929c7abb14f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
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