-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDAC_BEEP.bdf
More file actions
743 lines (743 loc) · 19.9 KB
/
DAC_BEEP.bdf
File metadata and controls
743 lines (743 loc) · 19.9 KB
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
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2010 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
(input)
(rect 368 776 536 792)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "DAC_WCLK" (rect 9 0 70 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 368 816 536 832)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "DAC_BCLK" (rect 9 0 66 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 384 384 552 400)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "FSEL[2..0]" (rect 5 0 58 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 304 416 472 432)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CS" (rect 5 0 20 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 368 472 536 488)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "RESETN" (rect 5 0 48 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 1096 816 1272 832)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "DACDAT" (rect 90 0 134 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(symbol
(rect 752 824 800 856)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst35" (rect 3 21 32 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(symbol
(rect 736 768 800 816)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst36" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1160 592 1208 624)
(text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
(text "inst" (rect 3 21 20 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 14 7)(pt 32 16)(line_width 1))
(line (pt 14 25)(pt 14 7)(line_width 1))
(line (pt 14 25)(pt 32 16)(line_width 1))
)
)
(symbol
(rect 1160 624 1208 656)
(text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 14 7)(pt 32 16)(line_width 1))
(line (pt 14 25)(pt 14 7)(line_width 1))
(line (pt 14 25)(pt 32 16)(line_width 1))
)
)
(symbol
(rect 744 664 792 696)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(symbol
(rect 944 760 1088 872)
(text "lpm_shiftreg_db0" (rect 23 1 138 17)(font "Arial" (font_size 10)))
(text "inst6" (rect 8 96 31 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "load" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "load" (rect 20 26 43 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "data[31..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "data[31..0]" (rect 20 42 80 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 74 55 88)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 144 64)
(output)
(text "shiftout" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "shiftout" (rect 89 58 131 72)(font "Arial" (font_size 8)))
(line (pt 144 64)(pt 128 64)(line_width 1))
)
(drawing
(text "left shift" (rect 92 17 134 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 96)(line_width 1))
(line (pt 128 96)(pt 16 96)(line_width 1))
(line (pt 16 96)(pt 16 16)(line_width 1))
(line (pt 16 74)(pt 22 80)(line_width 1))
(line (pt 22 80)(pt 16 86)(line_width 1))
)
)
(symbol
(rect 848 592 1104 704)
(text "altsyncram_db0" (rect 82 1 190 17)(font "Arial" (font_size 10)))
(text "inst8" (rect 8 96 31 108)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "address[8..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
(text "address[8..0]" (rect 4 19 79 33)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 112 32)(line_width 3))
)
(port
(pt 0 88)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 4 75 33 89)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 104 88)(line_width 1))
)
(port
(pt 256 32)
(output)
(text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[15..0]" (rect 217 19 259 33)(font "Arial" (font_size 8)))
(line (pt 256 32)(pt 168 32)(line_width 3))
)
(drawing
(text "512 Word(s)" (rect 136 26 148 86)(font "Arial" )(vertical))
(text "RAM" (rect 149 42 161 65)(font "Arial" )(vertical))
(text "Block Type: AUTO" (rect 41 92 133 104)(font "Arial" ))
(line (pt 128 24)(pt 168 24)(line_width 1))
(line (pt 168 24)(pt 168 80)(line_width 1))
(line (pt 168 80)(pt 128 80)(line_width 1))
(line (pt 128 80)(pt 128 24)(line_width 1))
(line (pt 112 27)(pt 120 27)(line_width 1))
(line (pt 120 27)(pt 120 39)(line_width 1))
(line (pt 120 39)(pt 112 39)(line_width 1))
(line (pt 112 39)(pt 112 27)(line_width 1))
(line (pt 112 34)(pt 114 36)(line_width 1))
(line (pt 114 36)(pt 112 38)(line_width 1))
(line (pt 104 36)(pt 112 36)(line_width 1))
(line (pt 120 32)(pt 128 32)(line_width 3))
(line (pt 104 36)(pt 104 89)(line_width 1))
)
)
(symbol
(rect 664 568 808 664)
(text "lpm_dff_db0" (rect 38 1 119 17)(font "Arial" (font_size 10)))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "sclr" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "sclr" (rect 20 26 41 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "data[8..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "data[8..0]" (rect 20 42 73 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 58 55 72)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 144 56)
(output)
(text "q[8..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[8..0]" (rect 95 50 130 64)(font "Arial" (font_size 8)))
(line (pt 144 56)(pt 128 56)(line_width 3))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 80)(line_width 1))
(line (pt 128 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
(line (pt 16 58)(pt 22 64)(line_width 1))
(line (pt 22 64)(pt 16 70)(line_width 1))
)
)
(symbol
(rect 848 456 1008 552)
(text "lpm_add_sub_db0" (rect 28 1 151 17)(font "Arial" (font_size 10)))
(text "inst3" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[8..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "dataa[8..0]" (rect 4 27 64 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 64 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "datab[8..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "datab[8..0]" (rect 4 59 64 73)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 64 72)(line_width 3))
)
(port
(pt 160 56)
(output)
(text "result[8..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "result[8..0]" (rect 106 43 166 57)(font "Arial" (font_size 8)))
(line (pt 160 56)(pt 96 56)(line_width 3))
)
(drawing
(text "A" (rect 66 34 75 48)(font "Arial" (font_size 8)))
(text "B" (rect 66 66 74 80)(font "Arial" (font_size 8)))
(text "A+B" (rect 73 50 97 64)(font "Arial" (font_size 8)))
(line (pt 64 32)(pt 96 40)(line_width 1))
(line (pt 96 40)(pt 96 72)(line_width 1))
(line (pt 96 72)(pt 64 80)(line_width 1))
(line (pt 64 80)(pt 64 32)(line_width 1))
)
)
(symbol
(rect 704 520 736 552)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "inst7" (rect 3 21 26 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 24 8)(line_width 1))
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect 520 576 584 624)
(text "NOR3" (rect 1 0 26 10)(font "Arial" (font_size 6)))
(text "inst9" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 54 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 12 13)(pt 23 13)(line_width 1))
(line (pt 12 36)(pt 23 36)(line_width 1))
(arc (pt 5 29)(pt 5 19)(rect -16 8 17 41)(line_width 1))
(arc (pt 23 35)(pt 46 24)(rect -6 -23 53 36)(line_width 1))
(arc (pt 46 24)(pt 23 13)(rect -6 13 53 72)(line_width 1))
(circle (rect 46 20 54 28)(line_width 1))
)
)
(symbol
(rect 552 360 696 456)
(text "lpm_dff_db1" (rect 38 1 119 17)(font "Arial" (font_size 10)))
(text "inst10" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[2..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
(text "data[2..0]" (rect 20 26 73 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 26 42 55 56)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 80 96)
(input)
(text "aclr" (rect 0 0 14 21)(font "Arial" (font_size 8))(vertical))
(text "aclr" (rect 73 59 87 80)(font "Arial" (font_size 8))(vertical))
(line (pt 80 96)(pt 80 80)(line_width 1))
)
(port
(pt 144 40)
(output)
(text "q[2..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "q[2..0]" (rect 95 34 130 48)(font "Arial" (font_size 8)))
(line (pt 144 40)(pt 128 40)(line_width 3))
)
(drawing
(text "DFF" (rect 109 17 131 29)(font "Arial" ))
(line (pt 16 16)(pt 128 16)(line_width 1))
(line (pt 128 16)(pt 128 80)(line_width 1))
(line (pt 128 80)(pt 16 80)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
(line (pt 16 42)(pt 22 48)(line_width 1))
(line (pt 22 48)(pt 16 54)(line_width 1))
)
)
(symbol
(rect 552 464 600 496)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst11" (rect 3 21 32 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(connector
(pt 1088 824)
(pt 1096 824)
)
(connector
(text "DAC_DATA[31..0]" (rect 858 792 947 804)(font "Arial" ))
(pt 944 808)
(pt 848 808)
(bus)
)
(connector
(pt 736 800)
(pt 728 800)
)
(connector
(pt 944 792)
(pt 800 792)
)
(connector
(pt 944 840)
(pt 800 840)
)
(connector
(pt 728 840)
(pt 752 840)
)
(connector
(pt 728 824)
(pt 536 824)
)
(connector
(pt 728 800)
(pt 728 824)
)
(connector
(pt 728 824)
(pt 728 840)
)
(connector
(text "DAC_DATA[31..16]" (rect 1224 592 1319 604)(font "Arial" ))
(pt 1208 608)
(pt 1288 608)
(bus)
)
(connector
(text "DAC_DATA[15..0]" (rect 1224 624 1313 636)(font "Arial" ))
(pt 1208 640)
(pt 1288 640)
(bus)
)
(connector
(pt 536 784)
(pt 608 784)
)
(connector
(pt 608 784)
(pt 736 784)
)
(connector
(pt 1136 608)
(pt 1160 608)
(bus)
)
(connector
(pt 1136 640)
(pt 1160 640)
(bus)
)
(connector
(pt 608 680)
(pt 744 680)
)
(connector
(pt 1136 624)
(pt 1104 624)
(bus)
)
(connector
(pt 1136 608)
(pt 1136 624)
(bus)
)
(connector
(pt 1136 624)
(pt 1136 640)
(bus)
)
(connector
(pt 792 680)
(pt 848 680)
)
(connector
(pt 608 632)
(pt 608 680)
)
(connector
(pt 608 680)
(pt 608 784)
)
(connector
(pt 664 632)
(pt 608 632)
)
(connector
(pt 848 528)
(pt 824 528)
(bus)
)
(connector
(pt 824 528)
(pt 824 624)
(bus)
)
(connector
(pt 808 624)
(pt 824 624)
(bus)
)
(connector
(pt 824 624)
(pt 848 624)
(bus)
)
(connector
(text "nextcount[8..0]" (rect 1018 496 1092 508)(font "Arial" ))
(pt 1008 512)
(pt 1080 512)
(bus)
)
(connector
(text "nextcount[8..0]" (rect 592 600 666 612)(font "Arial" ))
(pt 664 616)
(pt 592 616)
(bus)
)
(connector
(pt 584 600)
(pt 664 600)
)
(connector
(pt 720 520)
(pt 720 512)
)
(connector
(text "0" (rect 730 496 735 508)(font "Arial" ))
(pt 720 512)
(pt 736 512)
)
(connector
(text "FSELS[0]" (rect 466 576 513 588)(font "Arial" ))
(pt 520 592)
(pt 456 592)
)
(connector
(text "FSELS[1]" (rect 466 584 513 596)(font "Arial" ))
(pt 520 600)
(pt 456 600)
)
(connector
(text "FSELS[2]" (rect 466 592 513 604)(font "Arial" ))
(pt 520 608)
(pt 456 608)
)
(connector
(text "0,0,0,0,FSELS[2..0],0,0" (rect 698 480 814 492)(font "Arial" ))
(pt 848 496)
(pt 688 496)
(bus)
)
(connector
(pt 544 424)
(pt 544 408)
)
(connector
(pt 552 408)
(pt 544 408)
)
(connector
(pt 536 480)
(pt 552 480)
)
(connector
(pt 600 480)
(pt 632 480)
)
(connector
(pt 632 480)
(pt 632 456)
)
(connector
(text "FSELS[2..0]" (rect 698 384 758 396)(font "Arial" ))
(pt 696 400)
(pt 760 400)
(bus)
)
(connector
(pt 472 424)
(pt 544 424)
)
(junction (pt 728 824))
(junction (pt 608 784))
(junction (pt 608 680))
(junction (pt 1136 624))
(junction (pt 824 624))
(text "We output the same value to left and right channels" (rect 1160 576 1451 590)(font "Arial" (font_size 8)))
(text "Here, the value from the waveform memory is shifted out serially to the audio codec." (rect 728 736 1208 750)(font "Arial" (font_size 8)))
(text "reset index when not running" (rect 456 560 623 574)(font "Arial" (font_size 8)))