-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathradar_nios.bdf
More file actions
787 lines (787 loc) · 18.3 KB
/
radar_nios.bdf
File metadata and controls
787 lines (787 loc) · 18.3 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
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
/*
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) 2018 Intel Corporation. All rights reserved.
Your use of Intel 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 Intel Program License
Subscription Agreement, the Intel Quartus Prime License Agreement,
the Intel FPGA IP License Agreement, or other applicable license
agreement, including, without limitation, that your use is for
the sole purpose of programming logic devices manufactured by
Intel and sold by Intel or its authorized distributors. Please
refer to the applicable agreement for further details.
*/
(header "graphic" (version "1.4"))
(pin
(input)
(rect -104 280 64 296)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "clk_clk" (rect 5 0 39 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -168 296 -104 320))
)
(pin
(input)
(rect -120 480 48 496)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "reset_reset_n" (rect 5 0 72 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -176 496 -120 520))
)
(pin
(input)
(rect 16 912 184 928)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "echo" (rect 5 0 28 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 84 12)(pt 109 12))
(line (pt 84 4)(pt 109 4))
(line (pt 113 8)(pt 168 8))
(line (pt 84 12)(pt 84 4))
(line (pt 109 4)(pt 113 8))
(line (pt 109 12)(pt 113 8))
)
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -48 928 16 952))
)
(pin
(output)
(rect 816 680 992 696)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "vga_hs" (rect 90 0 126 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 992 696 1048 720))
)
(pin
(output)
(rect 816 696 992 712)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "vga_vs" (rect 90 0 127 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 992 712 1048 736))
)
(pin
(output)
(rect 816 712 992 728)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "vga_r[3..0]" (rect 90 0 144 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 992 728 1056 752))
)
(pin
(output)
(rect 816 728 992 744)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "vga_g[3..0]" (rect 90 0 146 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 992 744 1048 768))
)
(pin
(output)
(rect 816 744 992 760)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "vga_b[3..0]" (rect 90 0 146 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 992 760 1048 784))
)
(pin
(output)
(rect 384 880 560 896)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "trigger" (rect 90 0 120 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 560 896 624 920))
)
(pin
(output)
(rect 384 912 560 928)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "units_h[6..0]" (rect 90 0 151 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 560 928 624 952))
)
(pin
(output)
(rect 384 928 560 944)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "tens_h[6..0]" (rect 90 0 149 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 560 944 624 968))
)
(pin
(output)
(rect 384 944 562 960)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "hundreds_h[6..0]" (rect 90 0 172 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 562 960 626 984))
)
(pin
(output)
(rect 1464 656 1640 672)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "pwm_led" (rect 90 0 132 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 1640 672 1696 696))
)
(pin
(output)
(rect 1464 672 1640 688)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "pwm_motor" (rect 90 0 146 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
(annotation_block (location)(rect 1640 688 1704 712))
)
(symbol
(rect 576 656 816 800)
(text "vga_radar" (rect 5 0 54 12)(font "Arial" ))
(text "inst2" (rect 8 128 30 145)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "reset_n" (rect 0 0 36 12)(font "Arial" ))
(text "reset_n" (rect 21 27 57 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "duty[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "duty[7..0]" (rect 21 59 69 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "adc_column[width-1..0]" (rect 0 0 113 12)(font "Arial" ))
(text "adc_column[width-1..0]" (rect 21 75 134 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "adc_row[width-1..0]" (rect 0 0 94 12)(font "Arial" ))
(text "adc_row[width-1..0]" (rect 21 91 115 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 240 32)
(output)
(text "vga_hs" (rect 0 0 36 12)(font "Arial" ))
(text "vga_hs" (rect 189 27 225 39)(font "Arial" ))
(line (pt 240 32)(pt 224 32))
)
(port
(pt 240 48)
(output)
(text "vga_vs" (rect 0 0 37 12)(font "Arial" ))
(text "vga_vs" (rect 188 43 225 55)(font "Arial" ))
(line (pt 240 48)(pt 224 48))
)
(port
(pt 240 64)
(output)
(text "vga_r[3..0]" (rect 0 0 54 12)(font "Arial" ))
(text "vga_r[3..0]" (rect 174 59 228 71)(font "Arial" ))
(line (pt 240 64)(pt 224 64)(line_width 3))
)
(port
(pt 240 80)
(output)
(text "vga_g[3..0]" (rect 0 0 56 12)(font "Arial" ))
(text "vga_g[3..0]" (rect 172 75 228 87)(font "Arial" ))
(line (pt 240 80)(pt 224 80)(line_width 3))
)
(port
(pt 240 96)
(output)
(text "vga_b[3..0]" (rect 0 0 56 12)(font "Arial" ))
(text "vga_b[3..0]" (rect 172 91 228 103)(font "Arial" ))
(line (pt 240 96)(pt 224 96)(line_width 3))
)
(parameter
"width"
"10"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"WEIGHT_SCREEN"
"640"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"HEIGHT_SCREEN"
"480"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 224 128))
)
(annotation_block (parameter)(rect 832 840 1048 920))
)
(symbol
(rect 184 856 384 1000)
(text "ultrasonic" (rect 5 0 52 12)(font "Arial" ))
(text "inst3" (rect 8 128 30 145)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "reset_n" (rect 0 0 36 12)(font "Arial" ))
(text "reset_n" (rect 21 27 57 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "echo" (rect 0 0 23 12)(font "Arial" ))
(text "echo" (rect 21 59 44 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 200 32)
(output)
(text "trigger" (rect 0 0 30 12)(font "Arial" ))
(text "trigger" (rect 154 27 184 39)(font "Arial" ))
(line (pt 200 32)(pt 184 32))
)
(port
(pt 200 48)
(output)
(text "distance[width-1..0]" (rect 0 0 95 12)(font "Arial" ))
(text "distance[width-1..0]" (rect 99 43 194 55)(font "Arial" ))
(line (pt 200 48)(pt 184 48)(line_width 3))
)
(port
(pt 200 64)
(output)
(text "units_h[6..0]" (rect 0 0 61 12)(font "Arial" ))
(text "units_h[6..0]" (rect 128 59 189 71)(font "Arial" ))
(line (pt 200 64)(pt 184 64)(line_width 3))
)
(port
(pt 200 80)
(output)
(text "tens_h[6..0]" (rect 0 0 59 12)(font "Arial" ))
(text "tens_h[6..0]" (rect 130 75 189 87)(font "Arial" ))
(line (pt 200 80)(pt 184 80)(line_width 3))
)
(port
(pt 200 96)
(output)
(text "hundreds_h[6..0]" (rect 0 0 82 12)(font "Arial" ))
(text "hundreds_h[6..0]" (rect 110 91 192 103)(font "Arial" ))
(line (pt 200 96)(pt 184 96)(line_width 3))
)
(parameter
"width"
"16"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"MAX_WIDTH_PULSE"
"38000"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 184 128))
)
(annotation_block (parameter)(rect 400 1040 632 1104))
)
(symbol
(rect 664 216 1144 520)
(text "radar_core" (rect 208 -1 279 15)(font "Arial" (font_size 10)))
(text "inst" (rect 8 288 25 300)(font "Arial" ))
(port
(pt 0 72)
(input)
(text "clk_clk" (rect 0 0 37 14)(font "Arial" (font_size 8)))
(text "clk_clk" (rect 4 61 41 75)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 208 72))
)
(port
(pt 0 232)
(input)
(text "pio_3_external_connection_export[15..0]" (rect 0 0 232 14)(font "Arial" (font_size 8)))
(text "pio_3_external_connection_export[15..0]" (rect 4 221 236 235)(font "Arial" (font_size 8)))
(line (pt 0 232)(pt 208 232)(line_width 3))
)
(port
(pt 0 272)
(input)
(text "reset_reset_n" (rect 0 0 80 14)(font "Arial" (font_size 8)))
(text "reset_reset_n" (rect 4 261 84 275)(font "Arial" (font_size 8)))
(line (pt 0 272)(pt 208 272))
)
(port
(pt 0 112)
(output)
(text "pio_0_external_connection_export[7..0]" (rect 0 0 225 14)(font "Arial" (font_size 8)))
(text "pio_0_external_connection_export[7..0]" (rect 4 101 229 115)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 208 112)(line_width 3))
)
(port
(pt 0 152)
(output)
(text "pio_1_external_connection_export[9..0]" (rect 0 0 225 14)(font "Arial" (font_size 8)))
(text "pio_1_external_connection_export[9..0]" (rect 4 141 229 155)(font "Arial" (font_size 8)))
(line (pt 0 152)(pt 208 152)(line_width 3))
)
(port
(pt 0 192)
(output)
(text "pio_2_external_connection_export[9..0]" (rect 0 0 225 14)(font "Arial" (font_size 8)))
(text "pio_2_external_connection_export[9..0]" (rect 4 181 229 195)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 208 192)(line_width 3))
)
(drawing
(text "clk" (rect 193 43 210 58)(font "Arial" (color 128 0 0)(font_size 9)))
(text "clk" (rect 213 67 227 79)(font "Arial" (color 0 0 0)))
(text "pio_0_external_connection" (rect 54 83 228 98)(font "Arial" (color 128 0 0)(font_size 9)))
(text "export" (rect 213 107 243 119)(font "Arial" (color 0 0 0)))
(text "pio_1_external_connection" (rect 56 123 230 138)(font "Arial" (color 128 0 0)(font_size 9)))
(text "export" (rect 213 147 243 159)(font "Arial" (color 0 0 0)))
(text "pio_2_external_connection" (rect 54 163 228 178)(font "Arial" (color 128 0 0)(font_size 9)))
(text "export" (rect 213 187 243 199)(font "Arial" (color 0 0 0)))
(text "pio_3_external_connection" (rect 54 203 228 218)(font "Arial" (color 128 0 0)(font_size 9)))
(text "export" (rect 213 227 243 239)(font "Arial" (color 0 0 0)))
(text "reset" (rect 179 243 212 258)(font "Arial" (color 128 0 0)(font_size 9)))
(text "reset_n" (rect 213 267 249 279)(font "Arial" (color 0 0 0)))
(text " radar_core " (rect 429 288 488 300)(font "Arial" ))
(line (pt 208 32)(pt 272 32))
(line (pt 272 32)(pt 272 288))
(line (pt 208 288)(pt 272 288))
(line (pt 208 32)(pt 208 288))
(line (pt 209 52)(pt 209 76))
(line (pt 210 52)(pt 210 76))
(line (pt 209 92)(pt 209 116))
(line (pt 210 92)(pt 210 116))
(line (pt 209 132)(pt 209 156))
(line (pt 210 132)(pt 210 156))
(line (pt 209 172)(pt 209 196))
(line (pt 210 172)(pt 210 196))
(line (pt 209 212)(pt 209 236))
(line (pt 210 212)(pt 210 236))
(line (pt 209 252)(pt 209 276))
(line (pt 210 252)(pt 210 276))
(line (pt 0 0)(pt 480 0))
(line (pt 480 0)(pt 480 304))
(line (pt 0 304)(pt 480 304))
(line (pt 0 0)(pt 0 304))
)
)
(symbol
(rect 1280 632 1464 744)
(text "pwm_module" (rect 5 0 68 12)(font "Arial" ))
(text "inst8" (rect 8 96 30 113)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "en" (rect 0 0 11 12)(font "Arial" ))
(text "en" (rect 21 43 32 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "duty[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "duty[7..0]" (rect 21 59 69 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 184 32)
(output)
(text "pwm_led" (rect 0 0 42 12)(font "Arial" ))
(text "pwm_led" (rect 128 27 170 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32))
)
(port
(pt 184 48)
(output)
(text "pwm_motor" (rect 0 0 56 12)(font "Arial" ))
(text "pwm_motor" (rect 116 43 172 55)(font "Arial" ))
(line (pt 184 48)(pt 168 48))
)
(drawing
(rectangle (rect 16 16 168 96))
)
)
(symbol
(rect 1048 544 1200 624)
(text "divisor_freq" (rect 5 0 64 12)(font "Arial" ))
(text "inst4" (rect 8 64 30 81)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "reset_n" (rect 0 0 36 12)(font "Arial" ))
(text "reset_n" (rect 21 27 57 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 152 32)
(output)
(text "clk_o" (rect 0 0 25 12)(font "Arial" ))
(text "clk_o" (rect 110 27 135 39)(font "Arial" ))
(line (pt 152 32)(pt 136 32))
)
(parameter
"N"
"50"
""
(type "PARAMETER_SIGNED_DEC") )
(parameter
"BUS_WIDTH"
"26"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 136 64))
)
(annotation_block (parameter)(rect 1232 456 1413 513))
)
(connector
(pt 184 888)
(pt 136 888)
)
(connector
(pt 184 904)
(pt 96 904)
)
(connector
(pt 96 904)
(pt 96 288)
)
(connector
(pt 576 704)
(pt 496 704)
)
(connector
(pt 576 720)
(pt 544 720)
(bus)
)
(connector
(pt 64 288)
(pt 96 288)
)
(connector
(pt 576 736)
(pt 448 736)
(bus)
)
(connector
(pt 576 752)
(pt 392 752)
(bus)
)
(connector
(pt 136 688)
(pt 576 688)
)
(connector
(pt 136 688)
(pt 136 888)
)
(connector
(pt 136 488)
(pt 136 688)
)
(connector
(pt 360 824)
(pt 632 824)
(bus)
)
(connector
(pt 384 904)
(pt 632 904)
(bus)
)
(connector
(pt 632 904)
(pt 632 824)
(bus)
)
(connector
(pt 448 736)
(pt 448 368)
(bus)
)
(connector
(pt 392 752)
(pt 392 408)
(bus)
)
(connector
(pt 360 824)
(pt 360 448)
(bus)
)
(connector
(pt 96 288)
(pt 496 288)
)
(connector
(pt 48 488)
(pt 136 488)
)
(connector
(pt 496 288)
(pt 664 288)
)
(connector
(pt 360 448)
(pt 664 448)
(bus)
)
(connector
(pt 544 328)
(pt 664 328)
(bus)
)
(connector
(pt 448 368)
(pt 664 368)
(bus)
)
(connector
(pt 392 408)
(pt 664 408)
(bus)
)
(connector
(pt 1048 576)
(pt 608 576)
)
(connector
(pt 608 576)
(pt 608 488)
)
(connector
(pt 136 488)
(pt 608 488)
)
(connector
(pt 608 488)
(pt 664 488)
)
(connector
(pt 496 288)
(pt 496 592)
)
(connector
(pt 496 592)
(pt 496 704)
)
(connector
(pt 1200 576)
(pt 1232 576)
)
(connector
(pt 1232 576)
(pt 1232 680)
)
(connector
(pt 1280 680)
(pt 1232 680)
)
(connector
(pt 1280 664)
(pt 1008 664)
)
(connector
(pt 1008 592)
(pt 1008 664)
)
(connector
(pt 1048 592)
(pt 1008 592)
)
(connector
(pt 1008 592)
(pt 496 592)
)
(connector
(pt 1280 696)
(pt 952 696)
(bus)
)
(connector
(pt 952 616)
(pt 952 696)
(bus)
)
(connector
(pt 952 616)
(pt 544 616)
(bus)
)
(connector
(pt 544 328)
(pt 544 616)
(bus)
)
(connector
(pt 544 616)
(pt 544 720)
(bus)
)
(junction (pt 96 288))
(junction (pt 496 288))
(junction (pt 136 688))
(junction (pt 136 488))
(junction (pt 608 488))
(junction (pt 496 592))
(junction (pt 1008 592))
(junction (pt 544 616))