-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPOSN_VEL.bdf
901 lines (901 loc) · 24.6 KB
/
POSN_VEL.bdf
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
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
/*
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 -136 120 32 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A" (rect 9 0 16 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 -136 136 32 152)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "B" (rect 9 0 16 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 -136 152 32 168)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK" (rect 9 0 30 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 -136 168 32 184)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "RESETN" (rect 9 0 52 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 -272 480 -104 496)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLK2" (rect 9 0 36 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 -136 72 32 88)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "REVERSE" (rect 9 0 60 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 440 488 648 504)
(text "INPUT" (rect 173 0 201 10)(font "Arial" (font_size 6)))
(text "Vel_CLK_PERIOD[4..0]" (rect 5 0 121 12)(font "Arial" ))
(pt 208 8)
(drawing
(line (pt 132 12)(pt 157 12)(line_width 1))
(line (pt 132 4)(pt 157 4)(line_width 1))
(line (pt 161 8)(pt 208 8)(line_width 1))
(line (pt 132 12)(pt 132 4)(line_width 1))
(line (pt 157 4)(pt 161 8)(line_width 1))
(line (pt 157 12)(pt 161 8)(line_width 1))
)
(text "VCC" (rect 176 7 196 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 1120 408 1296 424)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "VEL[31..0]" (rect 90 0 141 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))
)
)
(pin
(output)
(rect 1128 656 1304 672)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ACC[31..0]" (rect 90 0 145 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))
)
)
(pin
(output)
(rect 656 128 832 144)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "POS[31..0]" (rect 90 0 144 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 392 248 440 280)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst5" (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 320 80 384 128)
(text "XOR" (rect 1 0 21 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 11 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 11 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 49 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 13)(pt 25 13)(line_width 1))
(line (pt 14 36)(pt 25 36)(line_width 1))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1))
(arc (pt 8 36)(pt 8 12)(rect -21 7 14 42)(line_width 1))
)
)
(symbol
(rect 104 96 240 224)
(text "QUADRATURE_DECODE" (rect 5 0 144 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "A" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "A" (rect 21 27 30 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "B" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "B" (rect 21 43 29 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "CLK" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLK" (rect 21 59 44 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "RESETN" (rect 0 0 46 14)(font "Arial" (font_size 8)))
(text "RESETN" (rect 21 75 67 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 136 48)
(output)
(text "cpulse" (rect 0 0 37 14)(font "Arial" (font_size 8)))
(text "cpulse" (rect 78 43 115 57)(font "Arial" (font_size 8)))
(line (pt 136 48)(pt 120 48)(line_width 1))
)
(port
(pt 136 32)
(output)
(text "cdir" (rect 0 0 21 14)(font "Arial" (font_size 8)))
(text "cdir" (rect 94 27 115 41)(font "Arial" (font_size 8)))
(line (pt 136 32)(pt 120 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 120 112)(line_width 1))
)
)
(symbol
(rect 456 96 600 192)
(text "lpm_counter_oe0" (rect 23 1 139 17)(font "Arial" (font_size 10)))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "updown" (rect 0 0 47 14)(font "Arial" (font_size 8)))
(text "updown" (rect 20 26 67 40)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(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[31..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[31..0]" (rect 89 34 131 48)(font "Arial" (font_size 8)))
(line (pt 144 40)(pt 128 40)(line_width 3))
)
(drawing
(text "up/down" (rect 94 17 134 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 32 368 176 464)
(text "lpm_dff_oe0" (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[31..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "data[31..0]" (rect 20 26 80 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[31..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[31..0]" (rect 89 34 131 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 232 376 376 472)
(text "lpm_dff_oe0" (rect 38 1 119 17)(font "Arial" (font_size 10)))
(text "inst11" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[31..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "data[31..0]" (rect 20 26 80 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[31..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[31..0]" (rect 89 34 131 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 32 632 176 728)
(text "lpm_dff_oe0" (rect 38 1 119 17)(font "Arial" (font_size 10)))
(text "inst12" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[31..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "data[31..0]" (rect 20 26 80 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[31..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[31..0]" (rect 89 34 131 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 240 640 384 736)
(text "lpm_dff_oe0" (rect 38 1 119 17)(font "Arial" (font_size 10)))
(text "inst14" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[31..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "data[31..0]" (rect 20 26 80 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[31..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
(text "q[31..0]" (rect 89 34 131 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 432 344 592 440)
(text "lpm_add_sub_oe0" (rect 28 1 151 17)(font "Arial" (font_size 10)))
(text "inst15" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "dataa[31..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 64 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "datab[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "datab[31..0]" (rect 4 59 71 73)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 64 72)(line_width 3))
)
(port
(pt 160 56)
(output)
(text "result[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[31..0]" (rect 100 43 167 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 75 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 440 608 600 704)
(text "lpm_add_sub_oe0" (rect 28 1 151 17)(font "Arial" (font_size 10)))
(text "inst16" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "dataa[31..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 64 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "datab[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "datab[31..0]" (rect 4 59 71 73)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 64 72)(line_width 3))
)
(port
(pt 160 56)
(output)
(text "result[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[31..0]" (rect 100 43 167 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 75 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 736 360 904 456)
(text "lpm_mult_oe0" (rect 44 1 139 17)(font "Arial" (font_size 10)))
(text "inst18" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[26..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "dataa[26..0]" (rect 4 27 71 41)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 72 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "datab[4..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "datab[4..0]" (rect 4 59 64 73)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 72 72)(line_width 3))
)
(port
(pt 168 56)
(output)
(text "result[31..0]" (rect 0 0 67 14)(font "Arial" (font_size 8)))
(text "result[31..0]" (rect 108 43 175 57)(font "Arial" (font_size 8)))
(line (pt 168 56)(pt 104 56)(line_width 3))
)
(drawing
(text "Signed" (rect 105 57 138 69)(font "Arial" ))
(text "multiplication" (rect 105 67 168 79)(font "Arial" ))
(line (pt 82 50)(pt 94 62)(line_width 3))
(line (pt 82 62)(pt 94 50)(line_width 3))
(line (pt 72 40)(pt 77 45)(line_width 3))
(line (pt 72 72)(pt 77 67)(line_width 3))
(circle (rect 72 40 104 72)(line_width 1))
)
)
(connector
(pt 376 416)
(pt 432 416)
(bus)
)
(connector
(text "RESETC" (rect 296 481 308 524)(font "Arial" )(vertical))
(pt 312 472)
(pt 312 528)
)
(connector
(pt 232 424)
(pt 200 424)
)
(connector
(pt 200 424)
(pt 200 488)
)
(connector
(pt 384 680)
(pt 440 680)
(bus)
)
(connector
(pt 408 648)
(pt 440 648)
(bus)
)
(connector
(text "RESETC" (rect 304 745 316 788)(font "Arial" )(vertical))
(pt 320 736)
(pt 320 792)
)
(connector
(pt 408 648)
(pt 408 592)
(bus)
)
(connector
(pt 240 688)
(pt 208 688)
)
(connector
(pt 208 688)
(pt 208 752)
)
(connector
(pt 224 592)
(pt 408 592)
(bus)
)
(connector
(pt 224 592)
(pt 224 672)
(bus)
)
(connector
(text "VEL[31..0]" (rect 1074 400 1125 412)(font "Arial" ))
(pt 1008 416)
(pt 1120 416)
(bus)
)
(connector
(pt 392 344)
(pt 392 384)
(bus)
)
(connector
(pt 392 384)
(pt 432 384)
(bus)
)
(connector
(pt 208 408)
(pt 208 344)
(bus)
)
(connector
(pt 392 344)
(pt 208 344)
(bus)
)
(connector
(text "RESETC" (rect 96 489 108 532)(font "Arial" )(vertical))
(pt 112 464)
(pt 112 536)
)
(connector
(text "C[31..0]" (rect -22 384 18 396)(font "Arial" ))
(pt -24 400)
(pt 32 400)
(bus)
)
(connector
(pt 176 408)
(pt 208 408)
(bus)
)
(connector
(pt 208 408)
(pt 232 408)
(bus)
)
(connector
(pt 0 488)
(pt 0 416)
)
(connector
(pt 32 416)
(pt 0 416)
)
(connector
(pt 0 488)
(pt 200 488)
)
(connector
(pt -72 488)
(pt -72 752)
)
(connector
(pt -104 488)
(pt -72 488)
)
(connector
(pt -72 488)
(pt 0 488)
)
(connector
(text "RESETC" (rect 96 737 108 780)(font "Arial" )(vertical))
(pt 112 728)
(pt 112 784)
)
(connector
(pt 176 672)
(pt 224 672)
(bus)
)
(connector
(pt 224 672)
(pt 240 672)
(bus)
)
(connector
(text "vtenth[31..0]" (rect -46 648 17 660)(font "Arial" ))
(pt -48 664)
(pt 32 664)
(bus)
)
(connector
(pt 32 680)
(pt -8 680)
)
(connector
(pt -8 680)
(pt -8 752)
)
(connector
(pt -72 752)
(pt -8 752)
)
(connector
(pt -8 752)
(pt 208 752)
)
(connector
(text "A" (rect 42 112 49 124)(font "Arial" ))
(pt 104 128)
(pt 32 128)
)
(connector
(text "B" (rect 42 128 49 140)(font "Arial" ))
(pt 104 144)
(pt 32 144)
)
(connector
(text "CLK1" (rect 42 144 69 156)(font "Arial" ))
(pt 104 160)
(pt 32 160)
)
(connector
(text "RESETN" (rect 42 160 85 172)(font "Arial" ))
(pt 104 176)
(pt 32 176)
)
(connector
(text "RESETN" (rect 288 248 331 260)(font "Arial" ))
(pt 280 264)
(pt 392 264)
)
(connector
(pt 456 128)
(pt 416 128)
)
(connector
(pt 416 104)
(pt 384 104)
)
(connector
(pt 416 128)
(pt 416 104)
)
(connector
(pt 288 96)
(pt 320 96)
)
(connector
(pt 288 112)
(pt 320 112)
)
(connector
(pt 288 128)
(pt 288 112)
)
(connector
(pt 288 96)
(pt 288 80)
)
(connector
(pt 32 80)
(pt 288 80)
)
(connector
(pt 536 192)
(pt 536 264)
)
(connector
(text "RESETC" (rect 466 248 509 260)(font "Arial" ))
(pt 440 264)
(pt 536 264)
)
(connector
(text "C[31..0]" (rect 600 120 640 132)(font "Arial" ))
(pt 600 136)
(pt 656 136)
(bus)
)
(connector
(pt 240 128)
(pt 288 128)
)
(connector
(pt 240 144)
(pt 456 144)
)
(connector
(text "vtenth[31..0]" (rect 594 384 657 396)(font "Arial" ))
(pt 648 400)
(pt 592 400)
(bus)
)
(connector
(pt 672 496)
(pt 648 496)
(bus)
)
(connector
(text "VEL[31..0]" (rect 914 400 965 412)(font "Arial" ))
(pt 904 416)
(pt 952 416)
(bus)
)
(connector
(pt 672 496)
(pt 672 432)
(bus)
)
(connector
(pt 672 432)
(pt 736 432)
(bus)
)
(connector
(text "vtenth[26..0]" (rect 672 384 735 396)(font "Arial" ))
(pt 736 400)
(pt 672 400)
(bus)
)
(connector
(text "ACC[31..0]" (rect 1066 648 1121 660)(font "Arial" ))
(pt 600 664)
(pt 1128 664)
(bus)
)
(junction (pt 208 408))
(junction (pt 0 488))
(junction (pt -72 488))
(junction (pt 224 672))
(junction (pt -8 752))
(text "Students' acceleration calculation has been simplified here... -- TRC." (rect 648 696 1037 710)(font "Arial" (font_size 8)))
(text "upper velocity bits discarded." (rect 592 368 759 382)(font "Arial" (font_size 8)))
(text "Two features were deleted from the students' original design." (rect 152 840 503 854)(font "Arial" (font_size 8)))
(text "One created a signal that can drive LEDs much like a bar graph, and the other computed total rotation, treating negative rotation as though it were also positive.," (rect 152 856 1057 870)(font "Arial" (font_size 8)))
(text "Contributors were.Jonathan Canady, Tejas Potdar, Chirag Rustgi, and Alex Trimm." (rect -304 280 160 294)(font "Arial" (font_size 8)))
(text "Developed by students in ECE2031, Fall 2010 for final project, with minor modifications for subsequent distribution." (rect -304 264 345 278)(font "Arial" (font_size 8)))
(text "Multiply by sample hz to get counts/sec" (rect 696 344 919 358)(font "Arial" (font_size 8)))