blob: f462218d3734b026fdce20217841568b06aeba7d (
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
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
|
EESchema Schematic File Version 4
LIBS:masterslave_jkff-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L sim_logic:CMOS_NAND X3
U 1 1 5B29F141
P 5450 3250
F 0 "X3" H 5650 2978 50 0000 C CNN
F 1 "CMOS_NAND" H 5650 2887 50 0000 C CNN
F 2 "" H 5450 3250 50 0001 C CNN
F 3 "" H 5450 3250 50 0001 C CNN
F 4 "X" H 5450 3250 50 0001 C CNN "Spice_Primitive"
F 5 "NAND" H 5450 3250 50 0001 C CNN "Spice_Model"
F 6 "Y" H 5450 3250 50 0001 C CNN "Spice_Netlist_Enabled"
F 7 "/home/akshay/Downloads/kicad-simulation-examples-master/libs/spice_models.lib" H 5450 3250 50 0001 C CNN "Spice_Lib_File"
1 5450 3250
1 0 0 -1
$EndComp
$Comp
L sim_logic:CMOS_NAND3 X1
U 1 1 5B29F238
P 3600 3300
F 0 "X1" H 3800 3028 50 0000 C CNN
F 1 "CMOS_NAND3" H 3800 2937 50 0000 C CNN
F 2 "" H 3600 3300 50 0001 C CNN
F 3 "" H 3600 3300 50 0001 C CNN
F 4 "X" H 3600 3300 50 0001 C CNN "Spice_Primitive"
F 5 "NAND3" H 3600 3300 50 0001 C CNN "Spice_Model"
F 6 "Y" H 3600 3300 50 0001 C CNN "Spice_Netlist_Enabled"
F 7 "/home/akshay/Downloads/kicad-simulation-examples-master/libs/spice_models.lib" H 3600 3300 50 0001 C CNN "Spice_Lib_File"
1 3600 3300
1 0 0 -1
$EndComp
$Comp
L sim_logic:CMOS_NAND3 X2
U 1 1 5B29F2F2
P 3650 4550
F 0 "X2" H 3850 4278 50 0000 C CNN
F 1 "CMOS_NAND3" H 3850 4187 50 0000 C CNN
F 2 "" H 3650 4550 50 0001 C CNN
F 3 "" H 3650 4550 50 0001 C CNN
F 4 "X" H 3650 4550 50 0001 C CNN "Spice_Primitive"
F 5 "NAND3" H 3650 4550 50 0001 C CNN "Spice_Model"
F 6 "Y" H 3650 4550 50 0001 C CNN "Spice_Netlist_Enabled"
F 7 "/home/akshay/Downloads/kicad-simulation-examples-master/libs/spice_models.lib" H 3650 4550 50 0001 C CNN "Spice_Lib_File"
1 3650 4550
1 0 0 -1
$EndComp
$Comp
L sim_logic:CMOS_NAND X4
U 1 1 5B29F3E9
P 5500 4500
F 0 "X4" H 5700 4228 50 0000 C CNN
F 1 "CMOS_NAND" H 5700 4137 50 0000 C CNN
F 2 "" H 5500 4500 50 0001 C CNN
F 3 "" H 5500 4500 50 0001 C CNN
F 4 "X" H 5500 4500 50 0001 C CNN "Spice_Primitive"
F 5 "NAND" H 5500 4500 50 0001 C CNN "Spice_Model"
F 6 "Y" H 5500 4500 50 0001 C CNN "Spice_Netlist_Enabled"
F 7 "/home/akshay/Downloads/kicad-simulation-examples-master/libs/spice_models.lib" H 5500 4500 50 0001 C CNN "Spice_Lib_File"
1 5500 4500
1 0 0 -1
$EndComp
$Comp
L sim_logic:CMOS_NAND X6
U 1 1 5B29F421
P 7050 3200
F 0 "X6" H 7250 2928 50 0000 C CNN
F 1 "CMOS_NAND" H 7250 2837 50 0000 C CNN
F 2 "" H 7050 3200 50 0001 C CNN
F 3 "" H 7050 3200 50 0001 C CNN
F 4 "X" H 7050 3200 50 0001 C CNN "Spice_Primitive"
F 5 "NAND" H 7050 3200 50 0001 C CNN "Spice_Model"
F 6 "Y" H 7050 3200 50 0001 C CNN "Spice_Netlist_Enabled"
F 7 "/home/akshay/Downloads/kicad-simulation-examples-master/libs/spice_models.lib" H 7050 3200 50 0001 C CNN "Spice_Lib_File"
1 7050 3200
1 0 0 -1
$EndComp
$Comp
L sim_logic:CMOS_NAND X7
U 1 1 5B29F51D
P 7150 4500
F 0 "X7" H 7350 4228 50 0000 C CNN
F 1 "CMOS_NAND" H 7350 4137 50 0000 C CNN
F 2 "" H 7150 4500 50 0001 C CNN
F 3 "" H 7150 4500 50 0001 C CNN
F 4 "X" H 7150 4500 50 0001 C CNN "Spice_Primitive"
F 5 "NAND" H 7150 4500 50 0001 C CNN "Spice_Model"
F 6 "Y" H 7150 4500 50 0001 C CNN "Spice_Netlist_Enabled"
F 7 "/home/akshay/Downloads/kicad-simulation-examples-master/libs/spice_models.lib" H 7150 4500 50 0001 C CNN "Spice_Lib_File"
1 7150 4500
1 0 0 -1
$EndComp
$Comp
L sim_logic:CMOS_NAND X9
U 1 1 5B29F56B
P 8650 3200
F 0 "X9" H 8850 2928 50 0000 C CNN
F 1 "CMOS_NAND" H 8850 2837 50 0000 C CNN
F 2 "" H 8650 3200 50 0001 C CNN
F 3 "" H 8650 3200 50 0001 C CNN
F 4 "X" H 8650 3200 50 0001 C CNN "Spice_Primitive"
F 5 "NAND" H 8650 3200 50 0001 C CNN "Spice_Model"
F 6 "Y" H 8650 3200 50 0001 C CNN "Spice_Netlist_Enabled"
F 7 "/home/akshay/Downloads/kicad-simulation-examples-master/libs/spice_models.lib" H 8650 3200 50 0001 C CNN "Spice_Lib_File"
1 8650 3200
1 0 0 -1
$EndComp
$Comp
L sim_logic:CMOS_NAND X8
U 1 1 5B29F5E4
P 8600 4500
F 0 "X8" H 8800 4228 50 0000 C CNN
F 1 "CMOS_NAND" H 8800 4137 50 0000 C CNN
F 2 "" H 8600 4500 50 0001 C CNN
F 3 "" H 8600 4500 50 0001 C CNN
F 4 "X" H 8600 4500 50 0001 C CNN "Spice_Primitive"
F 5 "NAND" H 8600 4500 50 0001 C CNN "Spice_Model"
F 6 "Y" H 8600 4500 50 0001 C CNN "Spice_Netlist_Enabled"
F 7 "/home/akshay/Downloads/kicad-simulation-examples-master/libs/spice_models.lib" H 8600 4500 50 0001 C CNN "Spice_Lib_File"
1 8600 4500
1 0 0 -1
$EndComp
$Comp
L sim_logic:CMOS_NOT X5
U 1 1 5B29F6B5
P 5550 5800
F 0 "X5" H 5750 5528 50 0000 C CNN
F 1 "CMOS_NOT" H 5750 5437 50 0000 C CNN
F 2 "" H 5550 5800 50 0001 C CNN
F 3 "" H 5550 5800 50 0001 C CNN
F 4 "X" H 5550 5800 50 0001 C CNN "Spice_Primitive"
F 5 "NOT" H 5550 5800 50 0001 C CNN "Spice_Model"
F 6 "Y" H 5550 5800 50 0001 C CNN "Spice_Netlist_Enabled"
F 7 "/home/akshay/Downloads/kicad-simulation-examples-master/libs/spice_models.lib" H 5550 5800 50 0001 C CNN "Spice_Lib_File"
1 5550 5800
1 0 0 -1
$EndComp
Text GLabel 1250 4000 0 50 Input ~ 0
2
Text GLabel 2100 3450 0 50 Input ~ 0
1
Text GLabel 2050 4450 0 50 Input ~ 0
3
Wire Wire Line
2100 4000 2500 4000
Wire Wire Line
3000 4000 3000 3400
Wire Wire Line
3000 3400 3400 3400
Wire Wire Line
3000 4000 3000 4450
Wire Wire Line
3000 4450 3450 4450
Connection ~ 3000 4000
Wire Wire Line
2100 3450 2500 3450
Wire Wire Line
2500 3450 2500 3300
Wire Wire Line
2500 3300 3400 3300
Wire Wire Line
2050 4450 2050 4550
Wire Wire Line
2050 4550 3450 4550
Wire Wire Line
4200 3300 4200 3150
Wire Wire Line
4200 3150 5250 3150
Wire Wire Line
4250 4550 4250 4600
Wire Wire Line
4250 4600 5300 4600
Wire Wire Line
6100 4500 6100 4600
Wire Wire Line
6100 4600 6300 4600
Wire Wire Line
6050 3250 6050 3100
Wire Wire Line
6050 3100 6150 3100
Wire Wire Line
2500 4000 2500 5800
Wire Wire Line
2500 5800 5350 5800
Connection ~ 2500 4000
Wire Wire Line
2500 4000 3000 4000
Wire Wire Line
6150 5800 6500 5800
Wire Wire Line
6500 5800 6500 4400
Wire Wire Line
6500 3300 6850 3300
Wire Wire Line
6950 4400 6500 4400
Connection ~ 6500 4400
Wire Wire Line
6500 4400 6500 3300
Wire Wire Line
7750 4500 7750 4600
Wire Wire Line
7750 4600 8400 4600
Wire Wire Line
7650 3200 7650 3100
Wire Wire Line
7650 3100 8450 3100
Wire Wire Line
8450 3300 8150 3300
Wire Wire Line
8150 3300 8150 3700
Wire Wire Line
8150 3700 9600 3700
Wire Wire Line
9600 3700 9600 4500
Wire Wire Line
9600 4500 9200 4500
Wire Wire Line
8400 4400 8200 4400
Wire Wire Line
8200 4400 8200 3800
Wire Wire Line
8200 3800 9450 3800
Wire Wire Line
9450 3800 9450 3200
Wire Wire Line
9450 3200 9250 3200
Wire Wire Line
5250 3350 4800 3350
Wire Wire Line
4800 3350 4800 3800
Wire Wire Line
4800 3800 6300 3800
Wire Wire Line
6300 3800 6300 4600
Connection ~ 6300 4600
Wire Wire Line
6300 4600 6950 4600
Wire Wire Line
5300 4400 5100 4400
Wire Wire Line
5100 4400 5100 3900
Wire Wire Line
5100 3900 6200 3900
Wire Wire Line
6200 3900 6200 3100
Connection ~ 6200 3100
Wire Wire Line
6200 3100 6850 3100
$Comp
L Device:R R1
U 1 1 5B2A209E
P 10300 3200
F 0 "R1" V 10093 3200 50 0000 C CNN
F 1 "10meg" V 10184 3200 50 0000 C CNN
F 2 "" V 10230 3200 50 0001 C CNN
F 3 "~" H 10300 3200 50 0001 C CNN
1 10300 3200
0 1 1 0
$EndComp
$Comp
L power:GND #PWR06
U 1 1 5B2A2ACE
P 10750 3200
F 0 "#PWR06" H 10750 2950 50 0001 C CNN
F 1 "GND" H 10755 3027 50 0000 C CNN
F 2 "" H 10750 3200 50 0001 C CNN
F 3 "" H 10750 3200 50 0001 C CNN
1 10750 3200
1 0 0 -1
$EndComp
Wire Wire Line
10750 3200 10450 3200
Connection ~ 9450 3200
$Comp
L Device:R R2
U 1 1 5B2A3E5E
P 10300 4500
F 0 "R2" V 10093 4500 50 0000 C CNN
F 1 "10meg" V 10184 4500 50 0000 C CNN
F 2 "" V 10230 4500 50 0001 C CNN
F 3 "~" H 10300 4500 50 0001 C CNN
1 10300 4500
0 1 1 0
$EndComp
$Comp
L power:GND #PWR05
U 1 1 5B2A3E9F
P 10600 4500
F 0 "#PWR05" H 10600 4250 50 0001 C CNN
F 1 "GND" H 10605 4327 50 0000 C CNN
F 2 "" H 10600 4500 50 0001 C CNN
F 3 "" H 10600 4500 50 0001 C CNN
1 10600 4500
1 0 0 -1
$EndComp
Wire Wire Line
10600 4500 10450 4500
Wire Wire Line
10150 4500 10100 4500
Wire Wire Line
3400 3200 2600 3200
Wire Wire Line
2600 3200 2600 2100
Wire Wire Line
3450 4650 3450 5150
Wire Wire Line
3450 5150 9750 5150
Wire Wire Line
9750 5150 9750 3200
Wire Wire Line
9750 3200 9450 3200
Text GLabel 9950 4050 0 50 Output ~ 0
6
Wire Wire Line
9950 4050 10100 4050
Wire Wire Line
10100 4050 10100 4500
$Comp
L pspice:VSOURCE V2
U 1 1 5B2AA56F
P 1300 2000
F 0 "V2" H 1528 2046 50 0000 L CNN
F 1 "VSOURCE" H 1528 1955 50 0000 L CNN
F 2 "" H 1300 2000 50 0001 C CNN
F 3 "" H 1300 2000 50 0001 C CNN
F 4 "V" H 1300 2000 50 0001 C CNN "Spice_Primitive"
F 5 "dc 3.3" H 1300 2000 50 0001 C CNN "Spice_Model"
F 6 "Y" H 1300 2000 50 0001 C CNN "Spice_Netlist_Enabled"
1 1300 2000
1 0 0 -1
$EndComp
Text GLabel 1150 1450 0 50 Input ~ 0
1
$Comp
L power:GND #PWR02
U 1 1 5B2AA5E3
P 1300 2650
F 0 "#PWR02" H 1300 2400 50 0001 C CNN
F 1 "GND" H 1305 2477 50 0000 C CNN
F 2 "" H 1300 2650 50 0001 C CNN
F 3 "" H 1300 2650 50 0001 C CNN
1 1300 2650
1 0 0 -1
$EndComp
Wire Wire Line
1300 2300 1300 2650
Wire Wire Line
1300 1700 1300 1450
Wire Wire Line
1300 1450 1150 1450
$Comp
L pspice:VSOURCE V1
U 1 1 5B2ACCD6
P 1150 5150
F 0 "V1" H 1378 5196 50 0000 L CNN
F 1 "VSOURCE" H 1378 5105 50 0000 L CNN
F 2 "" H 1150 5150 50 0001 C CNN
F 3 "" H 1150 5150 50 0001 C CNN
F 4 "V" H 1150 5150 50 0001 C CNN "Spice_Primitive"
F 5 "dc 3.3" H 1150 5150 50 0001 C CNN "Spice_Model"
F 6 "Y" H 1150 5150 50 0001 C CNN "Spice_Netlist_Enabled"
1 1150 5150
1 0 0 -1
$EndComp
Text GLabel 950 4450 0 50 Input ~ 0
3
Wire Wire Line
950 4450 1150 4450
Wire Wire Line
1150 4450 1150 4850
$Comp
L power:GND #PWR01
U 1 1 5B2AE376
P 1100 5850
F 0 "#PWR01" H 1100 5600 50 0001 C CNN
F 1 "GND" H 1105 5677 50 0000 C CNN
F 2 "" H 1100 5850 50 0001 C CNN
F 3 "" H 1100 5850 50 0001 C CNN
1 1100 5850
1 0 0 -1
$EndComp
Wire Wire Line
1100 5850 1100 5450
Wire Wire Line
1100 5450 1150 5450
Text GLabel 3550 2550 0 50 Input ~ 0
4
Wire Wire Line
3800 2900 3800 2550
Wire Wire Line
3800 2550 3550 2550
Text GLabel 5400 2500 0 50 Input ~ 0
4
Wire Wire Line
5400 2500 5650 2500
Wire Wire Line
5650 2500 5650 2850
Text GLabel 6950 2450 0 50 Input ~ 0
4
Wire Wire Line
7250 2800 7250 2450
Wire Wire Line
7250 2450 6950 2450
Text GLabel 8550 2450 0 50 Input ~ 0
4
Wire Wire Line
8850 2800 8850 2450
Wire Wire Line
8850 2450 8550 2450
Text GLabel 8550 3950 0 50 Input ~ 0
4
Wire Wire Line
8800 4100 8800 3950
Wire Wire Line
8800 3950 8550 3950
Text GLabel 7150 3900 0 50 Input ~ 0
4
Wire Wire Line
7350 4100 7350 3900
Wire Wire Line
7350 3900 7150 3900
Text GLabel 5400 4000 0 50 Input ~ 0
4
Wire Wire Line
5700 4100 5700 4000
Wire Wire Line
5700 4000 5400 4000
Text GLabel 3650 4000 0 50 Input ~ 0
4
Wire Wire Line
3850 4150 3850 4000
Wire Wire Line
3850 4000 3650 4000
Text GLabel 5100 5300 0 50 Input ~ 0
4
Wire Wire Line
5750 5500 5750 5300
Wire Wire Line
5750 5300 5100 5300
$Comp
L pspice:VSOURCE V3
U 1 1 5B2C1078
P 2300 6550
F 0 "V3" H 2528 6596 50 0000 L CNN
F 1 "VSOURCE" H 2528 6505 50 0000 L CNN
F 2 "" H 2300 6550 50 0001 C CNN
F 3 "" H 2300 6550 50 0001 C CNN
F 4 "V" H 2300 6550 50 0001 C CNN "Spice_Primitive"
F 5 "dc 0 pwl(0 0 5m 0 5.005m 3.3 10m 3.3 10.005m 0 15m 0 15.005m 3.3 20m 3.3 20.005m 0 25m 0 25.005m 3.3 30m 3.3 30.005m 0 35m 0 35.005m 3.3 40m 3.3 40.005m 0 45m 0 45.005m 3.3 50m 3.3)" H 2300 6550 50 0001 C CNN "Spice_Model"
F 6 "Y" H 2300 6550 50 0001 C CNN "Spice_Netlist_Enabled"
1 2300 6550
1 0 0 -1
$EndComp
Text GLabel 2100 5850 0 50 Input ~ 0
2
$Comp
L power:GND #PWR03
U 1 1 5B2C1180
P 2300 7050
F 0 "#PWR03" H 2300 6800 50 0001 C CNN
F 1 "GND" H 2305 6877 50 0000 C CNN
F 2 "" H 2300 7050 50 0001 C CNN
F 3 "" H 2300 7050 50 0001 C CNN
1 2300 7050
1 0 0 -1
$EndComp
Wire Wire Line
2300 7050 2300 6850
Wire Wire Line
2300 6250 2300 5850
Wire Wire Line
2300 5850 2100 5850
$Comp
L pspice:VSOURCE V4
U 1 1 5B2C5F12
P 3900 6950
F 0 "V4" H 4128 6996 50 0000 L CNN
F 1 "VSOURCE" H 4128 6905 50 0000 L CNN
F 2 "" H 3900 6950 50 0001 C CNN
F 3 "" H 3900 6950 50 0001 C CNN
F 4 "V" H 3900 6950 50 0001 C CNN "Spice_Primitive"
F 5 "dc 3.3" H 3900 6950 50 0001 C CNN "Spice_Model"
F 6 "Y" H 3900 6950 50 0001 C CNN "Spice_Netlist_Enabled"
1 3900 6950
1 0 0 -1
$EndComp
Text GLabel 3850 6250 0 50 Input ~ 0
4
$Comp
L power:GND #PWR04
U 1 1 5B2C5FB4
P 3900 7350
F 0 "#PWR04" H 3900 7100 50 0001 C CNN
F 1 "GND" H 3905 7177 50 0000 C CNN
F 2 "" H 3900 7350 50 0001 C CNN
F 3 "" H 3900 7350 50 0001 C CNN
1 3900 7350
1 0 0 -1
$EndComp
Wire Wire Line
3900 7350 3900 7250
Wire Wire Line
3900 6650 3900 6250
Wire Wire Line
3900 6250 3850 6250
Text Notes 7650 6150 0 50 ~ 0
.tran .25m 50m
Text GLabel 6150 2600 0 50 Output ~ 0
q12
Wire Wire Line
6150 2600 6300 2600
Wire Wire Line
6300 2600 6300 2850
Wire Wire Line
6300 2850 6150 2850
Wire Wire Line
6150 2850 6150 3100
Connection ~ 6150 3100
Wire Wire Line
6150 3100 6200 3100
Wire Wire Line
1250 3700 1250 4000
Wire Wire Line
2100 3700 2100 4000
Connection ~ 10100 4500
Connection ~ 9600 4500
Connection ~ 9750 3200
Text GLabel 9800 2700 0 50 Output ~ 0
5
Wire Wire Line
10100 3200 10150 3200
Wire Wire Line
9750 3200 10100 3200
Connection ~ 10100 3200
Wire Wire Line
10100 2700 10100 3200
Wire Wire Line
9800 2700 10100 2700
Wire Wire Line
2600 2100 10050 2100
Wire Wire Line
10100 4500 10050 4500
Wire Wire Line
10050 4500 9600 4500
Connection ~ 10050 4500
Wire Wire Line
10050 2100 10050 4500
Wire Wire Line
1250 3700 2100 3700
$EndSCHEMATC
|