-
Notifications
You must be signed in to change notification settings - Fork 0
/
CA_Project.bdf
1070 lines (1070 loc) · 24.6 KB
/
CA_Project.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
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
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) 2020 Intel Corporation. All rights reserved.
Your use of Intel Corporation's design tools, logic functions
and other software and tools, and any 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, at
https://fpgasoftware.intel.com/eula.
*/
(header "graphic" (version "1.4"))
(pin
(input)
(rect 1480 1112 1656 1128)
(text "INPUT" (rect 133 0 162 10)(font "Arial" (font_size 6)))
(text "pin_name1" (rect 9 0 65 11)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 157 17)(font "Arial" (font_size 6)))
)
(symbol
(rect 1816 1752 2016 1848)
(text "Block2" (rect 5 0 45 15)(font "Intel Clear" (font_size 8)))
(text "inst49" (rect 8 79 38 90)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data[31..0]" (rect 0 0 62 15)(font "Intel Clear" (font_size 8)))
(text "data[31..0]" (rect 21 27 83 42)(font "Intel Clear" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 200 32)
(output)
(text "dataOut[31..0]" (rect 0 0 83 15)(font "Intel Clear" (font_size 8)))
(text "dataOut[31..0]" (rect 96 27 179 42)(font "Intel Clear" (font_size 8)))
(line (pt 200 32)(pt 184 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 184 80))
)
)
(symbol
(rect 1840 1536 2016 1728)
(text "ALTFP_DIV" (rect 56 0 142 16)(font "Arial" (font_size 10)))
(text "inst37" (rect 8 176 38 187)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "dataa[(WIDTH_EXP + WIDTH_MAN)..0]" (rect 20 18 246 31)(font "Arial" (font_size 8)))
(text "dataa[]" (rect 24 24 64 37)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "datab[(WIDTH_EXP + WIDTH_MAN)..0]" (rect 20 34 246 47)(font "Arial" (font_size 8)))
(text "datab[]" (rect 24 40 64 53)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "clk_en" (rect 21 81 58 94)(font "Arial" (font_size 8)))
(text "clk_en" (rect 21 73 58 86)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 112)
(input)
(text "clock" (rect 20 106 51 119)(font "Arial" (font_size 8)))
(text "clock" (rect 20 106 51 119)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 88 192)
(input)
(text "aclr" (rect 64 149 86 162)(font "Arial" (font_size 8)))
(text "aclr" (rect 80 152 93 174)(font "Arial" (font_size 8))(vertical))
(line (pt 88 192)(pt 88 176))
)
(port
(pt 176 40)
(output)
(text "overflow" (rect 111 33 159 46)(font "Arial" (font_size 8)))
(text "overflow" (rect 115 33 163 46)(font "Arial" (font_size 8)))
(line (pt 176 40)(pt 160 40))
)
(port
(pt 176 56)
(output)
(text "underflow" (rect 105 48 161 61)(font "Arial" (font_size 8)))
(text "underflow" (rect 108 48 164 61)(font "Arial" (font_size 8)))
(line (pt 176 56)(pt 160 56))
)
(port
(pt 176 72)
(output)
(text "zero" (rect 132 65 157 78)(font "Arial" (font_size 8)))
(text "zero" (rect 134 65 159 78)(font "Arial" (font_size 8)))
(line (pt 176 72)(pt 160 72))
)
(port
(pt 176 88)
(output)
(text "nan" (rect 139 113 161 126)(font "Arial" (font_size 8)))
(text "nan" (rect 137 81 159 94)(font "Arial" (font_size 8)))
(line (pt 176 88)(pt 160 88))
)
(port
(pt 176 24)
(output)
(text "result[(WIDTH_EXP + WIDTH_MAN)..0]" (rect 119 19 344 32)(font "Arial" (font_size 8)))
(text "result[]" (rect 123 19 161 32)(font "Arial" (font_size 8)))
(line (pt 176 24)(pt 160 24)(line_width 3))
)
(port
(pt 176 104)
(output)
(text "division_by_zero" (rect 126 128 221 141)(font "Arial" (font_size 8)))
(text "division_by_zero" (rect 75 96 170 109)(font "Arial" (font_size 8)))
(line (pt 176 104)(pt 160 104))
)
(parameter
"WIDTH_EXP"
"8"
"The width of exponent field"
)
(parameter
"WIDTH_MAN"
"23"
"The width of mantissa field"
)
(parameter
"PIPELINE"
"6"
"Specify the clock cycles needed to produce the output"
"11" "26" "56"
)
(parameter
"ROUNDING"
"TO_NEAREST"
"Specify the rounding mode"
)
(drawing
(line (pt 16 16)(pt 160 16))
(line (pt 160 16)(pt 160 176))
(line (pt 16 176)(pt 160 176))
(line (pt 17 16)(pt 17 176))
)
(annotation_block (parameter)(rect 2016 1456 2188 1531))
)
(symbol
(rect 1848 1296 2000 1456)
(text "ALTFP_MULT" (rect 35 0 137 16)(font "Arial" (font_size 10)))
(text "inst38" (rect 11 144 41 155)(font "Arial" ))
(port
(pt 0 24)
(input)
(text "dataa[(WIDTH_EXP + WIDTH_MAN)..0]" (rect 20 18 246 31)(font "Arial" (font_size 8)))
(text "dataa[]" (rect 20 18 60 31)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 3))
)
(port
(pt 0 40)
(input)
(text "datab[(WIDTH_EXP + WIDTH_MAN)..0]" (rect 20 34 246 47)(font "Arial" (font_size 8)))
(text "datab[]" (rect 20 34 60 47)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "clk_en" (rect 21 81 58 94)(font "Arial" (font_size 8)))
(text "clk_en" (rect 21 65 58 78)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72))
)
(port
(pt 0 104)
(input)
(text "clock" (rect 20 106 51 119)(font "Arial" (font_size 8)))
(text "clock" (rect 20 98 51 111)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104))
)
(port
(pt 72 160)
(input)
(text "aclr" (rect 64 117 86 130)(font "Arial" (font_size 8)))
(text "aclr" (rect 64 120 77 142)(font "Arial" (font_size 8))(vertical))
(line (pt 72 160)(pt 72 144))
)
(port
(pt 152 40)
(output)
(text "overflow" (rect 87 33 135 46)(font "Arial" (font_size 8)))
(text "overflow" (rect 91 33 139 46)(font "Arial" (font_size 8)))
(line (pt 152 40)(pt 136 40))
)
(port
(pt 152 56)
(output)
(text "underflow" (rect 81 48 137 61)(font "Arial" (font_size 8)))
(text "underflow" (rect 84 48 140 61)(font "Arial" (font_size 8)))
(line (pt 152 56)(pt 136 56))
)
(port
(pt 152 72)
(output)
(text "zero" (rect 108 65 133 78)(font "Arial" (font_size 8)))
(text "zero" (rect 110 65 135 78)(font "Arial" (font_size 8)))
(line (pt 152 72)(pt 136 72))
)
(port
(pt 152 88)
(output)
(text "nan" (rect 115 113 137 126)(font "Arial" (font_size 8)))
(text "nan" (rect 113 81 135 94)(font "Arial" (font_size 8)))
(line (pt 152 88)(pt 136 88))
)
(port
(pt 152 24)
(output)
(text "result[(WIDTH_EXP + WIDTH_MAN)..0]" (rect 95 19 320 32)(font "Arial" (font_size 8)))
(text "result[]" (rect 99 19 137 32)(font "Arial" (font_size 8)))
(line (pt 152 24)(pt 136 24)(line_width 3))
)
(parameter
"WIDTH_EXP"
"8"
"The width of exponent field"
)
(parameter
"WIDTH_MAN"
"23"
"The width of mantissa field"
)
(parameter
"DEDICATED_MULTIPLIER_CIRCUITRY"
"\"AUTO\""
"To use dedicated multiplier circuitry if exist in the device"
"\"AUTO\"" "\"YES\"" "\"NO\""
)
(parameter
"REDUCED_FUNCTIONALITY"
"\"YES\""
"To use reduced version of the multiplier to increase FMAX and reduce LEs usage"
"\"YES\"" "\"NO\""
)
(parameter
"PIPELINE"
"5"
"Specify the clock cycles needed to produce the output"
"5" "6"
)
(drawing
(line (pt 17 143)(pt 135 143))
(line (pt 16 16)(pt 135 16))
(line (pt 135 16)(pt 135 143))
(line (pt 17 16)(pt 17 143))
)
(annotation_block (parameter)(rect 1928 1144 2193 1234))
)
(symbol
(rect 2600 1256 2712 1344)
(text "BUSMUX" (rect 28 0 96 16)(font "Arial" (font_size 10)))
(text "inst39" (rect 3 77 33 88)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "datab[WIDTH-1..0]" (rect 6 51 112 64)(font "Arial" (font_size 8)))
(text "datab[]" (rect 6 51 46 64)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 44 64)(line_width 3))
)
(port
(pt 56 88)
(input)
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(line (pt 56 88)(pt 56 72))
)
(port
(pt 0 32)
(input)
(text "dataa[WIDTH-1..0]" (rect 6 19 112 32)(font "Arial" (font_size 8)))
(text "dataa[]" (rect 6 19 46 32)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 44 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "result[WIDTH-1..0]" (rect 75 35 181 48)(font "Arial" (font_size 8)))
(text "result[]" (rect 75 35 113 48)(font "Arial" (font_size 8)))
(line (pt 68 48)(pt 112 48)(line_width 3))
)
(parameter
"WIDTH"
"64"
"Width of I/O, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(drawing
(text "0" (rect 52 31 60 41)(font "Arial" (font_size 6)))
(text "1" (rect 52 55 60 65)(font "Arial" (font_size 6)))
(line (pt 68 64)(pt 68 32))
(line (pt 44 80)(pt 44 16))
(line (pt 44 16)(pt 68 32))
(line (pt 44 80)(pt 68 64))
)
(annotation_block (parameter)(rect 2712 1224 2834 1254))
)
(symbol
(rect 2464 1464 2576 1552)
(text "BUSMUX" (rect 28 0 96 16)(font "Arial" (font_size 10)))
(text "inst46" (rect 3 77 33 88)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "datab[WIDTH-1..0]" (rect 6 51 112 64)(font "Arial" (font_size 8)))
(text "datab[]" (rect 6 51 46 64)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 44 64)(line_width 3))
)
(port
(pt 56 88)
(input)
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(line (pt 56 88)(pt 56 72))
)
(port
(pt 0 32)
(input)
(text "dataa[WIDTH-1..0]" (rect 6 19 112 32)(font "Arial" (font_size 8)))
(text "dataa[]" (rect 6 19 46 32)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 44 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "result[WIDTH-1..0]" (rect 75 35 181 48)(font "Arial" (font_size 8)))
(text "result[]" (rect 75 35 113 48)(font "Arial" (font_size 8)))
(line (pt 68 48)(pt 112 48)(line_width 3))
)
(parameter
"WIDTH"
"64"
"Width of I/O, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(drawing
(text "0" (rect 52 31 60 41)(font "Arial" (font_size 6)))
(text "1" (rect 52 55 60 65)(font "Arial" (font_size 6)))
(line (pt 68 64)(pt 68 32))
(line (pt 44 80)(pt 44 16))
(line (pt 44 16)(pt 68 32))
(line (pt 44 80)(pt 68 64))
)
(annotation_block (parameter)(rect 2448 1424 2568 1472))
)
(symbol
(rect 2288 1424 2400 1512)
(text "BUSMUX" (rect 28 0 96 16)(font "Arial" (font_size 10)))
(text "inst48" (rect 3 77 33 88)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "datab[WIDTH-1..0]" (rect 6 51 112 64)(font "Arial" (font_size 8)))
(text "datab[]" (rect 6 51 46 64)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 44 64)(line_width 3))
)
(port
(pt 56 88)
(input)
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(line (pt 56 88)(pt 56 72))
)
(port
(pt 0 32)
(input)
(text "dataa[WIDTH-1..0]" (rect 6 19 112 32)(font "Arial" (font_size 8)))
(text "dataa[]" (rect 6 19 46 32)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 44 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "result[WIDTH-1..0]" (rect 75 35 181 48)(font "Arial" (font_size 8)))
(text "result[]" (rect 75 35 113 48)(font "Arial" (font_size 8)))
(line (pt 68 48)(pt 112 48)(line_width 3))
)
(parameter
"WIDTH"
"64"
"Width of I/O, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(drawing
(text "0" (rect 52 31 60 41)(font "Arial" (font_size 6)))
(text "1" (rect 52 55 60 65)(font "Arial" (font_size 6)))
(line (pt 68 64)(pt 68 32))
(line (pt 44 80)(pt 44 16))
(line (pt 44 16)(pt 68 32))
(line (pt 44 80)(pt 68 64))
)
(annotation_block (parameter)(rect 2280 1376 2456 1408))
)
(symbol
(rect 2304 1248 2416 1336)
(text "BUSMUX" (rect 28 0 96 16)(font "Arial" (font_size 10)))
(text "inst47" (rect 3 77 33 88)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "datab[WIDTH-1..0]" (rect 6 51 112 64)(font "Arial" (font_size 8)))
(text "datab[]" (rect 6 51 46 64)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 44 64)(line_width 3))
)
(port
(pt 56 88)
(input)
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(line (pt 56 88)(pt 56 72))
)
(port
(pt 0 32)
(input)
(text "dataa[WIDTH-1..0]" (rect 6 19 112 32)(font "Arial" (font_size 8)))
(text "dataa[]" (rect 6 19 46 32)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 44 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "result[WIDTH-1..0]" (rect 75 35 181 48)(font "Arial" (font_size 8)))
(text "result[]" (rect 75 35 113 48)(font "Arial" (font_size 8)))
(line (pt 68 48)(pt 112 48)(line_width 3))
)
(parameter
"WIDTH"
"64"
"Width of I/O, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(drawing
(text "0" (rect 52 31 60 41)(font "Arial" (font_size 6)))
(text "1" (rect 52 55 60 65)(font "Arial" (font_size 6)))
(line (pt 68 64)(pt 68 32))
(line (pt 44 80)(pt 44 16))
(line (pt 44 16)(pt 68 32))
(line (pt 44 80)(pt 68 64))
)
(annotation_block (parameter)(rect 2288 1200 2400 1248))
)
(symbol
(rect 2472 1224 2584 1312)
(text "BUSMUX" (rect 28 0 96 16)(font "Arial" (font_size 10)))
(text "inst45" (rect 3 77 33 88)(font "Arial" ))
(port
(pt 0 64)
(input)
(text "datab[WIDTH-1..0]" (rect 6 51 112 64)(font "Arial" (font_size 8)))
(text "datab[]" (rect 6 51 46 64)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 44 64)(line_width 3))
)
(port
(pt 56 88)
(input)
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(text "sel" (rect 59 70 76 83)(font "Arial" (font_size 8)))
(line (pt 56 88)(pt 56 72))
)
(port
(pt 0 32)
(input)
(text "dataa[WIDTH-1..0]" (rect 6 19 112 32)(font "Arial" (font_size 8)))
(text "dataa[]" (rect 6 19 46 32)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 44 32)(line_width 3))
)
(port
(pt 112 48)
(output)
(text "result[WIDTH-1..0]" (rect 75 35 181 48)(font "Arial" (font_size 8)))
(text "result[]" (rect 75 35 113 48)(font "Arial" (font_size 8)))
(line (pt 68 48)(pt 112 48)(line_width 3))
)
(parameter
"WIDTH"
"64"
"Width of I/O, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(drawing
(text "0" (rect 52 31 60 41)(font "Arial" (font_size 6)))
(text "1" (rect 52 55 60 65)(font "Arial" (font_size 6)))
(line (pt 68 64)(pt 68 32))
(line (pt 44 80)(pt 44 16))
(line (pt 44 16)(pt 68 32))
(line (pt 44 80)(pt 68 64))
)
(annotation_block (parameter)(rect 2464 1184 2600 1224))
)
(symbol
(rect 1832 912 2016 1144)
(text "my_add_sub" (rect 55 0 147 16)(font "Arial" (font_size 10)))
(text "inst" (rect 8 217 26 228)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "dataa[31..0]" (rect 0 0 68 13)(font "Arial" (font_size 8)))
(text "dataa[31..0]" (rect 20 34 88 47)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 3))
)
(port
(pt 0 56)
(input)
(text "datab[31..0]" (rect 0 0 68 13)(font "Arial" (font_size 8)))
(text "datab[31..0]" (rect 20 50 88 63)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "add_sub" (rect 0 0 49 13)(font "Arial" (font_size 8)))
(text "add_sub" (rect 20 66 69 79)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72))
)
(port
(pt 0 104)
(input)
(text "clock" (rect 0 0 31 13)(font "Arial" (font_size 8)))
(text "clock" (rect 20 98 51 111)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104))
)
(port
(pt 184 40)
(output)
(text "result[31..0]" (rect 0 0 67 13)(font "Arial" (font_size 8)))
(text "result[31..0]" (rect 109 34 176 47)(font "Arial" (font_size 8)))
(line (pt 184 40)(pt 168 40)(line_width 3))
)
(port
(pt 184 56)
(output)
(text "NaN" (rect 0 0 25 13)(font "Arial" (font_size 8)))
(text "NaN" (rect 144 50 169 63)(font "Arial" (font_size 8)))
(line (pt 184 56)(pt 168 56))
)
(port
(pt 184 72)
(output)
(text "overflow" (rect 0 0 48 13)(font "Arial" (font_size 8)))
(text "overflow" (rect 125 66 173 79)(font "Arial" (font_size 8)))
(line (pt 184 72)(pt 168 72))
)
(port
(pt 184 88)
(output)
(text "underflow" (rect 0 0 56 13)(font "Arial" (font_size 8)))
(text "underflow" (rect 119 82 175 95)(font "Arial" (font_size 8)))
(line (pt 184 88)(pt 168 88))
)
(port
(pt 184 104)
(output)
(text "zero" (rect 0 0 25 13)(font "Arial" (font_size 8)))
(text "zero" (rect 144 98 169 111)(font "Arial" (font_size 8)))
(line (pt 184 104)(pt 168 104))
)
(drawing
(text "Clock Cycles: 14" (rect 20 115 103 126)(font "Arial" ))
(text "Single Precision" (rect 20 131 100 142)(font "Arial" ))
(text "Exponent Width: 8" (rect 20 147 112 158)(font "Arial" ))
(text "Mantissa Width: 23" (rect 20 163 115 174)(font "Arial" ))
(text "Optimization: Speed" (rect 20 179 120 190)(font "Arial" ))
(line (pt 0 0)(pt 186 0))
(line (pt 186 0)(pt 186 234))
(line (pt 0 234)(pt 186 234))
(line (pt 0 0)(pt 0 234))
(line (pt 16 24)(pt 170 24))
(line (pt 170 24)(pt 170 210))
(line (pt 16 210)(pt 170 210))
(line (pt 16 24)(pt 16 210))
)
)
(connector
(pt 2576 1512)
(pt 2616 1512)
(bus)
)
(connector
(pt 2432 1496)
(pt 2464 1496)
(bus)
)
(connector
(pt 2432 1472)
(pt 2400 1472)
(bus)
)
(connector
(pt 2432 1496)
(pt 2432 1472)
(bus)
)
(connector
(pt 2616 1272)
(pt 2584 1272)
(bus)
)
(connector
(pt 2424 1296)
(pt 2424 1288)
(bus)
)
(connector
(pt 2416 1296)
(pt 2424 1296)
(bus)
)
(connector
(pt 2424 1288)
(pt 2472 1288)
(bus)
)
(connector
(pt 2432 1256)
(pt 2472 1256)
(bus)
)
(connector
(pt 2304 1280)
(pt 2272 1280)
(bus)
)
(connector
(pt 2272 1280)
(pt 2272 1072)
(bus)
)
(connector
(pt 2272 1072)
(pt 2432 1072)
(bus)
)
(connector
(pt 1808 1648)
(pt 1840 1648)
)
(connector
(pt 1752 1568)
(pt 1840 1568)
(bus)
(color 0 170 0)
)
(connector
(text "ALU_FORWARD_A[31..0]" (rect 1599 824 1727 835)(font "Arial" ))
(pt 1560 848)
(pt 1752 848)
(bus)
(color 0 170 0)
)
(connector
(pt 1752 1784)
(pt 1816 1784)
(bus)
(color 0 170 0)
)
(connector
(pt 1736 1584)
(pt 1840 1584)
(bus)
(color 255 0 0)
)
(connector
(text "ALU_FORWARD_B[31..0]" (rect 1583 864 1711 875)(font "Arial" ))
(pt 1560 864)
(pt 1736 864)
(bus)
(color 255 0 0)
)
(connector
(pt 1752 1320)
(pt 1848 1320)
(bus)
(color 0 170 0)
)
(connector
(pt 1736 1336)
(pt 1848 1336)
(bus)
(color 255 0 0)
)
(connector
(pt 1808 1400)
(pt 1848 1400)
)
(connector
(pt 1752 1320)
(pt 1752 1568)
(bus)
)
(connector
(pt 1752 848)
(pt 1752 952)
(bus)
)
(connector
(pt 1752 952)
(pt 1752 1320)
(bus)
)
(connector
(pt 1736 864)
(pt 1736 968)
(bus)
)
(connector
(pt 1736 968)
(pt 1736 1336)
(bus)
)
(connector
(pt 1752 952)
(pt 1832 952)
(bus)
(color 0 170 0)
)
(connector
(pt 1736 968)
(pt 1832 968)
(bus)
(color 255 0 0)
)
(connector
(pt 1808 1400)
(pt 1808 1648)
)
(connector
(pt 1808 1648)
(pt 1808 2096)
)
(connector
(pt 1752 1568)
(pt 1752 1784)
(bus)
(color 0 170 0)
)
(connector
(pt 1752 1784)
(pt 1752 2024)
(bus)
(color 0 170 0)
)
(connector
(pt 1736 1336)
(pt 1736 1584)
(bus)
(color 255 0 0)
)
(connector
(pt 1736 1584)
(pt 1736 2040)
(bus)
(color 255 0 0)
)
(connector
(pt 2456 1528)
(pt 2456 1936)
(bus)
)
(connector
(pt 2520 1552)
(pt 2520 1592)
)
(connector
(pt 2528 1312)
(pt 2528 1400)
)
(connector
(pt 2528 1400)
(pt 2424 1400)
)
(connector
(pt 2424 1400)
(pt 2424 1592)
)
(connector
(pt 2424 1592)
(pt 2520 1592)
)
(connector
(text "INSTR_2[27]" (rect 2362 1576 2426 1589)(font "Intel Clear" ))
(pt 2408 1592)
(pt 2424 1592)
)
(connector
(pt 2344 1512)
(pt 2344 1616)
)
(connector
(pt 2360 1336)
(pt 2360 1360)
)
(connector
(pt 2240 1360)
(pt 2360 1360)
)
(connector
(pt 2240 1360)
(pt 2240 1616)
)
(connector
(pt 2344 1616)
(pt 2240 1616)
)
(connector
(text "instr_2[26]" (rect 2171 1592 2227 1605)(font "Intel Clear" ))
(pt 2240 1616)
(pt 2192 1616)
)
(connector
(pt 2432 1016)
(pt 2432 1072)
(bus)
)
(connector
(pt 2432 1072)
(pt 2432 1256)
(bus)
)
(connector
(text "FPU_ADD[63..0]" (rect 2396 1000 2477 1013)(font "Intel Clear" ))
(pt 2432 1016)
(pt 2352 1016)
(bus)
)
(connector
(text "FPU_MULT[31..0]" (rect 2035 1304 2123 1317)(font "Intel Clear" ))
(pt 2000 1320)
(pt 2056 1320)
(bus)
)
(connector
(text "FPU_MULT[32]" (rect 2008 1320 2085 1333)(font "Intel Clear" ))
(pt 2000 1336)
(pt 2120 1336)
)
(connector
(text "FPU_MULT[33]" (rect 2001 1336 2078 1349)(font "Intel Clear" ))
(pt 2000 1352)
(pt 2144 1352)
)
(connector
(text "FPU_MULT[34]" (rect 2008 1352 2085 1365)(font "Intel Clear" ))
(pt 2000 1368)
(pt 2160 1368)
)
(connector
(text "FPU_MULT[35]" (rect 2008 1368 2085 1381)(font "Intel Clear" ))
(pt 2000 1384)
(pt 2168 1384)
)
(connector
(text "FPU_MULT[63..0]" (rect 2208 1296 2296 1309)(font "Intel Clear" ))
(pt 2208 1312)
(pt 2304 1312)
(bus)
)
(connector
(text "FPU_DIV[63..0]" (rect 2229 1440 2305 1453)(font "Intel Clear" ))
(pt 2216 1456)
(pt 2288 1456)
(bus)
)
(connector
(text "FPU_RND[63..0]" (rect 2201 1480 2282 1493)(font "Intel Clear" ))
(pt 2216 1496)
(pt 2272 1496)
(bus)
)
(connector
(pt 2272 1496)
(pt 2272 1488)
(bus)
)
(connector
(pt 2288 1488)
(pt 2272 1488)
(bus)
)
(connector
(text "FPU_DIV[31..0]" (rect 2069 1544 2145 1557)(font "Intel Clear" ))
(pt 2016 1560)
(pt 2216 1560)
(bus)
)
(connector
(pt 2080 1576)
(pt 2080 1584)
)
(connector
(text "FPU_DIV[32]" (rect 2024 1560 2090 1573)(font "Intel Clear" ))
(pt 2016 1576)
(pt 2080 1576)
)
(connector
(text "FPU_DIV[33]" (rect 2098 1576 2164 1589)(font "Intel Clear" ))
(pt 2016 1592)
(pt 2128 1592)
)
(connector
(text "FPU_DIV[34]" (rect 2079 1592 2145 1605)(font "Intel Clear" ))
(pt 2016 1608)
(pt 2128 1608)
)
(connector
(pt 2616 1288)
(pt 2600 1288)
(bus)
)
(connector
(pt 2616 1320)
(pt 2600 1320)
(bus)
)
(connector
(pt 2616 1512)
(pt 2616 1320)
(bus)
)
(connector
(pt 2616 1272)
(pt 2616 1288)
(bus)
)
(connector
(pt 2656 1552)
(pt 2656 1344)
)
(connector
(text "INSTR_2[28]" (rect 2614 1536 2678 1549)(font "Intel Clear" ))
(pt 2608 1552)
(pt 2656 1552)
)
(connector
(text "cmpResult[63..0]" (rect 2251 1920 2337 1933)(font "Intel Clear" ))
(pt 2072 1936)
(pt 2456 1936)
(bus)
)
(connector
(text "FPU_DIV[35]" (rect 2017 1608 2083 1621)(font "Intel Clear" ))
(pt 2016 1624)
(pt 2136 1624)
)
(connector
(text "<<__$DEF_ALIAS86>>" (rect 2066 1624 2178 1637)(font "Intel Clear" )(invisible))
(pt 2016 1640)
(pt 2136 1640)
)
(connector
(pt 2456 1528)
(pt 2464 1528)
(bus)
)
(connector
(pt 1656 1120)
(pt 1808 1120)
)
(connector
(pt 1808 1120)
(pt 1808 1400)
)
(connector
(text "FPU_RND[31..0]" (rect 2071 1768 2152 1781)(font "Intel Clear" ))
(pt 2104 1784)
(pt 2016 1784)
(bus)
)
(connector
(pt 1688 992)