summaryrefslogtreecommitdiff
path: root/library/SubcircuitLibrary/Logic_Gates/XOR.sch
blob: d321cbca63c73e0b3962d05dc74aa7284215a9b0 (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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
EESchema Schematic File Version 2
LIBS:adc-dac
LIBS:memory
LIBS:xilinx
LIBS:microcontrollers
LIBS:dsp
LIBS:microchip
LIBS:analog_switches
LIBS:motorola
LIBS:texas
LIBS:intel
LIBS:audio
LIBS:interface
LIBS:digital-audio
LIBS:philips
LIBS:display
LIBS:cypress
LIBS:siliconi
LIBS:opto
LIBS:atmel
LIBS:contrib
LIBS:power
LIBS:eSim_Plot
LIBS:transistors
LIBS:conn
LIBS:eSim_User
LIBS:regul
LIBS:74xx
LIBS:cmos4000
LIBS:eSim_Analog
LIBS:eSim_Devices
LIBS:eSim_Digital
LIBS:eSim_Hybrid
LIBS:eSim_Miscellaneous
LIBS:eSim_Power
LIBS:eSim_Sources
LIBS:eSim_Subckt
LIBS:eSim_Nghdl
LIBS:eSim_Ngveri
LIBS:eSim_SKY130
LIBS:eSim_SKY130_Subckts
EELAYER 25 0
EELAYER END
$Descr A0 46811 33110
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L mosfet_n M2
U 1 1 66556E9B
P 12050 13350
F 0 "M2" H 12050 13200 50  0000 R CNN
F 1 "mosfet_n" H 12150 13300 50  0000 R CNN
F 2 "" H 12350 13050 29  0000 C CNN
F 3 "" H 12150 13150 60  0000 C CNN
	1    12050 13350
	1    0    0    -1  
$EndComp
$Comp
L mosfet_n M8
U 1 1 66557044
P 13750 13350
F 0 "M8" H 13750 13200 50  0000 R CNN
F 1 "mosfet_n" H 13850 13300 50  0000 R CNN
F 2 "" H 14050 13050 29  0000 C CNN
F 3 "" H 13850 13150 60  0000 C CNN
	1    13750 13350
	1    0    0    -1  
$EndComp
$Comp
L mosfet_n M7
U 1 1 66557086
P 13750 12400
F 0 "M7" H 13750 12250 50  0000 R CNN
F 1 "mosfet_n" H 13850 12350 50  0000 R CNN
F 2 "" H 14050 12100 29  0000 C CNN
F 3 "" H 13850 12200 60  0000 C CNN
	1    13750 12400
	1    0    0    -1  
$EndComp
$Comp
L mosfet_n M1
U 1 1 665570BE
P 12050 12400
F 0 "M1" H 12050 12250 50  0000 R CNN
F 1 "mosfet_n" H 12150 12350 50  0000 R CNN
F 2 "" H 12350 12100 29  0000 C CNN
F 3 "" H 12150 12200 60  0000 C CNN
	1    12050 12400
	1    0    0    -1  
$EndComp
Wire Wire Line
	12250 12800 12250 13350
Wire Wire Line
	12250 13750 12250 14000
Wire Wire Line
	12250 14000 13950 14000
Wire Wire Line
	13950 14000 13950 13750
Wire Wire Line
	14050 13700 14050 13800
Wire Wire Line
	14050 13800 13950 13800
Connection ~ 13950 13800
Wire Wire Line
	12350 13700 12350 13800
Wire Wire Line
	12350 13800 12250 13800
Connection ~ 12250 13800
Wire Wire Line
	13950 12800 13950 13350
Wire Wire Line
	14050 12750 14050 12900
Wire Wire Line
	14050 12900 13950 12900
Connection ~ 13950 12900
Wire Wire Line
	12350 12750 12350 12900
Wire Wire Line
	12350 12900 12250 12900
Connection ~ 12250 12900
Wire Wire Line
	12250 12400 12250 12200
Wire Wire Line
	12250 12200 13950 12200
Wire Wire Line
	13950 12200 13950 12400
$Comp
L mosfet_p M4
U 1 1 6655720E
P 12100 10900
F 0 "M4" H 12050 10950 50  0000 R CNN
F 1 "mosfet_p" H 12150 11050 50  0000 R CNN
F 2 "" H 12350 11000 29  0000 C CNN
F 3 "" H 12150 10900 60  0000 C CNN
	1    12100 10900
	1    0    0    -1  
$EndComp
$Comp
L mosfet_p M6
U 1 1 665572B8
P 13700 10900
F 0 "M6" H 13650 10950 50  0000 R CNN
F 1 "mosfet_p" H 13750 11050 50  0000 R CNN
F 2 "" H 13950 11000 29  0000 C CNN
F 3 "" H 13750 10900 60  0000 C CNN
	1    13700 10900
	1    0    0    -1  
$EndComp
$Comp
L mosfet_p M3
U 1 1 665572F4
P 12100 9600
F 0 "M3" H 12050 9650 50  0000 R CNN
F 1 "mosfet_p" H 12150 9750 50  0000 R CNN
F 2 "" H 12350 9700 29  0000 C CNN
F 3 "" H 12150 9600 60  0000 C CNN
	1    12100 9600
	1    0    0    -1  
$EndComp
$Comp
L mosfet_p M5
U 1 1 6655734D
P 13700 9650
F 0 "M5" H 13650 9700 50  0000 R CNN
F 1 "mosfet_p" H 13750 9800 50  0000 R CNN
F 2 "" H 13950 9750 29  0000 C CNN
F 3 "" H 13750 9650 60  0000 C CNN
	1    13700 9650
	1    0    0    -1  
$EndComp
Wire Wire Line
	12350 9750 12500 9750
Wire Wire Line
	12250 9400 12250 9200
Wire Wire Line
	12250 9200 13850 9200
Wire Wire Line
	13850 9200 13850 9450
Wire Wire Line
	13950 9800 14050 9800
Wire Wire Line
	14050 9800 14050 9350
Wire Wire Line
	14050 9350 13850 9350
Connection ~ 13850 9350
Wire Wire Line
	12500 9750 12500 9350
Wire Wire Line
	12500 9350 12250 9350
Connection ~ 12250 9350
Wire Wire Line
	12250 9800 12250 10000
Wire Wire Line
	12250 10000 13850 10000
Wire Wire Line
	13850 10000 13850 9850
Wire Wire Line
	12250 10700 12250 10500
Wire Wire Line
	12250 10500 13850 10500
Wire Wire Line
	13850 10500 13850 10700
Wire Wire Line
	12250 11100 12250 11400
Wire Wire Line
	12250 11400 13850 11400
Wire Wire Line
	13850 11400 13850 11100
Wire Wire Line
	13100 10000 13100 10500
Connection ~ 13100 10500
Connection ~ 13100 10000
Wire Wire Line
	13100 11400 13100 12200
Connection ~ 13100 12200
Connection ~ 13100 11400
Wire Wire Line
	13100 11800 14550 11800
Connection ~ 13100 11800
Wire Wire Line
	13950 11050 14100 11050
Wire Wire Line
	14100 11050 14100 10650
Wire Wire Line
	14100 10650 13850 10650
Connection ~ 13850 10650
Wire Wire Line
	12350 11050 12600 11050
Wire Wire Line
	12600 11050 12600 10650
Wire Wire Line
	12600 10650 12250 10650
Connection ~ 12250 10650
Wire Wire Line
	13100 14000 13100 14300
Connection ~ 13100 14000
Wire Wire Line
	13100 7750 13100 9200
Connection ~ 13100 9200
$Comp
L NOT_Gate X1
U 1 1 66557BCC
P 10150 10900
F 0 "X1" H 10750 10700 60  0000 C CNN
F 1 "NOT_Gate" H 10800 11100 60  0000 C CNN
F 2 "" H 10150 10900 60  0001 C CNN
F 3 "" H 10150 10900 60  0001 C CNN
	1    10150 10900
	1    0    0    -1  
$EndComp
$Comp
L NOT_Gate X2
U 1 1 66557CCA
P 10250 13550
F 0 "X2" H 10850 13350 60  0000 C CNN
F 1 "NOT_Gate" H 10900 13750 60  0000 C CNN
F 2 "" H 10250 13550 60  0001 C CNN
F 3 "" H 10250 13550 60  0001 C CNN
	1    10250 13550
	1    0    0    -1  
$EndComp
Wire Wire Line
	10500 10900 10500 9600
Wire Wire Line
	10500 9600 11950 9600
Wire Wire Line
	10500 10900 9800 10900
Wire Wire Line
	11200 10900 11950 10900
Wire Wire Line
	10450 10900 10450 12600
Wire Wire Line
	10450 12600 11950 12600
Connection ~ 10450 10900
Wire Wire Line
	11550 10900 11550 11850
Wire Wire Line
	11550 11850 12950 11850
Wire Wire Line
	12950 11850 12950 12600
Wire Wire Line
	12950 12600 13650 12600
Connection ~ 11550 10900
Wire Wire Line
	10600 13550 9450 13550
Wire Wire Line
	11300 13550 11400 13550
Wire Wire Line
	11400 13550 11400 13250
Wire Wire Line
	11400 13250 13650 13250
Wire Wire Line
	13650 13250 13650 13550
Wire Wire Line
	10450 13550 10450 14100
Wire Wire Line
	10450 14100 11950 14100
Wire Wire Line
	11950 14100 11950 13550
Connection ~ 10450 13550
Wire Wire Line
	10300 13550 10300 11600
Wire Wire Line
	10300 11600 13400 11600
Wire Wire Line
	13400 11600 13400 9650
Wire Wire Line
	13400 9650 13550 9650
Connection ~ 10300 13550
Wire Wire Line
	13550 10900 13550 12050
Wire Wire Line
	13550 12050 11350 12050
Wire Wire Line
	11350 12050 11350 13550
Connection ~ 11350 13550
$Comp
L GND #PWR01
U 1 1 665585BC
P 13100 14300
F 0 "#PWR01" H 13100 14050 50  0001 C CNN
F 1 "GND" H 13100 14150 50  0000 C CNN
F 2 "" H 13100 14300 50  0001 C CNN
F 3 "" H 13100 14300 50  0001 C CNN
	1    13100 14300
	1    0    0    -1  
$EndComp
$Comp
L GND #PWR02
U 1 1 66558632
P 14350 8700
F 0 "#PWR02" H 14350 8450 50  0001 C CNN
F 1 "GND" H 14350 8550 50  0000 C CNN
F 2 "" H 14350 8700 50  0001 C CNN
F 3 "" H 14350 8700 50  0001 C CNN
	1    14350 8700
	1    0    0    -1  
$EndComp
$Comp
L DC v1
U 1 1 665586B7
P 14350 8200
F 0 "v1" H 14150 8300 60  0000 C CNN
F 1 "DC" H 14150 8150 60  0000 C CNN
F 2 "R1" H 14050 8200 60  0000 C CNN
F 3 "" H 14350 8200 60  0000 C CNN
	1    14350 8200
	1    0    0    -1  
$EndComp
Wire Wire Line
	14350 7750 13100 7750
Wire Wire Line
	14350 8700 14350 8650
$Comp
L PORT U1
U 2 1 66558927
P 9200 13550
F 0 "U1" H 9250 13650 30  0000 C CNN
F 1 "PORT" H 9200 13550 30  0000 C CNN
F 2 "" H 9200 13550 60  0000 C CNN
F 3 "" H 9200 13550 60  0000 C CNN
	2    9200 13550
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 1 1 66558A72
P 9550 10900
F 0 "U1" H 9600 11000 30  0000 C CNN
F 1 "PORT" H 9550 10900 30  0000 C CNN
F 2 "" H 9550 10900 60  0000 C CNN
F 3 "" H 9550 10900 60  0000 C CNN
	1    9550 10900
	1    0    0    -1  
$EndComp
$Comp
L PORT U1
U 3 1 66558C28
P 14800 11800
F 0 "U1" H 14850 11900 30  0000 C CNN
F 1 "PORT" H 14800 11800 30  0000 C CNN
F 2 "" H 14800 11800 60  0000 C CNN
F 3 "" H 14800 11800 60  0000 C CNN
	3    14800 11800
	-1   0    0    -1  
$EndComp
$EndSCHEMATC