summaryrefslogtreecommitdiff
path: root/CMOS/xor.asc
blob: a8263061f5db908d13fe82267e2a4b5f5f12e3c5 (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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
Version 4
SHEET 1 1472 724
WIRE -432 -224 -480 -224
WIRE -80 -224 -352 -224
WIRE 176 -224 -80 -224
WIRE -480 -192 -480 -224
WIRE -80 -160 -80 -224
WIRE 176 -160 176 -224
WIRE -128 -144 -176 -144
WIRE 128 -144 80 -144
WIRE 464 -112 272 -112
WIRE 1008 -112 464 -112
WIRE 1392 -112 1008 -112
WIRE -176 -48 -176 -144
WIRE -176 -48 -480 -48
WIRE 16 -48 -176 -48
WIRE 368 -48 16 -48
WIRE 736 -48 576 -48
WIRE 1280 -48 1120 -48
WIRE 80 0 80 -144
WIRE 80 0 -272 0
WIRE 640 0 80 0
WIRE -80 32 -80 -64
WIRE 176 32 176 -64
WIRE 464 32 464 -112
WIRE 736 32 736 -48
WIRE 1008 32 1008 -112
WIRE 1280 32 1280 -48
WIRE -480 48 -480 -48
WIRE -480 48 -560 48
WIRE -432 48 -480 48
WIRE -272 48 -272 0
WIRE -272 48 -320 48
WIRE -128 48 -224 48
WIRE 128 48 80 48
WIRE 368 112 368 -48
WIRE 416 112 368 112
WIRE 640 112 640 0
WIRE 688 112 640 112
WIRE 960 112 912 112
WIRE 1232 112 1184 112
WIRE -272 208 -272 48
WIRE -176 208 -272 208
WIRE -80 208 -80 128
WIRE 176 208 176 128
WIRE 176 208 -80 208
WIRE 272 208 272 -112
WIRE 272 208 176 208
WIRE -80 288 -80 208
WIRE 176 288 176 208
WIRE 464 288 464 128
WIRE 736 288 736 128
WIRE 1008 288 1008 128
WIRE 1280 288 1280 128
WIRE -480 368 -560 368
WIRE -432 368 -480 368
WIRE -224 368 -224 48
WIRE -224 368 -320 368
WIRE -176 368 -176 208
WIRE -128 368 -176 368
WIRE 80 368 80 48
WIRE 128 368 80 368
WIRE 368 368 368 112
WIRE 416 368 368 368
WIRE 640 368 640 112
WIRE 688 368 640 368
WIRE 912 368 912 112
WIRE 960 368 912 368
WIRE 1184 368 1184 112
WIRE 1232 368 1184 368
WIRE 464 416 464 384
WIRE 576 416 576 -48
WIRE 576 416 464 416
WIRE 1008 416 1008 384
WIRE 1120 416 1120 -48
WIRE 1120 416 1008 416
WIRE -480 464 -480 368
WIRE 80 464 80 368
WIRE 80 464 -480 464
WIRE 912 464 912 368
WIRE 912 464 80 464
WIRE -80 480 -80 384
WIRE 176 480 176 384
WIRE 736 512 736 384
WIRE 1280 512 1280 384
WIRE -224 560 -224 368
WIRE -128 560 -224 560
WIRE 16 560 16 -48
WIRE 128 560 16 560
WIRE -224 608 -224 560
WIRE 1184 608 1184 368
WIRE 1184 608 -224 608
WIRE -432 640 -480 640
WIRE -80 640 -80 576
WIRE -80 640 -352 640
WIRE 176 640 176 576
WIRE 176 640 -80 640
WIRE -480 672 -480 640
FLAG -480 -192 0
FLAG -480 672 0
FLAG 736 512 0
FLAG 1280 512 0
FLAG -560 48 A
IOPIN -560 48 In
FLAG -560 368 B
IOPIN -560 368 In
FLAG 1392 -112 Y
IOPIN 1392 -112 Out
SYMBOL pmos -128 -64 M180
SYMATTR InstName M1
SYMATTR Value P-ENH
SYMBOL pmos -128 128 M180
SYMATTR InstName M2
SYMATTR Value P-ENH
SYMBOL pmos 128 -64 M180
SYMATTR InstName M3
SYMATTR Value P-ENH
SYMBOL pmos 128 128 M180
SYMATTR InstName M4
SYMATTR Value P-ENH
SYMBOL nmos -128 288 R0
SYMATTR InstName M5
SYMATTR Value N-ENH
SYMBOL nmos -128 480 R0
SYMATTR InstName M6
SYMATTR Value N-ENH
SYMBOL nmos 128 288 R0
SYMATTR InstName M7
SYMATTR Value N-ENH
SYMBOL nmos 128 480 R0
SYMATTR InstName M8
SYMATTR Value N-ENH
SYMBOL voltage -336 -224 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 -336 640 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 nmos 688 32 R0
SYMATTR InstName M9
SYMATTR Value N-DLOW
SYMBOL nmos 416 32 R0
SYMATTR InstName M10
SYMATTR Value N-DLOW
SYMBOL pmos 416 288 R0
SYMATTR InstName M11
SYMATTR Value P-DLOW
SYMBOL pmos 688 288 R0
SYMATTR InstName M12
SYMATTR Value P-DLOW
SYMBOL standard_inverter -384 0 R0
SYMATTR InstName X1
SYMBOL standard_inverter -384 320 R0
SYMATTR InstName X2
SYMBOL nmos 960 32 R0
SYMATTR InstName M13
SYMATTR Value N-DLOW
SYMBOL nmos 1232 32 R0
SYMATTR InstName M14
SYMATTR Value N-DLOW
SYMBOL pmos 960 288 R0
SYMATTR InstName M15
SYMATTR Value P-DLOW
SYMBOL pmos 1232 288 R0
SYMATTR InstName M16
SYMATTR Value P-DLOW
TEXT -64 -296 Left 0 !.inc ./custom.mos