summaryrefslogtreecommitdiff
path: root/Examples/NGHDL_Examples/PWM_Decremental/PWM_Decremental.sch
blob: 0b75c70cfb2a332e77d1357a705fe737c8bc93c4 (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
EESchema Schematic File Version 2
LIBS:power
LIBS:device
LIBS:switches
LIBS:relays
LIBS:motors
LIBS:transistors
LIBS:conn
LIBS:linear
LIBS:regul
LIBS:74xx
LIBS:cmos4000
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: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_User
LIBS:eSim_Plot
LIBS:eSim_PSpice
LIBS:eSim_kicad
LIBS:PWM_Incremental-cache
EELAYER 25 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 1
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L DC v2
U 1 1 5DCD9463
P 3250 3200
F 0 "v2" H 3050 3300 60  0000 C CNN
F 1 "9v" H 3050 3150 60  0000 C CNN
F 2 "R1" H 2950 3200 60  0000 C CNN
F 3 "" H 3250 3200 60  0000 C CNN
	1    3250 3200
	0    1    1    0   
$EndComp
$Comp
L plot_v1 U3
U 1 1 5DCD9464
P 5400 4200
F 0 "U3" H 5400 4700 60  0000 C CNN
F 1 "plot_v1" H 5600 4550 60  0000 C CNN
F 2 "" H 5400 4200 60  0000 C CNN
F 3 "" H 5400 4200 60  0000 C CNN
	1    5400 4200
	1    0    0    -1  
$EndComp
$Comp
L eSim_GND #PWR3
U 1 1 5DCD9465
P 3300 5150
F 0 "#PWR3" H 3300 4900 50  0001 C CNN
F 1 "eSim_GND" H 3300 5000 50  0000 C CNN
F 2 "" H 3300 5150 50  0001 C CNN
F 3 "" H 3300 5150 50  0001 C CNN
	1    3300 5150
	1    0    0    -1  
$EndComp
$Comp
L eSim_GND #PWR2
U 1 1 5DCD9466
P 2700 3300
F 0 "#PWR2" H 2700 3050 50  0001 C CNN
F 1 "eSim_GND" H 2700 3150 50  0000 C CNN
F 2 "" H 2700 3300 50  0001 C CNN
F 3 "" H 2700 3300 50  0001 C CNN
	1    2700 3300
	1    0    0    -1  
$EndComp
Text GLabel 5550 4300 2    60   Input ~ 0
D
$Comp
L lm_741 X1
U 1 1 5DCD9467
P 4450 4150
F 0 "X1" H 4250 4150 60  0000 C CNN
F 1 "lm_741" H 4350 3900 60  0000 C CNN
F 2 "" H 4450 4150 60  0000 C CNN
F 3 "" H 4450 4150 60  0000 C CNN
	1    4450 4150
	1    0    0    -1  
$EndComp
$Comp
L eSim_GND #PWR1
U 1 1 5DCD9468
P 1600 3900
F 0 "#PWR1" H 1600 3650 50  0001 C CNN
F 1 "eSim_GND" H 1600 3750 50  0000 C CNN
F 2 "" H 1600 3900 50  0001 C CNN
F 3 "" H 1600 3900 50  0001 C CNN
	1    1600 3900
	1    0    0    -1  
$EndComp
$Comp
L R R1
U 1 1 5DCD9469
P 6400 4450
F 0 "R1" V 6480 4450 50  0000 C CNN
F 1 "1k" V 6400 4450 50  0000 C CNN
F 2 "" V 6330 4450 50  0001 C CNN
F 3 "" H 6400 4450 50  0001 C CNN
	1    6400 4450
	0    -1   -1   0   
$EndComp
$Comp
L plot_v1 U7
U 1 1 5DCD946A
P 7050 4400
F 0 "U7" H 7050 4900 60  0000 C CNN
F 1 "plot_v1" H 7250 4750 60  0000 C CNN
F 2 "" H 7050 4400 60  0000 C CNN
F 3 "" H 7050 4400 60  0000 C CNN
	1    7050 4400
	1    0    0    -1  
$EndComp
Text GLabel 7300 4450 2    60   Input ~ 0
rc1
NoConn ~ 4400 3750
NoConn ~ 4500 3800
$Comp
L C C1
U 1 1 5DCD946B
P 6850 4800
F 0 "C1" H 6875 4900 50  0000 L CNN
F 1 "1u" H 6875 4700 50  0000 L CNN
F 2 "" H 6888 4650 50  0001 C CNN
F 3 "" H 6850 4800 50  0001 C CNN
	1    6850 4800
	-1   0    0    1   
$EndComp
$Comp
L dac_bridge_1 U8
U 1 1 5DCD946C
P 8350 1900
F 0 "U8" H 8350 1900 60  0000 C CNN
F 1 "dac_bridge_1" H 8350 2050 60  0000 C CNN
F 2 "" H 8350 1900 60  0000 C CNN
F 3 "" H 8350 1900 60  0000 C CNN
	1    8350 1900
	1    0    0    -1  
$EndComp
$Comp
L eSim_GND #PWR4
U 1 1 5DCD946D
P 4500 3150
F 0 "#PWR4" H 4500 2900 50  0001 C CNN
F 1 "eSim_GND" H 4500 3000 50  0000 C CNN
F 2 "" H 4500 3150 50  0001 C CNN
F 3 "" H 4500 3150 50  0001 C CNN
	1    4500 3150
	1    0    0    -1  
$EndComp
$Comp
L plot_v1 U9
U 1 1 5DCD946E
P 9300 2050
F 0 "U9" H 9300 2550 60  0000 C CNN
F 1 "plot_v1" H 9500 2400 60  0000 C CNN
F 2 "" H 9300 2050 60  0000 C CNN
F 3 "" H 9300 2050 60  0000 C CNN
	1    9300 2050
	1    0    0    -1  
$EndComp
$Comp
L plot_v1 U6
U 1 1 5DCD946F
P 6250 2350
F 0 "U6" H 6250 2850 60  0000 C CNN
F 1 "plot_v1" H 6450 2700 60  0000 C CNN
F 2 "" H 6250 2350 60  0000 C CNN
F 3 "" H 6250 2350 60  0000 C CNN
	1    6250 2350
	-1   0    0    1   
$EndComp
Text GLabel 9250 2350 2    60   Input ~ 0
Q
Text GLabel 6500 2500 2    60   Input ~ 0
clk
$Comp
L eSim_GND #PWR5
U 1 1 5DCD9470
P 6850 5450
F 0 "#PWR5" H 6850 5200 50  0001 C CNN
F 1 "eSim_GND" H 6850 5300 50  0000 C CNN
F 2 "" H 6850 5450 50  0001 C CNN
F 3 "" H 6850 5450 50  0001 C CNN
	1    6850 5450
	1    0    0    -1  
$EndComp
$Comp
L pulse v4
U 1 1 5DCD9471
P 4500 2700
F 0 "v4" H 4300 2800 60  0000 C CNN
F 1 "pulse" H 4300 2650 60  0000 C CNN
F 2 "R1" H 4200 2700 60  0000 C CNN
F 3 "" H 4500 2700 60  0000 C CNN
	1    4500 2700
	1    0    0    -1  
$EndComp
$Comp
L adc_bridge_1 U5
U 1 1 5DCD9472
P 5600 2250
F 0 "U5" H 5600 2250 60  0000 C CNN
F 1 "adc_bridge_1" H 5600 2400 60  0000 C CNN
F 2 "" H 5600 2250 60  0000 C CNN
F 3 "" H 5600 2250 60  0000 C CNN
	1    5600 2250
	1    0    0    -1  
$EndComp
$Comp
L adc_bridge_1 U4
U 1 1 5DCD9473
P 5550 1900
F 0 "U4" H 5550 1900 60  0000 C CNN
F 1 "adc_bridge_1" H 5550 2050 60  0000 C CNN
F 2 "" H 5550 1900 60  0000 C CNN
F 3 "" H 5550 1900 60  0000 C CNN
	1    5550 1900
	1    0    0    -1  
$EndComp
$Comp
L DC v3
U 1 1 5DCD9474
P 3750 5150
F 0 "v3" H 3550 5250 60  0000 C CNN
F 1 "-9v" H 3550 5100 60  0000 C CNN
F 2 "R1" H 3450 5150 60  0000 C CNN
F 3 "" H 3750 5150 60  0000 C CNN
	1    3750 5150
	0    1    1    0   
$EndComp
$Comp
L plot_v1 U1
U 1 1 5DCD9475
P 2800 4100
F 0 "U1" H 2800 4600 60  0000 C CNN
F 1 "plot_v1" H 3000 4450 60  0000 C CNN
F 2 "" H 2800 4100 60  0000 C CNN
F 3 "" H 2800 4100 60  0000 C CNN
	1    2800 4100
	1    0    0    -1  
$EndComp
Text GLabel 2800 3900 3    60   Input ~ 0
pwl_IN
$Comp
L DC v1
U 1 1 5DCD9476
P 2050 3900
F 0 "v1" H 1850 4000 60  0000 C CNN
F 1 "3" H 1850 3850 60  0000 C CNN
F 2 "R1" H 1750 3900 60  0000 C CNN
F 3 "" H 2050 3900 60  0000 C CNN
	1    2050 3900
	0    1    1    0   
$EndComp
Wire Wire Line
	3700 3200 4300 3200
Wire Wire Line
	4300 3200 4300 3700
Wire Wire Line
	4300 4600 4300 5150
Wire Wire Line
	5000 4150 5150 4150
Wire Wire Line
	5400 4000 5400 4600
Wire Wire Line
	5550 4300 5400 4300
Connection ~ 5400 4300
Connection ~ 2800 3900
Wire Wire Line
	2500 3900 3050 3900
Wire Wire Line
	3050 3900 3050 4400
Wire Wire Line
	2700 3300 2700 3200
Wire Wire Line
	2700 3200 2800 3200
Connection ~ 4300 5150
Wire Wire Line
	3150 4250 3900 4250
Wire Wire Line
	3550 4000 3900 4000
Wire Wire Line
	6550 4450 6850 4450
Wire Wire Line
	6850 4450 6850 4650
Wire Wire Line
	6250 4600 6250 4450
Wire Wire Line
	7050 4500 7050 4200
Wire Wire Line
	6850 4500 9300 4500
Connection ~ 6850 4500
Wire Wire Line
	7300 4450 7050 4450
Wire Wire Line
	4300 5150 4200 5150
Wire Wire Line
	8900 1850 9300 1850
Wire Wire Line
	9050 1850 9050 3050
Connection ~ 9050 1850
Connection ~ 6100 4600
Connection ~ 5150 4150
Wire Wire Line
	6250 1850 6250 2550
Connection ~ 6250 2200
Wire Wire Line
	9250 2350 9200 2350
Wire Wire Line
	9200 2350 9200 1850
Connection ~ 9200 1850
Wire Wire Line
	6500 2500 6250 2500
Connection ~ 6250 2500
Wire Wire Line
	6100 1850 6400 1850
Connection ~ 6250 1850
Wire Wire Line
	6400 1950 6150 1950
Wire Wire Line
	6150 1950 6150 2200
Wire Notes Line
	1200 5750 4850 5750
Wire Notes Line
	1200 5750 1200 2450
Wire Notes Line
	1200 2450 4150 2450
Wire Notes Line
	4150 2450 4150 3150
Wire Notes Line
	4150 3150 4850 3150
Wire Notes Line
	4850 3150 4850 5750
Wire Notes Line
	5950 3900 5950 5300
Wire Notes Line
	5950 5300 8050 5300
Wire Notes Line
	8050 5300 8050 3600
Wire Notes Line
	8050 3600 5900 3600
Wire Notes Line
	5900 3600 5900 3950
Wire Notes Line
	5900 3950 5950 3950
Wire Wire Line
	3150 4250 3150 4400
Wire Wire Line
	3150 4400 3050 4400
Wire Wire Line
	6850 4950 6850 5450
Wire Wire Line
	2650 3700 3550 3700
Wire Wire Line
	3550 3700 3550 4000
Wire Wire Line
	2650 3750 2650 3700
Wire Wire Line
	5150 2450 5150 4600
Wire Wire Line
	2550 6400 9300 6400
Wire Wire Line
	2550 6400 2550 3750
Wire Wire Line
	9050 3050 6100 3050
Wire Wire Line
	4500 1850 4950 1850
Wire Wire Line
	4750 2200 5000 2200
Wire Wire Line
	4750 2450 4750 2200
Wire Wire Line
	5150 2450 4750 2450
Wire Wire Line
	4500 1850 4500 2250
Wire Wire Line
	5150 4600 5400 4600
Wire Wire Line
	6100 3050 6100 4600
Wire Wire Line
	6100 4600 6250 4600
Wire Wire Line
	2550 3750 2650 3750
Connection ~ 7050 4450
Connection ~ 7050 4500
Wire Wire Line
	7400 1850 7750 1850
Wire Wire Line
	9300 6400 9300 4500
$Comp
L pwmdecrement U2
U 1 1 5DCD94AF
P 4050 3750
F 0 "U2" H 6900 5550 60  0000 C CNN
F 1 "pwmdecrement" H 6900 5750 60  0000 C CNN
F 2 "" H 6900 5700 60  0000 C CNN
F 3 "" H 6900 5700 60  0000 C CNN
	1    4050 3750
	1    0    0    -1  
$EndComp
$EndSCHEMATC