aboutsummaryrefslogtreecommitdiff
path: root/multiplier/hdl/wallace_adder.sv
blob: 34c9ecd930594f68dd4a424551b161d4be997251 (plain) (blame)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
module wallace_adder (
	input  logic [31:0] partial_prod[0:31],
	output logic [63:0] partial_sum
);

logic layer1_col0_net0, layer1_col1_net0, layer1_col1_net1, layer1_col2_net0, layer1_col3_net0, layer1_col2_net1, layer1_col3_net1, layer1_col4_net0, layer1_col3_net2, layer1_col4_net1, layer1_col5_net0, layer1_col4_net2, layer1_col4_net3, layer1_col5_net1, layer1_col6_net0, layer1_col5_net2, layer1_col6_net1, layer1_col6_net2, layer1_col7_net0, layer1_col6_net3, layer1_col7_net1, layer1_col6_net4, layer1_col7_net2, layer1_col8_net0, layer1_col7_net3, layer1_col8_net1, layer1_col7_net4, layer1_col7_net5, layer1_col8_net2, layer1_col9_net0, layer1_col8_net3, layer1_col9_net1, layer1_col8_net4, layer1_col9_net2, layer1_col9_net3, layer1_col10_net0, layer1_col9_net4, layer1_col10_net1, layer1_col9_net5, layer1_col10_net2, layer1_col9_net6, layer1_col10_net3, layer1_col11_net0, layer1_col10_net4, layer1_col11_net1, layer1_col10_net5, layer1_col11_net2, layer1_col10_net6, layer1_col10_net7, layer1_col11_net3, layer1_col12_net0, layer1_col11_net4, layer1_col12_net1, layer1_col11_net5, layer1_col12_net2, layer1_col11_net6, layer1_col12_net3, layer1_col12_net4, layer1_col13_net0, layer1_col12_net5, layer1_col13_net1, layer1_col12_net6, layer1_col13_net2, layer1_col12_net7, layer1_col13_net3, layer1_col12_net8, layer1_col13_net4, layer1_col14_net0, layer1_col13_net5, layer1_col14_net1, layer1_col13_net6, layer1_col14_net2, layer1_col13_net7, layer1_col14_net3, layer1_col13_net8, layer1_col13_net9, layer1_col14_net4, layer1_col15_net0, layer1_col14_net5, layer1_col15_net1, layer1_col14_net6, layer1_col15_net2, layer1_col14_net7, layer1_col15_net3, layer1_col14_net8, layer1_col15_net4, layer1_col15_net5, layer1_col16_net0, layer1_col15_net6, layer1_col16_net1, layer1_col15_net7, layer1_col16_net2, layer1_col15_net8, layer1_col16_net3, layer1_col15_net9, layer1_col16_net4, layer1_col15_net10, layer1_col16_net5, layer1_col17_net0, layer1_col16_net6, layer1_col17_net1, layer1_col16_net7, layer1_col17_net2, layer1_col16_net8, layer1_col17_net3, layer1_col16_net9, layer1_col17_net4, layer1_col16_net10, layer1_col16_net11, layer1_col17_net5, layer1_col18_net0, layer1_col17_net6, layer1_col18_net1, layer1_col17_net7, layer1_col18_net2, layer1_col17_net8, layer1_col18_net3, layer1_col17_net9, layer1_col18_net4, layer1_col17_net10, layer1_col18_net5, layer1_col18_net6, layer1_col19_net0, layer1_col18_net7, layer1_col19_net1, layer1_col18_net8, layer1_col19_net2, layer1_col18_net9, layer1_col19_net3, layer1_col18_net10, layer1_col19_net4, layer1_col18_net11, layer1_col19_net5, layer1_col18_net12, layer1_col19_net6, layer1_col20_net0, layer1_col19_net7, layer1_col20_net1, layer1_col19_net8, layer1_col20_net2, layer1_col19_net9, layer1_col20_net3, layer1_col19_net10, layer1_col20_net4, layer1_col19_net11, layer1_col20_net5, layer1_col19_net12, layer1_col19_net13, layer1_col20_net6, layer1_col21_net0, layer1_col20_net7, layer1_col21_net1, layer1_col20_net8, layer1_col21_net2, layer1_col20_net9, layer1_col21_net3, layer1_col20_net10, layer1_col21_net4, layer1_col20_net11, layer1_col21_net5, layer1_col20_net12, layer1_col21_net6, layer1_col21_net7, layer1_col22_net0, layer1_col21_net8, layer1_col22_net1, layer1_col21_net9, layer1_col22_net2, layer1_col21_net10, layer1_col22_net3, layer1_col21_net11, layer1_col22_net4, layer1_col21_net12, layer1_col22_net5, layer1_col21_net13, layer1_col22_net6, layer1_col21_net14, layer1_col22_net7, layer1_col23_net0, layer1_col22_net8, layer1_col23_net1, layer1_col22_net9, layer1_col23_net2, layer1_col22_net10, layer1_col23_net3, layer1_col22_net11, layer1_col23_net4, layer1_col22_net12, layer1_col23_net5, layer1_col22_net13, layer1_col23_net6, layer1_col22_net14, layer1_col22_net15, layer1_col23_net7, layer1_col24_net0, layer1_col23_net8, layer1_col24_net1, layer1_col23_net9, layer1_col24_net2, layer1_col23_net10, layer1_col24_net3, layer1_col23_net11, layer1_col24_net4, layer1_col23_net12, layer1_col24_net5, layer1_col23_net13, layer1_col24_net6, layer1_col23_net14, layer1_col24_net7, layer1_col24_net8, layer1_col25_net0, layer1_col24_net9, layer1_col25_net1, layer1_col24_net10, layer1_col25_net2, layer1_col24_net11, layer1_col25_net3, layer1_col24_net12, layer1_col25_net4, layer1_col24_net13, layer1_col25_net5, layer1_col24_net14, layer1_col25_net6, layer1_col24_net15, layer1_col25_net7, layer1_col24_net16, layer1_col25_net8, layer1_col26_net0, layer1_col25_net9, layer1_col26_net1, layer1_col25_net10, layer1_col26_net2, layer1_col25_net11, layer1_col26_net3, layer1_col25_net12, layer1_col26_net4, layer1_col25_net13, layer1_col26_net5, layer1_col25_net14, layer1_col26_net6, layer1_col25_net15, layer1_col26_net7, layer1_col25_net16, layer1_col25_net17, layer1_col26_net8, layer1_col27_net0, layer1_col26_net9, layer1_col27_net1, layer1_col26_net10, layer1_col27_net2, layer1_col26_net11, layer1_col27_net3, layer1_col26_net12, layer1_col27_net4, layer1_col26_net13, layer1_col27_net5, layer1_col26_net14, layer1_col27_net6, layer1_col26_net15, layer1_col27_net7, layer1_col26_net16, layer1_col27_net8, layer1_col27_net9, layer1_col28_net0, layer1_col27_net10, layer1_col28_net1, layer1_col27_net11, layer1_col28_net2, layer1_col27_net12, layer1_col28_net3, layer1_col27_net13, layer1_col28_net4, layer1_col27_net14, layer1_col28_net5, layer1_col27_net15, layer1_col28_net6, layer1_col27_net16, layer1_col28_net7, layer1_col27_net17, layer1_col28_net8, layer1_col27_net18, layer1_col28_net9, layer1_col29_net0, layer1_col28_net10, layer1_col29_net1, layer1_col28_net11, layer1_col29_net2, layer1_col28_net12, layer1_col29_net3, layer1_col28_net13, layer1_col29_net4, layer1_col28_net14, layer1_col29_net5, layer1_col28_net15, layer1_col29_net6, layer1_col28_net16, layer1_col29_net7, layer1_col28_net17, layer1_col29_net8, layer1_col28_net18, layer1_col28_net19, layer1_col29_net9, layer1_col30_net0, layer1_col29_net10, layer1_col30_net1, layer1_col29_net11, layer1_col30_net2, layer1_col29_net12, layer1_col30_net3, layer1_col29_net13, layer1_col30_net4, layer1_col29_net14, layer1_col30_net5, layer1_col29_net15, layer1_col30_net6, layer1_col29_net16, layer1_col30_net7, layer1_col29_net17, layer1_col30_net8, layer1_col29_net18, layer1_col30_net9, layer1_col30_net10, layer1_col31_net0, layer1_col30_net11, layer1_col31_net1, layer1_col30_net12, layer1_col31_net2, layer1_col30_net13, layer1_col31_net3, layer1_col30_net14, layer1_col31_net4, layer1_col30_net15, layer1_col31_net5, layer1_col30_net16, layer1_col31_net6, layer1_col30_net17, layer1_col31_net7, layer1_col30_net18, layer1_col31_net8, layer1_col30_net19, layer1_col31_net9, layer1_col30_net20, layer1_col31_net10, layer1_col32_net0, layer1_col31_net11, layer1_col32_net1, layer1_col31_net12, layer1_col32_net2, layer1_col31_net13, layer1_col32_net3, layer1_col31_net14, layer1_col32_net4, layer1_col31_net15, layer1_col32_net5, layer1_col31_net16, layer1_col32_net6, layer1_col31_net17, layer1_col32_net7, layer1_col31_net18, layer1_col32_net8, layer1_col31_net19, layer1_col32_net9, layer1_col31_net20, layer1_col31_net21, layer1_col32_net10, layer1_col33_net0, layer1_col32_net11, layer1_col33_net1, layer1_col32_net12, layer1_col33_net2, layer1_col32_net13, layer1_col33_net3, layer1_col32_net14, layer1_col33_net4, layer1_col32_net15, layer1_col33_net5, layer1_col32_net16, layer1_col33_net6, layer1_col32_net17, layer1_col33_net7, layer1_col32_net18, layer1_col33_net8, layer1_col32_net19, layer1_col33_net9, layer1_col32_net20, layer1_col33_net10, layer1_col34_net0, layer1_col33_net11, layer1_col34_net1, layer1_col33_net12, layer1_col34_net2, layer1_col33_net13, layer1_col34_net3, layer1_col33_net14, layer1_col34_net4, layer1_col33_net15, layer1_col34_net5, layer1_col33_net16, layer1_col34_net6, layer1_col33_net17, layer1_col34_net7, layer1_col33_net18, layer1_col34_net8, layer1_col33_net19, layer1_col34_net9, layer1_col34_net10, layer1_col35_net0, layer1_col34_net11, layer1_col35_net1, layer1_col34_net12, layer1_col35_net2, layer1_col34_net13, layer1_col35_net3, layer1_col34_net14, layer1_col35_net4, layer1_col34_net15, layer1_col35_net5, layer1_col34_net16, layer1_col35_net6, layer1_col34_net17, layer1_col35_net7, layer1_col34_net18, layer1_col35_net8, layer1_col34_net19, layer1_col34_net20, layer1_col35_net9, layer1_col36_net0, layer1_col35_net10, layer1_col36_net1, layer1_col35_net11, layer1_col36_net2, layer1_col35_net12, layer1_col36_net3, layer1_col35_net13, layer1_col36_net4, layer1_col35_net14, layer1_col36_net5, layer1_col35_net15, layer1_col36_net6, layer1_col35_net16, layer1_col36_net7, layer1_col35_net17, layer1_col36_net8, layer1_col35_net18, layer1_col36_net9, layer1_col37_net0, layer1_col36_net10, layer1_col37_net1, layer1_col36_net11, layer1_col37_net2, layer1_col36_net12, layer1_col37_net3, layer1_col36_net13, layer1_col37_net4, layer1_col36_net14, layer1_col37_net5, layer1_col36_net15, layer1_col37_net6, layer1_col36_net16, layer1_col37_net7, layer1_col36_net17, layer1_col37_net8, layer1_col37_net9, layer1_col38_net0, layer1_col37_net10, layer1_col38_net1, layer1_col37_net11, layer1_col38_net2, layer1_col37_net12, layer1_col38_net3, layer1_col37_net13, layer1_col38_net4, layer1_col37_net14, layer1_col38_net5, layer1_col37_net15, layer1_col38_net6, layer1_col37_net16, layer1_col38_net7, layer1_col37_net17, layer1_col37_net18, layer1_col38_net8, layer1_col39_net0, layer1_col38_net9, layer1_col39_net1, layer1_col38_net10, layer1_col39_net2, layer1_col38_net11, layer1_col39_net3, layer1_col38_net12, layer1_col39_net4, layer1_col38_net13, layer1_col39_net5, layer1_col38_net14, layer1_col39_net6, layer1_col38_net15, layer1_col39_net7, layer1_col38_net16, layer1_col39_net8, layer1_col40_net0, layer1_col39_net9, layer1_col40_net1, layer1_col39_net10, layer1_col40_net2, layer1_col39_net11, layer1_col40_net3, layer1_col39_net12, layer1_col40_net4, layer1_col39_net13, layer1_col40_net5, layer1_col39_net14, layer1_col40_net6, layer1_col39_net15, layer1_col40_net7, layer1_col40_net8, layer1_col41_net0, layer1_col40_net9, layer1_col41_net1, layer1_col40_net10, layer1_col41_net2, layer1_col40_net11, layer1_col41_net3, layer1_col40_net12, layer1_col41_net4, layer1_col40_net13, layer1_col41_net5, layer1_col40_net14, layer1_col41_net6, layer1_col40_net15, layer1_col40_net16, layer1_col41_net7, layer1_col42_net0, layer1_col41_net8, layer1_col42_net1, layer1_col41_net9, layer1_col42_net2, layer1_col41_net10, layer1_col42_net3, layer1_col41_net11, layer1_col42_net4, layer1_col41_net12, layer1_col42_net5, layer1_col41_net13, layer1_col42_net6, layer1_col41_net14, layer1_col42_net7, layer1_col43_net0, layer1_col42_net8, layer1_col43_net1, layer1_col42_net9, layer1_col43_net2, layer1_col42_net10, layer1_col43_net3, layer1_col42_net11, layer1_col43_net4, layer1_col42_net12, layer1_col43_net5, layer1_col42_net13, layer1_col43_net6, layer1_col43_net7, layer1_col44_net0, layer1_col43_net8, layer1_col44_net1, layer1_col43_net9, layer1_col44_net2, layer1_col43_net10, layer1_col44_net3, layer1_col43_net11, layer1_col44_net4, layer1_col43_net12, layer1_col44_net5, layer1_col43_net13, layer1_col43_net14, layer1_col44_net6, layer1_col45_net0, layer1_col44_net7, layer1_col45_net1, layer1_col44_net8, layer1_col45_net2, layer1_col44_net9, layer1_col45_net3, layer1_col44_net10, layer1_col45_net4, layer1_col44_net11, layer1_col45_net5, layer1_col44_net12, layer1_col45_net6, layer1_col46_net0, layer1_col45_net7, layer1_col46_net1, layer1_col45_net8, layer1_col46_net2, layer1_col45_net9, layer1_col46_net3, layer1_col45_net10, layer1_col46_net4, layer1_col45_net11, layer1_col46_net5, layer1_col46_net6, layer1_col47_net0, layer1_col46_net7, layer1_col47_net1, layer1_col46_net8, layer1_col47_net2, layer1_col46_net9, layer1_col47_net3, layer1_col46_net10, layer1_col47_net4, layer1_col46_net11, layer1_col46_net12, layer1_col47_net5, layer1_col48_net0, layer1_col47_net6, layer1_col48_net1, layer1_col47_net7, layer1_col48_net2, layer1_col47_net8, layer1_col48_net3, layer1_col47_net9, layer1_col48_net4, layer1_col47_net10, layer1_col48_net5, layer1_col49_net0, layer1_col48_net6, layer1_col49_net1, layer1_col48_net7, layer1_col49_net2, layer1_col48_net8, layer1_col49_net3, layer1_col48_net9, layer1_col49_net4, layer1_col49_net5, layer1_col50_net0, layer1_col49_net6, layer1_col50_net1, layer1_col49_net7, layer1_col50_net2, layer1_col49_net8, layer1_col50_net3, layer1_col49_net9, layer1_col49_net10, layer1_col50_net4, layer1_col51_net0, layer1_col50_net5, layer1_col51_net1, layer1_col50_net6, layer1_col51_net2, layer1_col50_net7, layer1_col51_net3, layer1_col50_net8, layer1_col51_net4, layer1_col52_net0, layer1_col51_net5, layer1_col52_net1, layer1_col51_net6, layer1_col52_net2, layer1_col51_net7, layer1_col52_net3, layer1_col52_net4, layer1_col53_net0, layer1_col52_net5, layer1_col53_net1, layer1_col52_net6, layer1_col53_net2, layer1_col52_net7, layer1_col52_net8, layer1_col53_net3, layer1_col54_net0, layer1_col53_net4, layer1_col54_net1, layer1_col53_net5, layer1_col54_net2, layer1_col53_net6, layer1_col54_net3, layer1_col55_net0, layer1_col54_net4, layer1_col55_net1, layer1_col54_net5, layer1_col55_net2, layer1_col55_net3, layer1_col56_net0, layer1_col55_net4, layer1_col56_net1, layer1_col55_net5, layer1_col55_net6, layer1_col56_net2, layer1_col57_net0, layer1_col56_net3, layer1_col57_net1, layer1_col56_net4, layer1_col57_net2, layer1_col58_net0, layer1_col57_net3, layer1_col58_net1, layer1_col58_net2, layer1_col59_net0, layer1_col58_net3, layer1_col58_net4, layer1_col59_net1, layer1_col60_net0, layer1_col59_net2, layer1_col60_net1, layer1_col61_net0, layer1_col61_net1, layer1_col61_net2, layer1_col62_net0;
logic layer2_col0_net0, layer2_col1_net0, layer2_col1_net1, layer2_col2_net0, layer2_col2_net1, layer2_col3_net0, layer2_col4_net0, layer2_col3_net1, layer2_col4_net1, layer2_col5_net0, layer2_col4_net2, layer2_col5_net1, layer2_col6_net0, layer2_col6_net1, layer2_col7_net0, layer2_col6_net2, layer2_col6_net3, layer2_col7_net1, layer2_col8_net0, layer2_col7_net2, layer2_col8_net1, layer2_col8_net2, layer2_col9_net0, layer2_col8_net3, layer2_col8_net4, layer2_col9_net1, layer2_col10_net0, layer2_col9_net2, layer2_col10_net1, layer2_col9_net3, layer2_col10_net2, layer2_col11_net0, layer2_col10_net3, layer2_col11_net1, layer2_col10_net4, layer2_col10_net5, layer2_col11_net2, layer2_col12_net0, layer2_col11_net3, layer2_col12_net1, layer2_col11_net4, layer2_col12_net2, layer2_col13_net0, layer2_col12_net3, layer2_col13_net1, layer2_col12_net4, layer2_col13_net2, layer2_col13_net3, layer2_col14_net0, layer2_col13_net4, layer2_col14_net1, layer2_col13_net5, layer2_col14_net2, layer2_col13_net6, layer2_col14_net3, layer2_col15_net0, layer2_col14_net4, layer2_col15_net1, layer2_col14_net5, layer2_col15_net2, layer2_col15_net3, layer2_col16_net0, layer2_col15_net4, layer2_col16_net1, layer2_col15_net5, layer2_col16_net2, layer2_col15_net6, layer2_col15_net7, layer2_col16_net3, layer2_col17_net0, layer2_col16_net4, layer2_col17_net1, layer2_col16_net5, layer2_col17_net2, layer2_col16_net6, layer2_col17_net3, layer2_col17_net4, layer2_col18_net0, layer2_col17_net5, layer2_col18_net1, layer2_col17_net6, layer2_col18_net2, layer2_col17_net7, layer2_col17_net8, layer2_col18_net3, layer2_col19_net0, layer2_col18_net4, layer2_col19_net1, layer2_col18_net5, layer2_col19_net2, layer2_col18_net6, layer2_col19_net3, layer2_col18_net7, layer2_col19_net4, layer2_col20_net0, layer2_col19_net5, layer2_col20_net1, layer2_col19_net6, layer2_col20_net2, layer2_col19_net7, layer2_col20_net3, layer2_col19_net8, layer2_col19_net9, layer2_col20_net4, layer2_col21_net0, layer2_col20_net5, layer2_col21_net1, layer2_col20_net6, layer2_col21_net2, layer2_col20_net7, layer2_col21_net3, layer2_col20_net8, layer2_col21_net4, layer2_col22_net0, layer2_col21_net5, layer2_col22_net1, layer2_col21_net6, layer2_col22_net2, layer2_col21_net7, layer2_col22_net3, layer2_col21_net8, layer2_col22_net4, layer2_col22_net5, layer2_col23_net0, layer2_col22_net6, layer2_col23_net1, layer2_col22_net7, layer2_col23_net2, layer2_col22_net8, layer2_col23_net3, layer2_col22_net9, layer2_col23_net4, layer2_col22_net10, layer2_col23_net5, layer2_col24_net0, layer2_col23_net6, layer2_col24_net1, layer2_col23_net7, layer2_col24_net2, layer2_col23_net8, layer2_col24_net3, layer2_col23_net9, layer2_col24_net4, layer2_col24_net5, layer2_col25_net0, layer2_col24_net6, layer2_col25_net1, layer2_col24_net7, layer2_col25_net2, layer2_col24_net8, layer2_col25_net3, layer2_col24_net9, layer2_col25_net4, layer2_col24_net10, layer2_col24_net11, layer2_col25_net5, layer2_col26_net0, layer2_col25_net6, layer2_col26_net1, layer2_col25_net7, layer2_col26_net2, layer2_col25_net8, layer2_col26_net3, layer2_col25_net9, layer2_col26_net4, layer2_col25_net10, layer2_col26_net5, layer2_col26_net6, layer2_col27_net0, layer2_col26_net7, layer2_col27_net1, layer2_col26_net8, layer2_col27_net2, layer2_col26_net9, layer2_col27_net3, layer2_col26_net10, layer2_col27_net4, layer2_col26_net11, layer2_col26_net12, layer2_col27_net5, layer2_col28_net0, layer2_col27_net6, layer2_col28_net1, layer2_col27_net7, layer2_col28_net2, layer2_col27_net8, layer2_col28_net3, layer2_col27_net9, layer2_col28_net4, layer2_col27_net10, layer2_col28_net5, layer2_col27_net11, layer2_col28_net6, layer2_col29_net0, layer2_col28_net7, layer2_col29_net1, layer2_col28_net8, layer2_col29_net2, layer2_col28_net9, layer2_col29_net3, layer2_col28_net10, layer2_col29_net4, layer2_col28_net11, layer2_col29_net5, layer2_col28_net12, layer2_col28_net13, layer2_col29_net6, layer2_col30_net0, layer2_col29_net7, layer2_col30_net1, layer2_col29_net8, layer2_col30_net2, layer2_col29_net9, layer2_col30_net3, layer2_col29_net10, layer2_col30_net4, layer2_col29_net11, layer2_col30_net5, layer2_col29_net12, layer2_col30_net6, layer2_col31_net0, layer2_col30_net7, layer2_col31_net1, layer2_col30_net8, layer2_col31_net2, layer2_col30_net9, layer2_col31_net3, layer2_col30_net10, layer2_col31_net4, layer2_col30_net11, layer2_col31_net5, layer2_col30_net12, layer2_col31_net6, layer2_col31_net7, layer2_col32_net0, layer2_col31_net8, layer2_col32_net1, layer2_col31_net9, layer2_col32_net2, layer2_col31_net10, layer2_col32_net3, layer2_col31_net11, layer2_col32_net4, layer2_col31_net12, layer2_col32_net5, layer2_col31_net13, layer2_col32_net6, layer2_col31_net14, layer2_col32_net7, layer2_col33_net0, layer2_col32_net8, layer2_col33_net1, layer2_col32_net9, layer2_col33_net2, layer2_col32_net10, layer2_col33_net3, layer2_col32_net11, layer2_col33_net4, layer2_col32_net12, layer2_col33_net5, layer2_col32_net13, layer2_col33_net6, layer2_col33_net7, layer2_col34_net0, layer2_col33_net8, layer2_col34_net1, layer2_col33_net9, layer2_col34_net2, layer2_col33_net10, layer2_col34_net3, layer2_col33_net11, layer2_col34_net4, layer2_col33_net12, layer2_col34_net5, layer2_col33_net13, layer2_col33_net14, layer2_col34_net6, layer2_col35_net0, layer2_col34_net7, layer2_col35_net1, layer2_col34_net8, layer2_col35_net2, layer2_col34_net9, layer2_col35_net3, layer2_col34_net10, layer2_col35_net4, layer2_col34_net11, layer2_col35_net5, layer2_col34_net12, layer2_col35_net6, layer2_col35_net7, layer2_col36_net0, layer2_col35_net8, layer2_col36_net1, layer2_col35_net9, layer2_col36_net2, layer2_col35_net10, layer2_col36_net3, layer2_col35_net11, layer2_col36_net4, layer2_col35_net12, layer2_col36_net5, layer2_col35_net13, layer2_col36_net6, layer2_col37_net0, layer2_col36_net7, layer2_col37_net1, layer2_col36_net8, layer2_col37_net2, layer2_col36_net9, layer2_col37_net3, layer2_col36_net10, layer2_col37_net4, layer2_col36_net11, layer2_col37_net5, layer2_col37_net6, layer2_col38_net0, layer2_col37_net7, layer2_col38_net1, layer2_col37_net8, layer2_col38_net2, layer2_col37_net9, layer2_col38_net3, layer2_col37_net10, layer2_col38_net4, layer2_col37_net11, layer2_col38_net5, layer2_col37_net12, layer2_col38_net6, layer2_col39_net0, layer2_col38_net7, layer2_col39_net1, layer2_col38_net8, layer2_col39_net2, layer2_col38_net9, layer2_col39_net3, layer2_col38_net10, layer2_col39_net4, layer2_col38_net11, layer2_col38_net12, layer2_col39_net5, layer2_col40_net0, layer2_col39_net6, layer2_col40_net1, layer2_col39_net7, layer2_col40_net2, layer2_col39_net8, layer2_col40_net3, layer2_col39_net9, layer2_col40_net4, layer2_col39_net10, layer2_col40_net5, layer2_col41_net0, layer2_col40_net6, layer2_col41_net1, layer2_col40_net7, layer2_col41_net2, layer2_col40_net8, layer2_col41_net3, layer2_col40_net9, layer2_col41_net4, layer2_col40_net10, layer2_col40_net11, layer2_col41_net5, layer2_col42_net0, layer2_col41_net6, layer2_col42_net1, layer2_col41_net7, layer2_col42_net2, layer2_col41_net8, layer2_col42_net3, layer2_col41_net9, layer2_col42_net4, layer2_col42_net5, layer2_col43_net0, layer2_col42_net6, layer2_col43_net1, layer2_col42_net7, layer2_col43_net2, layer2_col42_net8, layer2_col43_net3, layer2_col42_net9, layer2_col42_net10, layer2_col43_net4, layer2_col44_net0, layer2_col43_net5, layer2_col44_net1, layer2_col43_net6, layer2_col44_net2, layer2_col43_net7, layer2_col44_net3, layer2_col43_net8, layer2_col44_net4, layer2_col44_net5, layer2_col45_net0, layer2_col44_net6, layer2_col45_net1, layer2_col44_net7, layer2_col45_net2, layer2_col44_net8, layer2_col45_net3, layer2_col44_net9, layer2_col45_net4, layer2_col46_net0, layer2_col45_net5, layer2_col46_net1, layer2_col45_net6, layer2_col46_net2, layer2_col45_net7, layer2_col46_net3, layer2_col46_net4, layer2_col47_net0, layer2_col46_net5, layer2_col47_net1, layer2_col46_net6, layer2_col47_net2, layer2_col46_net7, layer2_col47_net3, layer2_col46_net8, layer2_col47_net4, layer2_col48_net0, layer2_col47_net5, layer2_col48_net1, layer2_col47_net6, layer2_col48_net2, layer2_col47_net7, layer2_col47_net8, layer2_col48_net3, layer2_col49_net0, layer2_col48_net4, layer2_col49_net1, layer2_col48_net5, layer2_col49_net2, layer2_col48_net6, layer2_col49_net3, layer2_col50_net0, layer2_col49_net4, layer2_col50_net1, layer2_col49_net5, layer2_col50_net2, layer2_col49_net6, layer2_col49_net7, layer2_col50_net3, layer2_col51_net0, layer2_col50_net4, layer2_col51_net1, layer2_col50_net5, layer2_col51_net2, layer2_col51_net3, layer2_col52_net0, layer2_col51_net4, layer2_col52_net1, layer2_col51_net5, layer2_col51_net6, layer2_col52_net2, layer2_col53_net0, layer2_col52_net3, layer2_col53_net1, layer2_col52_net4, layer2_col53_net2, layer2_col53_net3, layer2_col54_net0, layer2_col53_net4, layer2_col54_net1, layer2_col53_net5, layer2_col54_net2, layer2_col55_net0, layer2_col54_net3, layer2_col55_net1, layer2_col55_net2, layer2_col56_net0, layer2_col55_net3, layer2_col56_net1, layer2_col55_net4, layer2_col56_net2, layer2_col57_net0, layer2_col56_net3, layer2_col56_net4, layer2_col57_net1, layer2_col58_net0, layer2_col57_net2, layer2_col58_net1, layer2_col59_net0, layer2_col58_net2, layer2_col58_net3, layer2_col59_net1, layer2_col60_net0, layer2_col60_net1, layer2_col60_net2, layer2_col61_net0, layer2_col62_net0, layer2_col62_net1;
logic layer3_col0_net0, layer3_col1_net0, layer3_col1_net1, layer3_col2_net0, layer3_col2_net1, layer3_col3_net0, layer3_col3_net1, layer3_col4_net0, layer3_col5_net0, layer3_col4_net1, layer3_col5_net1, layer3_col5_net2, layer3_col6_net0, layer3_col7_net0, layer3_col6_net1, layer3_col7_net1, layer3_col8_net0, layer3_col8_net1, layer3_col9_net0, layer3_col8_net2, layer3_col8_net3, layer3_col9_net1, layer3_col10_net0, layer3_col9_net2, layer3_col10_net1, layer3_col11_net0, layer3_col10_net2, layer3_col11_net1, layer3_col11_net2, layer3_col12_net0, layer3_col11_net3, layer3_col11_net4, layer3_col12_net1, layer3_col13_net0, layer3_col12_net2, layer3_col12_net3, layer3_col13_net1, layer3_col14_net0, layer3_col13_net2, layer3_col14_net1, layer3_col13_net3, layer3_col14_net2, layer3_col15_net0, layer3_col14_net3, layer3_col15_net1, layer3_col15_net2, layer3_col16_net0, layer3_col15_net3, layer3_col16_net1, layer3_col15_net4, layer3_col15_net5, layer3_col16_net2, layer3_col17_net0, layer3_col16_net3, layer3_col17_net1, layer3_col16_net4, layer3_col17_net2, layer3_col18_net0, layer3_col17_net3, layer3_col18_net1, layer3_col17_net4, layer3_col18_net2, layer3_col18_net3, layer3_col19_net0, layer3_col18_net4, layer3_col19_net1, layer3_col18_net5, layer3_col18_net6, layer3_col19_net2, layer3_col20_net0, layer3_col19_net3, layer3_col20_net1, layer3_col19_net4, layer3_col20_net2, layer3_col19_net5, layer3_col20_net3, layer3_col21_net0, layer3_col20_net4, layer3_col21_net1, layer3_col20_net5, layer3_col21_net2, layer3_col21_net3, layer3_col22_net0, layer3_col21_net4, layer3_col22_net1, layer3_col21_net5, layer3_col22_net2, layer3_col22_net3, layer3_col23_net0, layer3_col22_net4, layer3_col23_net1, layer3_col22_net5, layer3_col23_net2, layer3_col22_net6, layer3_col22_net7, layer3_col23_net3, layer3_col24_net0, layer3_col23_net4, layer3_col24_net1, layer3_col23_net5, layer3_col24_net2, layer3_col23_net6, layer3_col24_net3, layer3_col25_net0, layer3_col24_net4, layer3_col25_net1, layer3_col24_net5, layer3_col25_net2, layer3_col24_net6, layer3_col25_net3, layer3_col25_net4, layer3_col26_net0, layer3_col25_net5, layer3_col26_net1, layer3_col25_net6, layer3_col26_net2, layer3_col25_net7, layer3_col25_net8, layer3_col26_net3, layer3_col27_net0, layer3_col26_net4, layer3_col27_net1, layer3_col26_net5, layer3_col27_net2, layer3_col26_net6, layer3_col27_net3, layer3_col26_net7, layer3_col27_net4, layer3_col28_net0, layer3_col27_net5, layer3_col28_net1, layer3_col27_net6, layer3_col28_net2, layer3_col27_net7, layer3_col28_net3, layer3_col28_net4, layer3_col29_net0, layer3_col28_net5, layer3_col29_net1, layer3_col28_net6, layer3_col29_net2, layer3_col28_net7, layer3_col29_net3, layer3_col28_net8, layer3_col28_net9, layer3_col29_net4, layer3_col30_net0, layer3_col29_net5, layer3_col30_net1, layer3_col29_net6, layer3_col30_net2, layer3_col29_net7, layer3_col30_net3, layer3_col29_net8, layer3_col30_net4, layer3_col31_net0, layer3_col30_net5, layer3_col31_net1, layer3_col30_net6, layer3_col31_net2, layer3_col30_net7, layer3_col31_net3, layer3_col30_net8, layer3_col31_net4, layer3_col32_net0, layer3_col31_net5, layer3_col32_net1, layer3_col31_net6, layer3_col32_net2, layer3_col31_net7, layer3_col32_net3, layer3_col31_net8, layer3_col32_net4, layer3_col32_net5, layer3_col33_net0, layer3_col32_net6, layer3_col33_net1, layer3_col32_net7, layer3_col33_net2, layer3_col32_net8, layer3_col33_net3, layer3_col32_net9, layer3_col32_net10, layer3_col33_net4, layer3_col34_net0, layer3_col33_net5, layer3_col34_net1, layer3_col33_net6, layer3_col34_net2, layer3_col33_net7, layer3_col34_net3, layer3_col33_net8, layer3_col34_net4, layer3_col34_net5, layer3_col35_net0, layer3_col34_net6, layer3_col35_net1, layer3_col34_net7, layer3_col35_net2, layer3_col34_net8, layer3_col35_net3, layer3_col34_net9, layer3_col35_net4, layer3_col36_net0, layer3_col35_net5, layer3_col36_net1, layer3_col35_net6, layer3_col36_net2, layer3_col35_net7, layer3_col36_net3, layer3_col35_net8, layer3_col35_net9, layer3_col36_net4, layer3_col37_net0, layer3_col36_net5, layer3_col37_net1, layer3_col36_net6, layer3_col37_net2, layer3_col36_net7, layer3_col37_net3, layer3_col37_net4, layer3_col38_net0, layer3_col37_net5, layer3_col38_net1, layer3_col37_net6, layer3_col38_net2, layer3_col37_net7, layer3_col38_net3, layer3_col37_net8, layer3_col38_net4, layer3_col39_net0, layer3_col38_net5, layer3_col39_net1, layer3_col38_net6, layer3_col39_net2, layer3_col38_net7, layer3_col39_net3, layer3_col38_net8, layer3_col39_net4, layer3_col40_net0, layer3_col39_net5, layer3_col40_net1, layer3_col39_net6, layer3_col40_net2, layer3_col39_net7, layer3_col39_net8, layer3_col40_net3, layer3_col41_net0, layer3_col40_net4, layer3_col41_net1, layer3_col40_net5, layer3_col41_net2, layer3_col40_net6, layer3_col41_net3, layer3_col41_net4, layer3_col42_net0, layer3_col41_net5, layer3_col42_net1, layer3_col41_net6, layer3_col42_net2, layer3_col41_net7, layer3_col42_net3, layer3_col43_net0, layer3_col42_net4, layer3_col43_net1, layer3_col42_net5, layer3_col43_net2, layer3_col42_net6, layer3_col42_net7, layer3_col43_net3, layer3_col44_net0, layer3_col43_net4, layer3_col44_net1, layer3_col43_net5, layer3_col44_net2, layer3_col44_net3, layer3_col45_net0, layer3_col44_net4, layer3_col45_net1, layer3_col44_net5, layer3_col45_net2, layer3_col44_net6, layer3_col45_net3, layer3_col46_net0, layer3_col45_net4, layer3_col46_net1, layer3_col45_net5, layer3_col45_net6, layer3_col46_net2, layer3_col47_net0, layer3_col46_net3, layer3_col47_net1, layer3_col46_net4, layer3_col47_net2, layer3_col47_net3, layer3_col48_net0, layer3_col47_net4, layer3_col48_net1, layer3_col47_net5, layer3_col48_net2, layer3_col48_net3, layer3_col49_net0, layer3_col48_net4, layer3_col49_net1, layer3_col48_net5, layer3_col49_net2, layer3_col50_net0, layer3_col49_net3, layer3_col50_net1, layer3_col49_net4, layer3_col49_net5, layer3_col50_net2, layer3_col51_net0, layer3_col50_net3, layer3_col51_net1, layer3_col51_net2, layer3_col52_net0, layer3_col51_net3, layer3_col52_net1, layer3_col51_net4, layer3_col52_net2, layer3_col53_net0, layer3_col52_net3, layer3_col52_net4, layer3_col53_net1, layer3_col54_net0, layer3_col53_net2, layer3_col54_net1, layer3_col54_net2, layer3_col55_net0, layer3_col54_net3, layer3_col55_net1, layer3_col56_net0, layer3_col55_net2, layer3_col55_net3, layer3_col56_net1, layer3_col57_net0, layer3_col56_net2, layer3_col56_net3, layer3_col57_net1, layer3_col58_net0, layer3_col58_net1, layer3_col59_net0, layer3_col58_net2, layer3_col59_net1, layer3_col59_net2, layer3_col60_net0, layer3_col61_net0, layer3_col61_net1, layer3_col62_net0, layer3_col62_net1;
logic layer4_col0_net0, layer4_col1_net0, layer4_col1_net1, layer4_col2_net0, layer4_col2_net1, layer4_col3_net0, layer4_col3_net1, layer4_col4_net0, layer4_col4_net1, layer4_col5_net0, layer4_col6_net0, layer4_col5_net1, layer4_col6_net1, layer4_col6_net2, layer4_col7_net0, layer4_col7_net1, layer4_col8_net0, layer4_col9_net0, layer4_col8_net1, layer4_col9_net1, layer4_col10_net0, layer4_col10_net1, layer4_col11_net0, layer4_col11_net1, layer4_col12_net0, layer4_col11_net2, layer4_col11_net3, layer4_col12_net1, layer4_col13_net0, layer4_col12_net2, layer4_col13_net1, layer4_col14_net0, layer4_col13_net2, layer4_col14_net1, layer4_col15_net0, layer4_col14_net2, layer4_col15_net1, layer4_col16_net0, layer4_col15_net2, layer4_col16_net1, layer4_col16_net2, layer4_col17_net0, layer4_col16_net3, layer4_col16_net4, layer4_col17_net1, layer4_col18_net0, layer4_col17_net2, layer4_col17_net3, layer4_col18_net1, layer4_col19_net0, layer4_col18_net2, layer4_col19_net1, layer4_col18_net3, layer4_col19_net2, layer4_col20_net0, layer4_col19_net3, layer4_col20_net1, layer4_col20_net2, layer4_col21_net0, layer4_col20_net3, layer4_col21_net1, layer4_col21_net2, layer4_col22_net0, layer4_col21_net3, layer4_col22_net1, layer4_col22_net2, layer4_col23_net0, layer4_col22_net3, layer4_col23_net1, layer4_col22_net4, layer4_col22_net5, layer4_col23_net2, layer4_col24_net0, layer4_col23_net3, layer4_col24_net1, layer4_col23_net4, layer4_col24_net2, layer4_col25_net0, layer4_col24_net3, layer4_col25_net1, layer4_col24_net4, layer4_col25_net2, layer4_col26_net0, layer4_col25_net3, layer4_col26_net1, layer4_col25_net4, layer4_col26_net2, layer4_col26_net3, layer4_col27_net0, layer4_col26_net4, layer4_col27_net1, layer4_col26_net5, layer4_col26_net6, layer4_col27_net2, layer4_col28_net0, layer4_col27_net3, layer4_col28_net1, layer4_col27_net4, layer4_col27_net5, layer4_col28_net2, layer4_col29_net0, layer4_col28_net3, layer4_col29_net1, layer4_col28_net4, layer4_col29_net2, layer4_col28_net5, layer4_col29_net3, layer4_col30_net0, layer4_col29_net4, layer4_col30_net1, layer4_col29_net5, layer4_col30_net2, layer4_col30_net3, layer4_col31_net0, layer4_col30_net4, layer4_col31_net1, layer4_col30_net5, layer4_col31_net2, layer4_col31_net3, layer4_col32_net0, layer4_col31_net4, layer4_col32_net1, layer4_col31_net5, layer4_col32_net2, layer4_col32_net3, layer4_col33_net0, layer4_col32_net4, layer4_col33_net1, layer4_col32_net5, layer4_col33_net2, layer4_col32_net6, layer4_col32_net7, layer4_col33_net3, layer4_col34_net0, layer4_col33_net4, layer4_col34_net1, layer4_col33_net5, layer4_col34_net2, layer4_col34_net3, layer4_col35_net0, layer4_col34_net4, layer4_col35_net1, layer4_col34_net5, layer4_col35_net2, layer4_col34_net6, layer4_col35_net3, layer4_col36_net0, layer4_col35_net4, layer4_col36_net1, layer4_col35_net5, layer4_col36_net2, layer4_col35_net6, layer4_col36_net3, layer4_col37_net0, layer4_col36_net4, layer4_col37_net1, layer4_col36_net5, layer4_col36_net6, layer4_col37_net2, layer4_col38_net0, layer4_col37_net3, layer4_col38_net1, layer4_col37_net4, layer4_col38_net2, layer4_col38_net3, layer4_col39_net0, layer4_col38_net4, layer4_col39_net1, layer4_col38_net5, layer4_col39_net2, layer4_col39_net3, layer4_col40_net0, layer4_col39_net4, layer4_col40_net1, layer4_col39_net5, layer4_col40_net2, layer4_col40_net3, layer4_col41_net0, layer4_col40_net4, layer4_col41_net1, layer4_col40_net5, layer4_col41_net2, layer4_col42_net0, layer4_col41_net3, layer4_col42_net1, layer4_col41_net4, layer4_col41_net5, layer4_col42_net2, layer4_col43_net0, layer4_col42_net3, layer4_col43_net1, layer4_col42_net4, layer4_col42_net5, layer4_col43_net2, layer4_col44_net0, layer4_col43_net3, layer4_col44_net1, layer4_col44_net2, layer4_col45_net0, layer4_col44_net3, layer4_col45_net1, layer4_col44_net4, layer4_col45_net2, layer4_col46_net0, layer4_col45_net3, layer4_col46_net1, layer4_col45_net4, layer4_col46_net2, layer4_col47_net0, layer4_col46_net3, layer4_col46_net4, layer4_col47_net1, layer4_col48_net0, layer4_col47_net2, layer4_col48_net1, layer4_col48_net2, layer4_col49_net0, layer4_col48_net3, layer4_col49_net1, layer4_col49_net2, layer4_col50_net0, layer4_col49_net3, layer4_col50_net1, layer4_col50_net2, layer4_col51_net0, layer4_col50_net3, layer4_col51_net1, layer4_col52_net0, layer4_col51_net2, layer4_col51_net3, layer4_col52_net1, layer4_col53_net0, layer4_col52_net2, layer4_col52_net3, layer4_col53_net1, layer4_col54_net0, layer4_col54_net1, layer4_col55_net0, layer4_col54_net2, layer4_col55_net1, layer4_col56_net0, layer4_col55_net2, layer4_col56_net1, layer4_col57_net0, layer4_col56_net2, layer4_col57_net1, layer4_col57_net2, layer4_col58_net0, layer4_col59_net0, layer4_col59_net1, layer4_col60_net0, layer4_col60_net1, layer4_col61_net0, layer4_col61_net1, layer4_col62_net0, layer4_col62_net1;
logic layer5_col0_net0, layer5_col1_net0, layer5_col1_net1, layer5_col2_net0, layer5_col2_net1, layer5_col3_net0, layer5_col3_net1, layer5_col4_net0, layer5_col4_net1, layer5_col5_net0, layer5_col5_net1, layer5_col6_net0, layer5_col7_net0, layer5_col6_net1, layer5_col7_net1, layer5_col7_net2, layer5_col8_net0, layer5_col8_net1, layer5_col9_net0, layer5_col9_net1, layer5_col10_net0, layer5_col10_net1, layer5_col11_net0, layer5_col12_net0, layer5_col11_net1, layer5_col12_net1, layer5_col13_net0, layer5_col13_net1, layer5_col14_net0, layer5_col14_net1, layer5_col15_net0, layer5_col15_net1, layer5_col16_net0, layer5_col16_net1, layer5_col17_net0, layer5_col16_net2, layer5_col16_net3, layer5_col17_net1, layer5_col18_net0, layer5_col17_net2, layer5_col18_net1, layer5_col19_net0, layer5_col18_net2, layer5_col19_net1, layer5_col20_net0, layer5_col19_net2, layer5_col20_net1, layer5_col21_net0, layer5_col20_net2, layer5_col21_net1, layer5_col22_net0, layer5_col21_net2, layer5_col22_net1, layer5_col23_net0, layer5_col22_net2, layer5_col23_net1, layer5_col23_net2, layer5_col24_net0, layer5_col23_net3, layer5_col23_net4, layer5_col24_net1, layer5_col25_net0, layer5_col24_net2, layer5_col24_net3, layer5_col25_net1, layer5_col26_net0, layer5_col25_net2, layer5_col25_net3, layer5_col26_net1, layer5_col27_net0, layer5_col26_net2, layer5_col27_net1, layer5_col26_net3, layer5_col27_net2, layer5_col28_net0, layer5_col27_net3, layer5_col28_net1, layer5_col28_net2, layer5_col29_net0, layer5_col28_net3, layer5_col29_net1, layer5_col29_net2, layer5_col30_net0, layer5_col29_net3, layer5_col30_net1, layer5_col30_net2, layer5_col31_net0, layer5_col30_net3, layer5_col31_net1, layer5_col31_net2, layer5_col32_net0, layer5_col31_net3, layer5_col32_net1, layer5_col32_net2, layer5_col33_net0, layer5_col32_net3, layer5_col33_net1, layer5_col32_net4, layer5_col32_net5, layer5_col33_net2, layer5_col34_net0, layer5_col33_net3, layer5_col34_net1, layer5_col34_net2, layer5_col35_net0, layer5_col34_net3, layer5_col35_net1, layer5_col34_net4, layer5_col35_net2, layer5_col36_net0, layer5_col35_net3, layer5_col36_net1, layer5_col35_net4, layer5_col36_net2, layer5_col37_net0, layer5_col36_net3, layer5_col37_net1, layer5_col36_net4, layer5_col37_net2, layer5_col38_net0, layer5_col37_net3, layer5_col37_net4, layer5_col38_net1, layer5_col39_net0, layer5_col38_net2, layer5_col39_net1, layer5_col39_net2, layer5_col40_net0, layer5_col39_net3, layer5_col40_net1, layer5_col40_net2, layer5_col41_net0, layer5_col40_net3, layer5_col41_net1, layer5_col41_net2, layer5_col42_net0, layer5_col41_net3, layer5_col42_net1, layer5_col42_net2, layer5_col43_net0, layer5_col42_net3, layer5_col43_net1, layer5_col43_net2, layer5_col44_net0, layer5_col43_net3, layer5_col44_net1, layer5_col45_net0, layer5_col44_net2, layer5_col44_net3, layer5_col45_net1, layer5_col46_net0, layer5_col45_net2, layer5_col45_net3, layer5_col46_net1, layer5_col47_net0, layer5_col46_net2, layer5_col46_net3, layer5_col47_net1, layer5_col48_net0, layer5_col48_net1, layer5_col49_net0, layer5_col48_net2, layer5_col49_net1, layer5_col50_net0, layer5_col49_net2, layer5_col50_net1, layer5_col51_net0, layer5_col50_net2, layer5_col51_net1, layer5_col52_net0, layer5_col51_net2, layer5_col52_net1, layer5_col53_net0, layer5_col52_net2, layer5_col53_net1, layer5_col53_net2, layer5_col54_net0, layer5_col55_net0, layer5_col55_net1, layer5_col56_net0, layer5_col56_net1, layer5_col57_net0, layer5_col57_net1, layer5_col58_net0, layer5_col58_net1, layer5_col59_net0, layer5_col59_net1, layer5_col60_net0, layer5_col60_net1, layer5_col61_net0, layer5_col61_net1, layer5_col62_net0, layer5_col62_net1;
logic layer6_col0_net0, layer6_col1_net0, layer6_col1_net1, layer6_col2_net0, layer6_col2_net1, layer6_col3_net0, layer6_col3_net1, layer6_col4_net0, layer6_col4_net1, layer6_col5_net0, layer6_col5_net1, layer6_col6_net0, layer6_col6_net1, layer6_col7_net0, layer6_col8_net0, layer6_col7_net1, layer6_col8_net1, layer6_col8_net2, layer6_col9_net0, layer6_col9_net1, layer6_col10_net0, layer6_col10_net1, layer6_col11_net0, layer6_col11_net1, layer6_col12_net0, layer6_col12_net1, layer6_col13_net0, layer6_col13_net1, layer6_col14_net0, layer6_col14_net1, layer6_col15_net0, layer6_col15_net1, layer6_col16_net0, layer6_col17_net0, layer6_col16_net1, layer6_col17_net1, layer6_col18_net0, layer6_col18_net1, layer6_col19_net0, layer6_col19_net1, layer6_col20_net0, layer6_col20_net1, layer6_col21_net0, layer6_col21_net1, layer6_col22_net0, layer6_col22_net1, layer6_col23_net0, layer6_col23_net1, layer6_col24_net0, layer6_col23_net2, layer6_col23_net3, layer6_col24_net1, layer6_col25_net0, layer6_col24_net2, layer6_col25_net1, layer6_col26_net0, layer6_col25_net2, layer6_col26_net1, layer6_col27_net0, layer6_col26_net2, layer6_col27_net1, layer6_col28_net0, layer6_col27_net2, layer6_col28_net1, layer6_col29_net0, layer6_col28_net2, layer6_col29_net1, layer6_col30_net0, layer6_col29_net2, layer6_col30_net1, layer6_col31_net0, layer6_col30_net2, layer6_col31_net1, layer6_col32_net0, layer6_col31_net2, layer6_col32_net1, layer6_col33_net0, layer6_col32_net2, layer6_col33_net1, layer6_col33_net2, layer6_col34_net0, layer6_col33_net3, layer6_col34_net1, layer6_col35_net0, layer6_col34_net2, layer6_col34_net3, layer6_col35_net1, layer6_col36_net0, layer6_col35_net2, layer6_col35_net3, layer6_col36_net1, layer6_col37_net0, layer6_col36_net2, layer6_col36_net3, layer6_col37_net1, layer6_col38_net0, layer6_col37_net2, layer6_col37_net3, layer6_col38_net1, layer6_col39_net0, layer6_col39_net1, layer6_col40_net0, layer6_col39_net2, layer6_col40_net1, layer6_col41_net0, layer6_col40_net2, layer6_col41_net1, layer6_col42_net0, layer6_col41_net2, layer6_col42_net1, layer6_col43_net0, layer6_col42_net2, layer6_col43_net1, layer6_col44_net0, layer6_col43_net2, layer6_col44_net1, layer6_col45_net0, layer6_col44_net2, layer6_col45_net1, layer6_col46_net0, layer6_col45_net2, layer6_col46_net1, layer6_col47_net0, layer6_col46_net2, layer6_col47_net1, layer6_col47_net2, layer6_col48_net0, layer6_col49_net0, layer6_col49_net1, layer6_col50_net0, layer6_col50_net1, layer6_col51_net0, layer6_col51_net1, layer6_col52_net0, layer6_col52_net1, layer6_col53_net0, layer6_col53_net1, layer6_col54_net0, layer6_col54_net1, layer6_col55_net0, layer6_col55_net1, layer6_col56_net0, layer6_col56_net1, layer6_col57_net0, layer6_col57_net1, layer6_col58_net0, layer6_col58_net1, layer6_col59_net0, layer6_col59_net1, layer6_col60_net0, layer6_col60_net1, layer6_col61_net0, layer6_col61_net1, layer6_col62_net0, layer6_col62_net1;
logic layer7_col0_net0, layer7_col1_net0, layer7_col1_net1, layer7_col2_net0, layer7_col2_net1, layer7_col3_net0, layer7_col3_net1, layer7_col4_net0, layer7_col4_net1, layer7_col5_net0, layer7_col5_net1, layer7_col6_net0, layer7_col6_net1, layer7_col7_net0, layer7_col7_net1, layer7_col8_net0, layer7_col9_net0, layer7_col8_net1, layer7_col9_net1, layer7_col9_net2, layer7_col10_net0, layer7_col10_net1, layer7_col11_net0, layer7_col11_net1, layer7_col12_net0, layer7_col12_net1, layer7_col13_net0, layer7_col13_net1, layer7_col14_net0, layer7_col14_net1, layer7_col15_net0, layer7_col15_net1, layer7_col16_net0, layer7_col16_net1, layer7_col17_net0, layer7_col17_net1, layer7_col18_net0, layer7_col18_net1, layer7_col19_net0, layer7_col19_net1, layer7_col20_net0, layer7_col20_net1, layer7_col21_net0, layer7_col21_net1, layer7_col22_net0, layer7_col22_net1, layer7_col23_net0, layer7_col24_net0, layer7_col23_net1, layer7_col24_net1, layer7_col25_net0, layer7_col25_net1, layer7_col26_net0, layer7_col26_net1, layer7_col27_net0, layer7_col27_net1, layer7_col28_net0, layer7_col28_net1, layer7_col29_net0, layer7_col29_net1, layer7_col30_net0, layer7_col30_net1, layer7_col31_net0, layer7_col31_net1, layer7_col32_net0, layer7_col32_net1, layer7_col33_net0, layer7_col33_net1, layer7_col34_net0, layer7_col33_net2, layer7_col34_net1, layer7_col35_net0, layer7_col34_net2, layer7_col35_net1, layer7_col36_net0, layer7_col35_net2, layer7_col36_net1, layer7_col37_net0, layer7_col36_net2, layer7_col37_net1, layer7_col38_net0, layer7_col37_net2, layer7_col38_net1, layer7_col38_net2, layer7_col39_net0, layer7_col40_net0, layer7_col40_net1, layer7_col41_net0, layer7_col41_net1, layer7_col42_net0, layer7_col42_net1, layer7_col43_net0, layer7_col43_net1, layer7_col44_net0, layer7_col44_net1, layer7_col45_net0, layer7_col45_net1, layer7_col46_net0, layer7_col46_net1, layer7_col47_net0, layer7_col47_net1, layer7_col48_net0, layer7_col48_net1, layer7_col49_net0, layer7_col49_net1, layer7_col50_net0, layer7_col50_net1, layer7_col51_net0, layer7_col51_net1, layer7_col52_net0, layer7_col52_net1, layer7_col53_net0, layer7_col53_net1, layer7_col54_net0, layer7_col54_net1, layer7_col55_net0, layer7_col55_net1, layer7_col56_net0, layer7_col56_net1, layer7_col57_net0, layer7_col57_net1, layer7_col58_net0, layer7_col58_net1, layer7_col59_net0, layer7_col59_net1, layer7_col60_net0, layer7_col60_net1, layer7_col61_net0, layer7_col61_net1, layer7_col62_net0, layer7_col62_net1;
logic layer8_col0_net0, layer8_col1_net0, layer8_col1_net1, layer8_col2_net0, layer8_col2_net1, layer8_col3_net0, layer8_col3_net1, layer8_col4_net0, layer8_col4_net1, layer8_col5_net0, layer8_col5_net1, layer8_col6_net0, layer8_col6_net1, layer8_col7_net0, layer8_col7_net1, layer8_col8_net0, layer8_col8_net1, layer8_col9_net0, layer8_col10_net0, layer8_col9_net1, layer8_col10_net1, layer8_col11_net0, layer8_col11_net1, layer8_col12_net0, layer8_col12_net1, layer8_col13_net0, layer8_col13_net1, layer8_col14_net0, layer8_col14_net1, layer8_col15_net0, layer8_col15_net1, layer8_col16_net0, layer8_col16_net1, layer8_col17_net0, layer8_col17_net1, layer8_col18_net0, layer8_col18_net1, layer8_col19_net0, layer8_col19_net1, layer8_col20_net0, layer8_col20_net1, layer8_col21_net0, layer8_col21_net1, layer8_col22_net0, layer8_col22_net1, layer8_col23_net0, layer8_col23_net1, layer8_col24_net0, layer8_col24_net1, layer8_col25_net0, layer8_col25_net1, layer8_col26_net0, layer8_col26_net1, layer8_col27_net0, layer8_col27_net1, layer8_col28_net0, layer8_col28_net1, layer8_col29_net0, layer8_col29_net1, layer8_col30_net0, layer8_col30_net1, layer8_col31_net0, layer8_col31_net1, layer8_col32_net0, layer8_col32_net1, layer8_col33_net0, layer8_col33_net1, layer8_col34_net0, layer8_col34_net1, layer8_col35_net0, layer8_col35_net1, layer8_col36_net0, layer8_col36_net1, layer8_col37_net0, layer8_col37_net1, layer8_col38_net0, layer8_col38_net1, layer8_col39_net0, layer8_col39_net1, layer8_col40_net0, layer8_col40_net1, layer8_col41_net0, layer8_col41_net1, layer8_col42_net0, layer8_col42_net1, layer8_col43_net0, layer8_col43_net1, layer8_col44_net0, layer8_col44_net1, layer8_col45_net0, layer8_col45_net1, layer8_col46_net0, layer8_col46_net1, layer8_col47_net0, layer8_col47_net1, layer8_col48_net0, layer8_col48_net1, layer8_col49_net0, layer8_col49_net1, layer8_col50_net0, layer8_col50_net1, layer8_col51_net0, layer8_col51_net1, layer8_col52_net0, layer8_col52_net1, layer8_col53_net0, layer8_col53_net1, layer8_col54_net0, layer8_col54_net1, layer8_col55_net0, layer8_col55_net1, layer8_col56_net0, layer8_col56_net1, layer8_col57_net0, layer8_col57_net1, layer8_col58_net0, layer8_col58_net1, layer8_col59_net0, layer8_col59_net1, layer8_col60_net0, layer8_col60_net1, layer8_col61_net0, layer8_col61_net1, layer8_col62_net0, layer8_col62_net1;

//----------- Reduction Layer 1 Start --------------

assign layer1_col0_net0 = partial_prod[0][0];
assign layer1_col1_net0 = partial_prod[1][0];
assign layer1_col1_net1 = partial_prod[0][1];
assign layer1_col2_net1 = partial_prod[0][2];
assign layer1_col3_net2 = partial_prod[0][3];
assign layer1_col4_net2 = partial_prod[1][3];
assign layer1_col4_net3 = partial_prod[0][4];
assign layer1_col6_net4 = partial_prod[0][6];
assign layer1_col7_net4 = partial_prod[1][6];
assign layer1_col7_net5 = partial_prod[0][7];
assign layer1_col9_net6 = partial_prod[0][9];
assign layer1_col10_net6 = partial_prod[1][9];
assign layer1_col10_net7 = partial_prod[0][10];
assign layer1_col12_net8 = partial_prod[0][12];
assign layer1_col13_net8 = partial_prod[1][12];
assign layer1_col13_net9 = partial_prod[0][13];
assign layer1_col15_net10 = partial_prod[0][15];
assign layer1_col16_net10 = partial_prod[1][15];
assign layer1_col16_net11 = partial_prod[0][16];
assign layer1_col18_net12 = partial_prod[0][18];
assign layer1_col19_net12 = partial_prod[1][18];
assign layer1_col19_net13 = partial_prod[0][19];
assign layer1_col21_net14 = partial_prod[0][21];
assign layer1_col22_net14 = partial_prod[1][21];
assign layer1_col22_net15 = partial_prod[0][22];
assign layer1_col24_net16 = partial_prod[0][24];
assign layer1_col25_net16 = partial_prod[1][24];
assign layer1_col25_net17 = partial_prod[0][25];
assign layer1_col27_net18 = partial_prod[0][27];
assign layer1_col28_net18 = partial_prod[1][27];
assign layer1_col28_net19 = partial_prod[0][28];
assign layer1_col30_net20 = partial_prod[0][30];
assign layer1_col31_net20 = partial_prod[1][30];
assign layer1_col31_net21 = partial_prod[0][31];
assign layer1_col32_net20 = partial_prod[1][31];
assign layer1_col34_net19 = partial_prod[4][30];
assign layer1_col34_net20 = partial_prod[3][31];
assign layer1_col35_net18 = partial_prod[4][31];
assign layer1_col37_net17 = partial_prod[7][30];
assign layer1_col37_net18 = partial_prod[6][31];
assign layer1_col38_net16 = partial_prod[7][31];
assign layer1_col40_net15 = partial_prod[10][30];
assign layer1_col40_net16 = partial_prod[9][31];
assign layer1_col41_net14 = partial_prod[10][31];
assign layer1_col43_net13 = partial_prod[13][30];
assign layer1_col43_net14 = partial_prod[12][31];
assign layer1_col44_net12 = partial_prod[13][31];
assign layer1_col46_net11 = partial_prod[16][30];
assign layer1_col46_net12 = partial_prod[15][31];
assign layer1_col47_net10 = partial_prod[16][31];
assign layer1_col49_net9 = partial_prod[19][30];
assign layer1_col49_net10 = partial_prod[18][31];
assign layer1_col50_net8 = partial_prod[19][31];
assign layer1_col52_net7 = partial_prod[22][30];
assign layer1_col52_net8 = partial_prod[21][31];
assign layer1_col53_net6 = partial_prod[22][31];
assign layer1_col55_net5 = partial_prod[25][30];
assign layer1_col55_net6 = partial_prod[24][31];
assign layer1_col56_net4 = partial_prod[25][31];
assign layer1_col58_net3 = partial_prod[28][30];
assign layer1_col58_net4 = partial_prod[27][31];
assign layer1_col59_net2 = partial_prod[28][31];
assign layer1_col61_net1 = partial_prod[31][30];
assign layer1_col61_net2 = partial_prod[30][31];
assign layer1_col62_net0 = partial_prod[31][31];
half_adder ha_add1_0 (partial_prod[2][0], partial_prod[1][1], layer1_col2_net0, layer1_col3_net0);
full_adder fa_add1_0 (partial_prod[3][0], partial_prod[2][1], partial_prod[1][2], layer1_col3_net1, layer1_col4_net0);
full_adder fa_add1_1 (partial_prod[4][0], partial_prod[3][1], partial_prod[2][2], layer1_col4_net1, layer1_col5_net0);
full_adder fa_add1_2 (partial_prod[5][0], partial_prod[4][1], partial_prod[3][2], layer1_col5_net1, layer1_col6_net0);
full_adder fa_add1_3 (partial_prod[2][3], partial_prod[1][4], partial_prod[0][5], layer1_col5_net2, layer1_col6_net1);
full_adder fa_add1_4 (partial_prod[6][0], partial_prod[5][1], partial_prod[4][2], layer1_col6_net2, layer1_col7_net0);
full_adder fa_add1_5 (partial_prod[3][3], partial_prod[2][4], partial_prod[1][5], layer1_col6_net3, layer1_col7_net1);
full_adder fa_add1_6 (partial_prod[7][0], partial_prod[6][1], partial_prod[5][2], layer1_col7_net2, layer1_col8_net0);
full_adder fa_add1_7 (partial_prod[4][3], partial_prod[3][4], partial_prod[2][5], layer1_col7_net3, layer1_col8_net1);
full_adder fa_add1_8 (partial_prod[8][0], partial_prod[7][1], partial_prod[6][2], layer1_col8_net2, layer1_col9_net0);
full_adder fa_add1_9 (partial_prod[5][3], partial_prod[4][4], partial_prod[3][5], layer1_col8_net3, layer1_col9_net1);
full_adder fa_add1_10 (partial_prod[2][6], partial_prod[1][7], partial_prod[0][8], layer1_col8_net4, layer1_col9_net2);
full_adder fa_add1_11 (partial_prod[9][0], partial_prod[8][1], partial_prod[7][2], layer1_col9_net3, layer1_col10_net0);
full_adder fa_add1_12 (partial_prod[6][3], partial_prod[5][4], partial_prod[4][5], layer1_col9_net4, layer1_col10_net1);
full_adder fa_add1_13 (partial_prod[3][6], partial_prod[2][7], partial_prod[1][8], layer1_col9_net5, layer1_col10_net2);
full_adder fa_add1_14 (partial_prod[10][0], partial_prod[9][1], partial_prod[8][2], layer1_col10_net3, layer1_col11_net0);
full_adder fa_add1_15 (partial_prod[7][3], partial_prod[6][4], partial_prod[5][5], layer1_col10_net4, layer1_col11_net1);
full_adder fa_add1_16 (partial_prod[4][6], partial_prod[3][7], partial_prod[2][8], layer1_col10_net5, layer1_col11_net2);
full_adder fa_add1_17 (partial_prod[11][0], partial_prod[10][1], partial_prod[9][2], layer1_col11_net3, layer1_col12_net0);
full_adder fa_add1_18 (partial_prod[8][3], partial_prod[7][4], partial_prod[6][5], layer1_col11_net4, layer1_col12_net1);
full_adder fa_add1_19 (partial_prod[5][6], partial_prod[4][7], partial_prod[3][8], layer1_col11_net5, layer1_col12_net2);
full_adder fa_add1_20 (partial_prod[2][9], partial_prod[1][10], partial_prod[0][11], layer1_col11_net6, layer1_col12_net3);
full_adder fa_add1_21 (partial_prod[12][0], partial_prod[11][1], partial_prod[10][2], layer1_col12_net4, layer1_col13_net0);
full_adder fa_add1_22 (partial_prod[9][3], partial_prod[8][4], partial_prod[7][5], layer1_col12_net5, layer1_col13_net1);
full_adder fa_add1_23 (partial_prod[6][6], partial_prod[5][7], partial_prod[4][8], layer1_col12_net6, layer1_col13_net2);
full_adder fa_add1_24 (partial_prod[3][9], partial_prod[2][10], partial_prod[1][11], layer1_col12_net7, layer1_col13_net3);
full_adder fa_add1_25 (partial_prod[13][0], partial_prod[12][1], partial_prod[11][2], layer1_col13_net4, layer1_col14_net0);
full_adder fa_add1_26 (partial_prod[10][3], partial_prod[9][4], partial_prod[8][5], layer1_col13_net5, layer1_col14_net1);
full_adder fa_add1_27 (partial_prod[7][6], partial_prod[6][7], partial_prod[5][8], layer1_col13_net6, layer1_col14_net2);
full_adder fa_add1_28 (partial_prod[4][9], partial_prod[3][10], partial_prod[2][11], layer1_col13_net7, layer1_col14_net3);
full_adder fa_add1_29 (partial_prod[14][0], partial_prod[13][1], partial_prod[12][2], layer1_col14_net4, layer1_col15_net0);
full_adder fa_add1_30 (partial_prod[11][3], partial_prod[10][4], partial_prod[9][5], layer1_col14_net5, layer1_col15_net1);
full_adder fa_add1_31 (partial_prod[8][6], partial_prod[7][7], partial_prod[6][8], layer1_col14_net6, layer1_col15_net2);
full_adder fa_add1_32 (partial_prod[5][9], partial_prod[4][10], partial_prod[3][11], layer1_col14_net7, layer1_col15_net3);
full_adder fa_add1_33 (partial_prod[2][12], partial_prod[1][13], partial_prod[0][14], layer1_col14_net8, layer1_col15_net4);
full_adder fa_add1_34 (partial_prod[15][0], partial_prod[14][1], partial_prod[13][2], layer1_col15_net5, layer1_col16_net0);
full_adder fa_add1_35 (partial_prod[12][3], partial_prod[11][4], partial_prod[10][5], layer1_col15_net6, layer1_col16_net1);
full_adder fa_add1_36 (partial_prod[9][6], partial_prod[8][7], partial_prod[7][8], layer1_col15_net7, layer1_col16_net2);
full_adder fa_add1_37 (partial_prod[6][9], partial_prod[5][10], partial_prod[4][11], layer1_col15_net8, layer1_col16_net3);
full_adder fa_add1_38 (partial_prod[3][12], partial_prod[2][13], partial_prod[1][14], layer1_col15_net9, layer1_col16_net4);
full_adder fa_add1_39 (partial_prod[16][0], partial_prod[15][1], partial_prod[14][2], layer1_col16_net5, layer1_col17_net0);
full_adder fa_add1_40 (partial_prod[13][3], partial_prod[12][4], partial_prod[11][5], layer1_col16_net6, layer1_col17_net1);
full_adder fa_add1_41 (partial_prod[10][6], partial_prod[9][7], partial_prod[8][8], layer1_col16_net7, layer1_col17_net2);
full_adder fa_add1_42 (partial_prod[7][9], partial_prod[6][10], partial_prod[5][11], layer1_col16_net8, layer1_col17_net3);
full_adder fa_add1_43 (partial_prod[4][12], partial_prod[3][13], partial_prod[2][14], layer1_col16_net9, layer1_col17_net4);
full_adder fa_add1_44 (partial_prod[17][0], partial_prod[16][1], partial_prod[15][2], layer1_col17_net5, layer1_col18_net0);
full_adder fa_add1_45 (partial_prod[14][3], partial_prod[13][4], partial_prod[12][5], layer1_col17_net6, layer1_col18_net1);
full_adder fa_add1_46 (partial_prod[11][6], partial_prod[10][7], partial_prod[9][8], layer1_col17_net7, layer1_col18_net2);
full_adder fa_add1_47 (partial_prod[8][9], partial_prod[7][10], partial_prod[6][11], layer1_col17_net8, layer1_col18_net3);
full_adder fa_add1_48 (partial_prod[5][12], partial_prod[4][13], partial_prod[3][14], layer1_col17_net9, layer1_col18_net4);
full_adder fa_add1_49 (partial_prod[2][15], partial_prod[1][16], partial_prod[0][17], layer1_col17_net10, layer1_col18_net5);
full_adder fa_add1_50 (partial_prod[18][0], partial_prod[17][1], partial_prod[16][2], layer1_col18_net6, layer1_col19_net0);
full_adder fa_add1_51 (partial_prod[15][3], partial_prod[14][4], partial_prod[13][5], layer1_col18_net7, layer1_col19_net1);
full_adder fa_add1_52 (partial_prod[12][6], partial_prod[11][7], partial_prod[10][8], layer1_col18_net8, layer1_col19_net2);
full_adder fa_add1_53 (partial_prod[9][9], partial_prod[8][10], partial_prod[7][11], layer1_col18_net9, layer1_col19_net3);
full_adder fa_add1_54 (partial_prod[6][12], partial_prod[5][13], partial_prod[4][14], layer1_col18_net10, layer1_col19_net4);
full_adder fa_add1_55 (partial_prod[3][15], partial_prod[2][16], partial_prod[1][17], layer1_col18_net11, layer1_col19_net5);
full_adder fa_add1_56 (partial_prod[19][0], partial_prod[18][1], partial_prod[17][2], layer1_col19_net6, layer1_col20_net0);
full_adder fa_add1_57 (partial_prod[16][3], partial_prod[15][4], partial_prod[14][5], layer1_col19_net7, layer1_col20_net1);
full_adder fa_add1_58 (partial_prod[13][6], partial_prod[12][7], partial_prod[11][8], layer1_col19_net8, layer1_col20_net2);
full_adder fa_add1_59 (partial_prod[10][9], partial_prod[9][10], partial_prod[8][11], layer1_col19_net9, layer1_col20_net3);
full_adder fa_add1_60 (partial_prod[7][12], partial_prod[6][13], partial_prod[5][14], layer1_col19_net10, layer1_col20_net4);
full_adder fa_add1_61 (partial_prod[4][15], partial_prod[3][16], partial_prod[2][17], layer1_col19_net11, layer1_col20_net5);
full_adder fa_add1_62 (partial_prod[20][0], partial_prod[19][1], partial_prod[18][2], layer1_col20_net6, layer1_col21_net0);
full_adder fa_add1_63 (partial_prod[17][3], partial_prod[16][4], partial_prod[15][5], layer1_col20_net7, layer1_col21_net1);
full_adder fa_add1_64 (partial_prod[14][6], partial_prod[13][7], partial_prod[12][8], layer1_col20_net8, layer1_col21_net2);
full_adder fa_add1_65 (partial_prod[11][9], partial_prod[10][10], partial_prod[9][11], layer1_col20_net9, layer1_col21_net3);
full_adder fa_add1_66 (partial_prod[8][12], partial_prod[7][13], partial_prod[6][14], layer1_col20_net10, layer1_col21_net4);
full_adder fa_add1_67 (partial_prod[5][15], partial_prod[4][16], partial_prod[3][17], layer1_col20_net11, layer1_col21_net5);
full_adder fa_add1_68 (partial_prod[2][18], partial_prod[1][19], partial_prod[0][20], layer1_col20_net12, layer1_col21_net6);
full_adder fa_add1_69 (partial_prod[21][0], partial_prod[20][1], partial_prod[19][2], layer1_col21_net7, layer1_col22_net0);
full_adder fa_add1_70 (partial_prod[18][3], partial_prod[17][4], partial_prod[16][5], layer1_col21_net8, layer1_col22_net1);
full_adder fa_add1_71 (partial_prod[15][6], partial_prod[14][7], partial_prod[13][8], layer1_col21_net9, layer1_col22_net2);
full_adder fa_add1_72 (partial_prod[12][9], partial_prod[11][10], partial_prod[10][11], layer1_col21_net10, layer1_col22_net3);
full_adder fa_add1_73 (partial_prod[9][12], partial_prod[8][13], partial_prod[7][14], layer1_col21_net11, layer1_col22_net4);
full_adder fa_add1_74 (partial_prod[6][15], partial_prod[5][16], partial_prod[4][17], layer1_col21_net12, layer1_col22_net5);
full_adder fa_add1_75 (partial_prod[3][18], partial_prod[2][19], partial_prod[1][20], layer1_col21_net13, layer1_col22_net6);
full_adder fa_add1_76 (partial_prod[22][0], partial_prod[21][1], partial_prod[20][2], layer1_col22_net7, layer1_col23_net0);
full_adder fa_add1_77 (partial_prod[19][3], partial_prod[18][4], partial_prod[17][5], layer1_col22_net8, layer1_col23_net1);
full_adder fa_add1_78 (partial_prod[16][6], partial_prod[15][7], partial_prod[14][8], layer1_col22_net9, layer1_col23_net2);
full_adder fa_add1_79 (partial_prod[13][9], partial_prod[12][10], partial_prod[11][11], layer1_col22_net10, layer1_col23_net3);
full_adder fa_add1_80 (partial_prod[10][12], partial_prod[9][13], partial_prod[8][14], layer1_col22_net11, layer1_col23_net4);
full_adder fa_add1_81 (partial_prod[7][15], partial_prod[6][16], partial_prod[5][17], layer1_col22_net12, layer1_col23_net5);
full_adder fa_add1_82 (partial_prod[4][18], partial_prod[3][19], partial_prod[2][20], layer1_col22_net13, layer1_col23_net6);
full_adder fa_add1_83 (partial_prod[23][0], partial_prod[22][1], partial_prod[21][2], layer1_col23_net7, layer1_col24_net0);
full_adder fa_add1_84 (partial_prod[20][3], partial_prod[19][4], partial_prod[18][5], layer1_col23_net8, layer1_col24_net1);
full_adder fa_add1_85 (partial_prod[17][6], partial_prod[16][7], partial_prod[15][8], layer1_col23_net9, layer1_col24_net2);
full_adder fa_add1_86 (partial_prod[14][9], partial_prod[13][10], partial_prod[12][11], layer1_col23_net10, layer1_col24_net3);
full_adder fa_add1_87 (partial_prod[11][12], partial_prod[10][13], partial_prod[9][14], layer1_col23_net11, layer1_col24_net4);
full_adder fa_add1_88 (partial_prod[8][15], partial_prod[7][16], partial_prod[6][17], layer1_col23_net12, layer1_col24_net5);
full_adder fa_add1_89 (partial_prod[5][18], partial_prod[4][19], partial_prod[3][20], layer1_col23_net13, layer1_col24_net6);
full_adder fa_add1_90 (partial_prod[2][21], partial_prod[1][22], partial_prod[0][23], layer1_col23_net14, layer1_col24_net7);
full_adder fa_add1_91 (partial_prod[24][0], partial_prod[23][1], partial_prod[22][2], layer1_col24_net8, layer1_col25_net0);
full_adder fa_add1_92 (partial_prod[21][3], partial_prod[20][4], partial_prod[19][5], layer1_col24_net9, layer1_col25_net1);
full_adder fa_add1_93 (partial_prod[18][6], partial_prod[17][7], partial_prod[16][8], layer1_col24_net10, layer1_col25_net2);
full_adder fa_add1_94 (partial_prod[15][9], partial_prod[14][10], partial_prod[13][11], layer1_col24_net11, layer1_col25_net3);
full_adder fa_add1_95 (partial_prod[12][12], partial_prod[11][13], partial_prod[10][14], layer1_col24_net12, layer1_col25_net4);
full_adder fa_add1_96 (partial_prod[9][15], partial_prod[8][16], partial_prod[7][17], layer1_col24_net13, layer1_col25_net5);
full_adder fa_add1_97 (partial_prod[6][18], partial_prod[5][19], partial_prod[4][20], layer1_col24_net14, layer1_col25_net6);
full_adder fa_add1_98 (partial_prod[3][21], partial_prod[2][22], partial_prod[1][23], layer1_col24_net15, layer1_col25_net7);
full_adder fa_add1_99 (partial_prod[25][0], partial_prod[24][1], partial_prod[23][2], layer1_col25_net8, layer1_col26_net0);
full_adder fa_add1_100 (partial_prod[22][3], partial_prod[21][4], partial_prod[20][5], layer1_col25_net9, layer1_col26_net1);
full_adder fa_add1_101 (partial_prod[19][6], partial_prod[18][7], partial_prod[17][8], layer1_col25_net10, layer1_col26_net2);
full_adder fa_add1_102 (partial_prod[16][9], partial_prod[15][10], partial_prod[14][11], layer1_col25_net11, layer1_col26_net3);
full_adder fa_add1_103 (partial_prod[13][12], partial_prod[12][13], partial_prod[11][14], layer1_col25_net12, layer1_col26_net4);
full_adder fa_add1_104 (partial_prod[10][15], partial_prod[9][16], partial_prod[8][17], layer1_col25_net13, layer1_col26_net5);
full_adder fa_add1_105 (partial_prod[7][18], partial_prod[6][19], partial_prod[5][20], layer1_col25_net14, layer1_col26_net6);
full_adder fa_add1_106 (partial_prod[4][21], partial_prod[3][22], partial_prod[2][23], layer1_col25_net15, layer1_col26_net7);
full_adder fa_add1_107 (partial_prod[26][0], partial_prod[25][1], partial_prod[24][2], layer1_col26_net8, layer1_col27_net0);
full_adder fa_add1_108 (partial_prod[23][3], partial_prod[22][4], partial_prod[21][5], layer1_col26_net9, layer1_col27_net1);
full_adder fa_add1_109 (partial_prod[20][6], partial_prod[19][7], partial_prod[18][8], layer1_col26_net10, layer1_col27_net2);
full_adder fa_add1_110 (partial_prod[17][9], partial_prod[16][10], partial_prod[15][11], layer1_col26_net11, layer1_col27_net3);
full_adder fa_add1_111 (partial_prod[14][12], partial_prod[13][13], partial_prod[12][14], layer1_col26_net12, layer1_col27_net4);
full_adder fa_add1_112 (partial_prod[11][15], partial_prod[10][16], partial_prod[9][17], layer1_col26_net13, layer1_col27_net5);
full_adder fa_add1_113 (partial_prod[8][18], partial_prod[7][19], partial_prod[6][20], layer1_col26_net14, layer1_col27_net6);
full_adder fa_add1_114 (partial_prod[5][21], partial_prod[4][22], partial_prod[3][23], layer1_col26_net15, layer1_col27_net7);
full_adder fa_add1_115 (partial_prod[2][24], partial_prod[1][25], partial_prod[0][26], layer1_col26_net16, layer1_col27_net8);
full_adder fa_add1_116 (partial_prod[27][0], partial_prod[26][1], partial_prod[25][2], layer1_col27_net9, layer1_col28_net0);
full_adder fa_add1_117 (partial_prod[24][3], partial_prod[23][4], partial_prod[22][5], layer1_col27_net10, layer1_col28_net1);
full_adder fa_add1_118 (partial_prod[21][6], partial_prod[20][7], partial_prod[19][8], layer1_col27_net11, layer1_col28_net2);
full_adder fa_add1_119 (partial_prod[18][9], partial_prod[17][10], partial_prod[16][11], layer1_col27_net12, layer1_col28_net3);
full_adder fa_add1_120 (partial_prod[15][12], partial_prod[14][13], partial_prod[13][14], layer1_col27_net13, layer1_col28_net4);
full_adder fa_add1_121 (partial_prod[12][15], partial_prod[11][16], partial_prod[10][17], layer1_col27_net14, layer1_col28_net5);
full_adder fa_add1_122 (partial_prod[9][18], partial_prod[8][19], partial_prod[7][20], layer1_col27_net15, layer1_col28_net6);
full_adder fa_add1_123 (partial_prod[6][21], partial_prod[5][22], partial_prod[4][23], layer1_col27_net16, layer1_col28_net7);
full_adder fa_add1_124 (partial_prod[3][24], partial_prod[2][25], partial_prod[1][26], layer1_col27_net17, layer1_col28_net8);
full_adder fa_add1_125 (partial_prod[28][0], partial_prod[27][1], partial_prod[26][2], layer1_col28_net9, layer1_col29_net0);
full_adder fa_add1_126 (partial_prod[25][3], partial_prod[24][4], partial_prod[23][5], layer1_col28_net10, layer1_col29_net1);
full_adder fa_add1_127 (partial_prod[22][6], partial_prod[21][7], partial_prod[20][8], layer1_col28_net11, layer1_col29_net2);
full_adder fa_add1_128 (partial_prod[19][9], partial_prod[18][10], partial_prod[17][11], layer1_col28_net12, layer1_col29_net3);
full_adder fa_add1_129 (partial_prod[16][12], partial_prod[15][13], partial_prod[14][14], layer1_col28_net13, layer1_col29_net4);
full_adder fa_add1_130 (partial_prod[13][15], partial_prod[12][16], partial_prod[11][17], layer1_col28_net14, layer1_col29_net5);
full_adder fa_add1_131 (partial_prod[10][18], partial_prod[9][19], partial_prod[8][20], layer1_col28_net15, layer1_col29_net6);
full_adder fa_add1_132 (partial_prod[7][21], partial_prod[6][22], partial_prod[5][23], layer1_col28_net16, layer1_col29_net7);
full_adder fa_add1_133 (partial_prod[4][24], partial_prod[3][25], partial_prod[2][26], layer1_col28_net17, layer1_col29_net8);
full_adder fa_add1_134 (partial_prod[29][0], partial_prod[28][1], partial_prod[27][2], layer1_col29_net9, layer1_col30_net0);
full_adder fa_add1_135 (partial_prod[26][3], partial_prod[25][4], partial_prod[24][5], layer1_col29_net10, layer1_col30_net1);
full_adder fa_add1_136 (partial_prod[23][6], partial_prod[22][7], partial_prod[21][8], layer1_col29_net11, layer1_col30_net2);
full_adder fa_add1_137 (partial_prod[20][9], partial_prod[19][10], partial_prod[18][11], layer1_col29_net12, layer1_col30_net3);
full_adder fa_add1_138 (partial_prod[17][12], partial_prod[16][13], partial_prod[15][14], layer1_col29_net13, layer1_col30_net4);
full_adder fa_add1_139 (partial_prod[14][15], partial_prod[13][16], partial_prod[12][17], layer1_col29_net14, layer1_col30_net5);
full_adder fa_add1_140 (partial_prod[11][18], partial_prod[10][19], partial_prod[9][20], layer1_col29_net15, layer1_col30_net6);
full_adder fa_add1_141 (partial_prod[8][21], partial_prod[7][22], partial_prod[6][23], layer1_col29_net16, layer1_col30_net7);
full_adder fa_add1_142 (partial_prod[5][24], partial_prod[4][25], partial_prod[3][26], layer1_col29_net17, layer1_col30_net8);
full_adder fa_add1_143 (partial_prod[2][27], partial_prod[1][28], partial_prod[0][29], layer1_col29_net18, layer1_col30_net9);
full_adder fa_add1_144 (partial_prod[30][0], partial_prod[29][1], partial_prod[28][2], layer1_col30_net10, layer1_col31_net0);
full_adder fa_add1_145 (partial_prod[27][3], partial_prod[26][4], partial_prod[25][5], layer1_col30_net11, layer1_col31_net1);
full_adder fa_add1_146 (partial_prod[24][6], partial_prod[23][7], partial_prod[22][8], layer1_col30_net12, layer1_col31_net2);
full_adder fa_add1_147 (partial_prod[21][9], partial_prod[20][10], partial_prod[19][11], layer1_col30_net13, layer1_col31_net3);
full_adder fa_add1_148 (partial_prod[18][12], partial_prod[17][13], partial_prod[16][14], layer1_col30_net14, layer1_col31_net4);
full_adder fa_add1_149 (partial_prod[15][15], partial_prod[14][16], partial_prod[13][17], layer1_col30_net15, layer1_col31_net5);
full_adder fa_add1_150 (partial_prod[12][18], partial_prod[11][19], partial_prod[10][20], layer1_col30_net16, layer1_col31_net6);
full_adder fa_add1_151 (partial_prod[9][21], partial_prod[8][22], partial_prod[7][23], layer1_col30_net17, layer1_col31_net7);
full_adder fa_add1_152 (partial_prod[6][24], partial_prod[5][25], partial_prod[4][26], layer1_col30_net18, layer1_col31_net8);
full_adder fa_add1_153 (partial_prod[3][27], partial_prod[2][28], partial_prod[1][29], layer1_col30_net19, layer1_col31_net9);
full_adder fa_add1_154 (partial_prod[31][0], partial_prod[30][1], partial_prod[29][2], layer1_col31_net10, layer1_col32_net0);
full_adder fa_add1_155 (partial_prod[28][3], partial_prod[27][4], partial_prod[26][5], layer1_col31_net11, layer1_col32_net1);
full_adder fa_add1_156 (partial_prod[25][6], partial_prod[24][7], partial_prod[23][8], layer1_col31_net12, layer1_col32_net2);
full_adder fa_add1_157 (partial_prod[22][9], partial_prod[21][10], partial_prod[20][11], layer1_col31_net13, layer1_col32_net3);
full_adder fa_add1_158 (partial_prod[19][12], partial_prod[18][13], partial_prod[17][14], layer1_col31_net14, layer1_col32_net4);
full_adder fa_add1_159 (partial_prod[16][15], partial_prod[15][16], partial_prod[14][17], layer1_col31_net15, layer1_col32_net5);
full_adder fa_add1_160 (partial_prod[13][18], partial_prod[12][19], partial_prod[11][20], layer1_col31_net16, layer1_col32_net6);
full_adder fa_add1_161 (partial_prod[10][21], partial_prod[9][22], partial_prod[8][23], layer1_col31_net17, layer1_col32_net7);
full_adder fa_add1_162 (partial_prod[7][24], partial_prod[6][25], partial_prod[5][26], layer1_col31_net18, layer1_col32_net8);
full_adder fa_add1_163 (partial_prod[4][27], partial_prod[3][28], partial_prod[2][29], layer1_col31_net19, layer1_col32_net9);
full_adder fa_add1_164 (partial_prod[31][1], partial_prod[30][2], partial_prod[29][3], layer1_col32_net10, layer1_col33_net0);
full_adder fa_add1_165 (partial_prod[28][4], partial_prod[27][5], partial_prod[26][6], layer1_col32_net11, layer1_col33_net1);
full_adder fa_add1_166 (partial_prod[25][7], partial_prod[24][8], partial_prod[23][9], layer1_col32_net12, layer1_col33_net2);
full_adder fa_add1_167 (partial_prod[22][10], partial_prod[21][11], partial_prod[20][12], layer1_col32_net13, layer1_col33_net3);
full_adder fa_add1_168 (partial_prod[19][13], partial_prod[18][14], partial_prod[17][15], layer1_col32_net14, layer1_col33_net4);
full_adder fa_add1_169 (partial_prod[16][16], partial_prod[15][17], partial_prod[14][18], layer1_col32_net15, layer1_col33_net5);
full_adder fa_add1_170 (partial_prod[13][19], partial_prod[12][20], partial_prod[11][21], layer1_col32_net16, layer1_col33_net6);
full_adder fa_add1_171 (partial_prod[10][22], partial_prod[9][23], partial_prod[8][24], layer1_col32_net17, layer1_col33_net7);
full_adder fa_add1_172 (partial_prod[7][25], partial_prod[6][26], partial_prod[5][27], layer1_col32_net18, layer1_col33_net8);
full_adder fa_add1_173 (partial_prod[4][28], partial_prod[3][29], partial_prod[2][30], layer1_col32_net19, layer1_col33_net9);
full_adder fa_add1_174 (partial_prod[31][2], partial_prod[30][3], partial_prod[29][4], layer1_col33_net10, layer1_col34_net0);
full_adder fa_add1_175 (partial_prod[28][5], partial_prod[27][6], partial_prod[26][7], layer1_col33_net11, layer1_col34_net1);
full_adder fa_add1_176 (partial_prod[25][8], partial_prod[24][9], partial_prod[23][10], layer1_col33_net12, layer1_col34_net2);
full_adder fa_add1_177 (partial_prod[22][11], partial_prod[21][12], partial_prod[20][13], layer1_col33_net13, layer1_col34_net3);
full_adder fa_add1_178 (partial_prod[19][14], partial_prod[18][15], partial_prod[17][16], layer1_col33_net14, layer1_col34_net4);
full_adder fa_add1_179 (partial_prod[16][17], partial_prod[15][18], partial_prod[14][19], layer1_col33_net15, layer1_col34_net5);
full_adder fa_add1_180 (partial_prod[13][20], partial_prod[12][21], partial_prod[11][22], layer1_col33_net16, layer1_col34_net6);
full_adder fa_add1_181 (partial_prod[10][23], partial_prod[9][24], partial_prod[8][25], layer1_col33_net17, layer1_col34_net7);
full_adder fa_add1_182 (partial_prod[7][26], partial_prod[6][27], partial_prod[5][28], layer1_col33_net18, layer1_col34_net8);
full_adder fa_add1_183 (partial_prod[4][29], partial_prod[3][30], partial_prod[2][31], layer1_col33_net19, layer1_col34_net9);
full_adder fa_add1_184 (partial_prod[31][3], partial_prod[30][4], partial_prod[29][5], layer1_col34_net10, layer1_col35_net0);
full_adder fa_add1_185 (partial_prod[28][6], partial_prod[27][7], partial_prod[26][8], layer1_col34_net11, layer1_col35_net1);
full_adder fa_add1_186 (partial_prod[25][9], partial_prod[24][10], partial_prod[23][11], layer1_col34_net12, layer1_col35_net2);
full_adder fa_add1_187 (partial_prod[22][12], partial_prod[21][13], partial_prod[20][14], layer1_col34_net13, layer1_col35_net3);
full_adder fa_add1_188 (partial_prod[19][15], partial_prod[18][16], partial_prod[17][17], layer1_col34_net14, layer1_col35_net4);
full_adder fa_add1_189 (partial_prod[16][18], partial_prod[15][19], partial_prod[14][20], layer1_col34_net15, layer1_col35_net5);
full_adder fa_add1_190 (partial_prod[13][21], partial_prod[12][22], partial_prod[11][23], layer1_col34_net16, layer1_col35_net6);
full_adder fa_add1_191 (partial_prod[10][24], partial_prod[9][25], partial_prod[8][26], layer1_col34_net17, layer1_col35_net7);
full_adder fa_add1_192 (partial_prod[7][27], partial_prod[6][28], partial_prod[5][29], layer1_col34_net18, layer1_col35_net8);
full_adder fa_add1_193 (partial_prod[31][4], partial_prod[30][5], partial_prod[29][6], layer1_col35_net9, layer1_col36_net0);
full_adder fa_add1_194 (partial_prod[28][7], partial_prod[27][8], partial_prod[26][9], layer1_col35_net10, layer1_col36_net1);
full_adder fa_add1_195 (partial_prod[25][10], partial_prod[24][11], partial_prod[23][12], layer1_col35_net11, layer1_col36_net2);
full_adder fa_add1_196 (partial_prod[22][13], partial_prod[21][14], partial_prod[20][15], layer1_col35_net12, layer1_col36_net3);
full_adder fa_add1_197 (partial_prod[19][16], partial_prod[18][17], partial_prod[17][18], layer1_col35_net13, layer1_col36_net4);
full_adder fa_add1_198 (partial_prod[16][19], partial_prod[15][20], partial_prod[14][21], layer1_col35_net14, layer1_col36_net5);
full_adder fa_add1_199 (partial_prod[13][22], partial_prod[12][23], partial_prod[11][24], layer1_col35_net15, layer1_col36_net6);
full_adder fa_add1_200 (partial_prod[10][25], partial_prod[9][26], partial_prod[8][27], layer1_col35_net16, layer1_col36_net7);
full_adder fa_add1_201 (partial_prod[7][28], partial_prod[6][29], partial_prod[5][30], layer1_col35_net17, layer1_col36_net8);
full_adder fa_add1_202 (partial_prod[31][5], partial_prod[30][6], partial_prod[29][7], layer1_col36_net9, layer1_col37_net0);
full_adder fa_add1_203 (partial_prod[28][8], partial_prod[27][9], partial_prod[26][10], layer1_col36_net10, layer1_col37_net1);
full_adder fa_add1_204 (partial_prod[25][11], partial_prod[24][12], partial_prod[23][13], layer1_col36_net11, layer1_col37_net2);
full_adder fa_add1_205 (partial_prod[22][14], partial_prod[21][15], partial_prod[20][16], layer1_col36_net12, layer1_col37_net3);
full_adder fa_add1_206 (partial_prod[19][17], partial_prod[18][18], partial_prod[17][19], layer1_col36_net13, layer1_col37_net4);
full_adder fa_add1_207 (partial_prod[16][20], partial_prod[15][21], partial_prod[14][22], layer1_col36_net14, layer1_col37_net5);
full_adder fa_add1_208 (partial_prod[13][23], partial_prod[12][24], partial_prod[11][25], layer1_col36_net15, layer1_col37_net6);
full_adder fa_add1_209 (partial_prod[10][26], partial_prod[9][27], partial_prod[8][28], layer1_col36_net16, layer1_col37_net7);
full_adder fa_add1_210 (partial_prod[7][29], partial_prod[6][30], partial_prod[5][31], layer1_col36_net17, layer1_col37_net8);
full_adder fa_add1_211 (partial_prod[31][6], partial_prod[30][7], partial_prod[29][8], layer1_col37_net9, layer1_col38_net0);
full_adder fa_add1_212 (partial_prod[28][9], partial_prod[27][10], partial_prod[26][11], layer1_col37_net10, layer1_col38_net1);
full_adder fa_add1_213 (partial_prod[25][12], partial_prod[24][13], partial_prod[23][14], layer1_col37_net11, layer1_col38_net2);
full_adder fa_add1_214 (partial_prod[22][15], partial_prod[21][16], partial_prod[20][17], layer1_col37_net12, layer1_col38_net3);
full_adder fa_add1_215 (partial_prod[19][18], partial_prod[18][19], partial_prod[17][20], layer1_col37_net13, layer1_col38_net4);
full_adder fa_add1_216 (partial_prod[16][21], partial_prod[15][22], partial_prod[14][23], layer1_col37_net14, layer1_col38_net5);
full_adder fa_add1_217 (partial_prod[13][24], partial_prod[12][25], partial_prod[11][26], layer1_col37_net15, layer1_col38_net6);
full_adder fa_add1_218 (partial_prod[10][27], partial_prod[9][28], partial_prod[8][29], layer1_col37_net16, layer1_col38_net7);
full_adder fa_add1_219 (partial_prod[31][7], partial_prod[30][8], partial_prod[29][9], layer1_col38_net8, layer1_col39_net0);
full_adder fa_add1_220 (partial_prod[28][10], partial_prod[27][11], partial_prod[26][12], layer1_col38_net9, layer1_col39_net1);
full_adder fa_add1_221 (partial_prod[25][13], partial_prod[24][14], partial_prod[23][15], layer1_col38_net10, layer1_col39_net2);
full_adder fa_add1_222 (partial_prod[22][16], partial_prod[21][17], partial_prod[20][18], layer1_col38_net11, layer1_col39_net3);
full_adder fa_add1_223 (partial_prod[19][19], partial_prod[18][20], partial_prod[17][21], layer1_col38_net12, layer1_col39_net4);
full_adder fa_add1_224 (partial_prod[16][22], partial_prod[15][23], partial_prod[14][24], layer1_col38_net13, layer1_col39_net5);
full_adder fa_add1_225 (partial_prod[13][25], partial_prod[12][26], partial_prod[11][27], layer1_col38_net14, layer1_col39_net6);
full_adder fa_add1_226 (partial_prod[10][28], partial_prod[9][29], partial_prod[8][30], layer1_col38_net15, layer1_col39_net7);
full_adder fa_add1_227 (partial_prod[31][8], partial_prod[30][9], partial_prod[29][10], layer1_col39_net8, layer1_col40_net0);
full_adder fa_add1_228 (partial_prod[28][11], partial_prod[27][12], partial_prod[26][13], layer1_col39_net9, layer1_col40_net1);
full_adder fa_add1_229 (partial_prod[25][14], partial_prod[24][15], partial_prod[23][16], layer1_col39_net10, layer1_col40_net2);
full_adder fa_add1_230 (partial_prod[22][17], partial_prod[21][18], partial_prod[20][19], layer1_col39_net11, layer1_col40_net3);
full_adder fa_add1_231 (partial_prod[19][20], partial_prod[18][21], partial_prod[17][22], layer1_col39_net12, layer1_col40_net4);
full_adder fa_add1_232 (partial_prod[16][23], partial_prod[15][24], partial_prod[14][25], layer1_col39_net13, layer1_col40_net5);
full_adder fa_add1_233 (partial_prod[13][26], partial_prod[12][27], partial_prod[11][28], layer1_col39_net14, layer1_col40_net6);
full_adder fa_add1_234 (partial_prod[10][29], partial_prod[9][30], partial_prod[8][31], layer1_col39_net15, layer1_col40_net7);
full_adder fa_add1_235 (partial_prod[31][9], partial_prod[30][10], partial_prod[29][11], layer1_col40_net8, layer1_col41_net0);
full_adder fa_add1_236 (partial_prod[28][12], partial_prod[27][13], partial_prod[26][14], layer1_col40_net9, layer1_col41_net1);
full_adder fa_add1_237 (partial_prod[25][15], partial_prod[24][16], partial_prod[23][17], layer1_col40_net10, layer1_col41_net2);
full_adder fa_add1_238 (partial_prod[22][18], partial_prod[21][19], partial_prod[20][20], layer1_col40_net11, layer1_col41_net3);
full_adder fa_add1_239 (partial_prod[19][21], partial_prod[18][22], partial_prod[17][23], layer1_col40_net12, layer1_col41_net4);
full_adder fa_add1_240 (partial_prod[16][24], partial_prod[15][25], partial_prod[14][26], layer1_col40_net13, layer1_col41_net5);
full_adder fa_add1_241 (partial_prod[13][27], partial_prod[12][28], partial_prod[11][29], layer1_col40_net14, layer1_col41_net6);
full_adder fa_add1_242 (partial_prod[31][10], partial_prod[30][11], partial_prod[29][12], layer1_col41_net7, layer1_col42_net0);
full_adder fa_add1_243 (partial_prod[28][13], partial_prod[27][14], partial_prod[26][15], layer1_col41_net8, layer1_col42_net1);
full_adder fa_add1_244 (partial_prod[25][16], partial_prod[24][17], partial_prod[23][18], layer1_col41_net9, layer1_col42_net2);
full_adder fa_add1_245 (partial_prod[22][19], partial_prod[21][20], partial_prod[20][21], layer1_col41_net10, layer1_col42_net3);
full_adder fa_add1_246 (partial_prod[19][22], partial_prod[18][23], partial_prod[17][24], layer1_col41_net11, layer1_col42_net4);
full_adder fa_add1_247 (partial_prod[16][25], partial_prod[15][26], partial_prod[14][27], layer1_col41_net12, layer1_col42_net5);
full_adder fa_add1_248 (partial_prod[13][28], partial_prod[12][29], partial_prod[11][30], layer1_col41_net13, layer1_col42_net6);
full_adder fa_add1_249 (partial_prod[31][11], partial_prod[30][12], partial_prod[29][13], layer1_col42_net7, layer1_col43_net0);
full_adder fa_add1_250 (partial_prod[28][14], partial_prod[27][15], partial_prod[26][16], layer1_col42_net8, layer1_col43_net1);
full_adder fa_add1_251 (partial_prod[25][17], partial_prod[24][18], partial_prod[23][19], layer1_col42_net9, layer1_col43_net2);
full_adder fa_add1_252 (partial_prod[22][20], partial_prod[21][21], partial_prod[20][22], layer1_col42_net10, layer1_col43_net3);
full_adder fa_add1_253 (partial_prod[19][23], partial_prod[18][24], partial_prod[17][25], layer1_col42_net11, layer1_col43_net4);
full_adder fa_add1_254 (partial_prod[16][26], partial_prod[15][27], partial_prod[14][28], layer1_col42_net12, layer1_col43_net5);
full_adder fa_add1_255 (partial_prod[13][29], partial_prod[12][30], partial_prod[11][31], layer1_col42_net13, layer1_col43_net6);
full_adder fa_add1_256 (partial_prod[31][12], partial_prod[30][13], partial_prod[29][14], layer1_col43_net7, layer1_col44_net0);
full_adder fa_add1_257 (partial_prod[28][15], partial_prod[27][16], partial_prod[26][17], layer1_col43_net8, layer1_col44_net1);
full_adder fa_add1_258 (partial_prod[25][18], partial_prod[24][19], partial_prod[23][20], layer1_col43_net9, layer1_col44_net2);
full_adder fa_add1_259 (partial_prod[22][21], partial_prod[21][22], partial_prod[20][23], layer1_col43_net10, layer1_col44_net3);
full_adder fa_add1_260 (partial_prod[19][24], partial_prod[18][25], partial_prod[17][26], layer1_col43_net11, layer1_col44_net4);
full_adder fa_add1_261 (partial_prod[16][27], partial_prod[15][28], partial_prod[14][29], layer1_col43_net12, layer1_col44_net5);
full_adder fa_add1_262 (partial_prod[31][13], partial_prod[30][14], partial_prod[29][15], layer1_col44_net6, layer1_col45_net0);
full_adder fa_add1_263 (partial_prod[28][16], partial_prod[27][17], partial_prod[26][18], layer1_col44_net7, layer1_col45_net1);
full_adder fa_add1_264 (partial_prod[25][19], partial_prod[24][20], partial_prod[23][21], layer1_col44_net8, layer1_col45_net2);
full_adder fa_add1_265 (partial_prod[22][22], partial_prod[21][23], partial_prod[20][24], layer1_col44_net9, layer1_col45_net3);
full_adder fa_add1_266 (partial_prod[19][25], partial_prod[18][26], partial_prod[17][27], layer1_col44_net10, layer1_col45_net4);
full_adder fa_add1_267 (partial_prod[16][28], partial_prod[15][29], partial_prod[14][30], layer1_col44_net11, layer1_col45_net5);
full_adder fa_add1_268 (partial_prod[31][14], partial_prod[30][15], partial_prod[29][16], layer1_col45_net6, layer1_col46_net0);
full_adder fa_add1_269 (partial_prod[28][17], partial_prod[27][18], partial_prod[26][19], layer1_col45_net7, layer1_col46_net1);
full_adder fa_add1_270 (partial_prod[25][20], partial_prod[24][21], partial_prod[23][22], layer1_col45_net8, layer1_col46_net2);
full_adder fa_add1_271 (partial_prod[22][23], partial_prod[21][24], partial_prod[20][25], layer1_col45_net9, layer1_col46_net3);
full_adder fa_add1_272 (partial_prod[19][26], partial_prod[18][27], partial_prod[17][28], layer1_col45_net10, layer1_col46_net4);
full_adder fa_add1_273 (partial_prod[16][29], partial_prod[15][30], partial_prod[14][31], layer1_col45_net11, layer1_col46_net5);
full_adder fa_add1_274 (partial_prod[31][15], partial_prod[30][16], partial_prod[29][17], layer1_col46_net6, layer1_col47_net0);
full_adder fa_add1_275 (partial_prod[28][18], partial_prod[27][19], partial_prod[26][20], layer1_col46_net7, layer1_col47_net1);
full_adder fa_add1_276 (partial_prod[25][21], partial_prod[24][22], partial_prod[23][23], layer1_col46_net8, layer1_col47_net2);
full_adder fa_add1_277 (partial_prod[22][24], partial_prod[21][25], partial_prod[20][26], layer1_col46_net9, layer1_col47_net3);
full_adder fa_add1_278 (partial_prod[19][27], partial_prod[18][28], partial_prod[17][29], layer1_col46_net10, layer1_col47_net4);
full_adder fa_add1_279 (partial_prod[31][16], partial_prod[30][17], partial_prod[29][18], layer1_col47_net5, layer1_col48_net0);
full_adder fa_add1_280 (partial_prod[28][19], partial_prod[27][20], partial_prod[26][21], layer1_col47_net6, layer1_col48_net1);
full_adder fa_add1_281 (partial_prod[25][22], partial_prod[24][23], partial_prod[23][24], layer1_col47_net7, layer1_col48_net2);
full_adder fa_add1_282 (partial_prod[22][25], partial_prod[21][26], partial_prod[20][27], layer1_col47_net8, layer1_col48_net3);
full_adder fa_add1_283 (partial_prod[19][28], partial_prod[18][29], partial_prod[17][30], layer1_col47_net9, layer1_col48_net4);
full_adder fa_add1_284 (partial_prod[31][17], partial_prod[30][18], partial_prod[29][19], layer1_col48_net5, layer1_col49_net0);
full_adder fa_add1_285 (partial_prod[28][20], partial_prod[27][21], partial_prod[26][22], layer1_col48_net6, layer1_col49_net1);
full_adder fa_add1_286 (partial_prod[25][23], partial_prod[24][24], partial_prod[23][25], layer1_col48_net7, layer1_col49_net2);
full_adder fa_add1_287 (partial_prod[22][26], partial_prod[21][27], partial_prod[20][28], layer1_col48_net8, layer1_col49_net3);
full_adder fa_add1_288 (partial_prod[19][29], partial_prod[18][30], partial_prod[17][31], layer1_col48_net9, layer1_col49_net4);
full_adder fa_add1_289 (partial_prod[31][18], partial_prod[30][19], partial_prod[29][20], layer1_col49_net5, layer1_col50_net0);
full_adder fa_add1_290 (partial_prod[28][21], partial_prod[27][22], partial_prod[26][23], layer1_col49_net6, layer1_col50_net1);
full_adder fa_add1_291 (partial_prod[25][24], partial_prod[24][25], partial_prod[23][26], layer1_col49_net7, layer1_col50_net2);
full_adder fa_add1_292 (partial_prod[22][27], partial_prod[21][28], partial_prod[20][29], layer1_col49_net8, layer1_col50_net3);
full_adder fa_add1_293 (partial_prod[31][19], partial_prod[30][20], partial_prod[29][21], layer1_col50_net4, layer1_col51_net0);
full_adder fa_add1_294 (partial_prod[28][22], partial_prod[27][23], partial_prod[26][24], layer1_col50_net5, layer1_col51_net1);
full_adder fa_add1_295 (partial_prod[25][25], partial_prod[24][26], partial_prod[23][27], layer1_col50_net6, layer1_col51_net2);
full_adder fa_add1_296 (partial_prod[22][28], partial_prod[21][29], partial_prod[20][30], layer1_col50_net7, layer1_col51_net3);
full_adder fa_add1_297 (partial_prod[31][20], partial_prod[30][21], partial_prod[29][22], layer1_col51_net4, layer1_col52_net0);
full_adder fa_add1_298 (partial_prod[28][23], partial_prod[27][24], partial_prod[26][25], layer1_col51_net5, layer1_col52_net1);
full_adder fa_add1_299 (partial_prod[25][26], partial_prod[24][27], partial_prod[23][28], layer1_col51_net6, layer1_col52_net2);
full_adder fa_add1_300 (partial_prod[22][29], partial_prod[21][30], partial_prod[20][31], layer1_col51_net7, layer1_col52_net3);
full_adder fa_add1_301 (partial_prod[31][21], partial_prod[30][22], partial_prod[29][23], layer1_col52_net4, layer1_col53_net0);
full_adder fa_add1_302 (partial_prod[28][24], partial_prod[27][25], partial_prod[26][26], layer1_col52_net5, layer1_col53_net1);
full_adder fa_add1_303 (partial_prod[25][27], partial_prod[24][28], partial_prod[23][29], layer1_col52_net6, layer1_col53_net2);
full_adder fa_add1_304 (partial_prod[31][22], partial_prod[30][23], partial_prod[29][24], layer1_col53_net3, layer1_col54_net0);
full_adder fa_add1_305 (partial_prod[28][25], partial_prod[27][26], partial_prod[26][27], layer1_col53_net4, layer1_col54_net1);
full_adder fa_add1_306 (partial_prod[25][28], partial_prod[24][29], partial_prod[23][30], layer1_col53_net5, layer1_col54_net2);
full_adder fa_add1_307 (partial_prod[31][23], partial_prod[30][24], partial_prod[29][25], layer1_col54_net3, layer1_col55_net0);
full_adder fa_add1_308 (partial_prod[28][26], partial_prod[27][27], partial_prod[26][28], layer1_col54_net4, layer1_col55_net1);
full_adder fa_add1_309 (partial_prod[25][29], partial_prod[24][30], partial_prod[23][31], layer1_col54_net5, layer1_col55_net2);
full_adder fa_add1_310 (partial_prod[31][24], partial_prod[30][25], partial_prod[29][26], layer1_col55_net3, layer1_col56_net0);
full_adder fa_add1_311 (partial_prod[28][27], partial_prod[27][28], partial_prod[26][29], layer1_col55_net4, layer1_col56_net1);
full_adder fa_add1_312 (partial_prod[31][25], partial_prod[30][26], partial_prod[29][27], layer1_col56_net2, layer1_col57_net0);
full_adder fa_add1_313 (partial_prod[28][28], partial_prod[27][29], partial_prod[26][30], layer1_col56_net3, layer1_col57_net1);
full_adder fa_add1_314 (partial_prod[31][26], partial_prod[30][27], partial_prod[29][28], layer1_col57_net2, layer1_col58_net0);
full_adder fa_add1_315 (partial_prod[28][29], partial_prod[27][30], partial_prod[26][31], layer1_col57_net3, layer1_col58_net1);
full_adder fa_add1_316 (partial_prod[31][27], partial_prod[30][28], partial_prod[29][29], layer1_col58_net2, layer1_col59_net0);
full_adder fa_add1_317 (partial_prod[31][28], partial_prod[30][29], partial_prod[29][30], layer1_col59_net1, layer1_col60_net0);
full_adder fa_add1_318 (partial_prod[31][29], partial_prod[30][30], partial_prod[29][31], layer1_col60_net1, layer1_col61_net0);

//----------- Reduction Layer 2 Start --------------

assign layer2_col0_net0 = layer1_col0_net0;
assign layer2_col1_net0 = layer1_col1_net1;
assign layer2_col1_net1 = layer1_col1_net0;
assign layer2_col2_net0 = layer1_col2_net1;
assign layer2_col2_net1 = layer1_col2_net0;
assign layer2_col3_net1 = layer1_col3_net0;
assign layer2_col4_net2 = layer1_col4_net0;
assign layer2_col6_net2 = layer1_col6_net1;
assign layer2_col6_net3 = layer1_col6_net0;
assign layer2_col8_net3 = layer1_col8_net1;
assign layer2_col8_net4 = layer1_col8_net0;
assign layer2_col9_net3 = layer1_col9_net0;
assign layer2_col10_net4 = layer1_col10_net1;
assign layer2_col10_net5 = layer1_col10_net0;
assign layer2_col11_net4 = layer1_col11_net0;
assign layer2_col13_net6 = layer1_col13_net0;
assign layer2_col15_net6 = layer1_col15_net1;
assign layer2_col15_net7 = layer1_col15_net0;
assign layer2_col17_net7 = layer1_col17_net1;
assign layer2_col17_net8 = layer1_col17_net0;
assign layer2_col18_net7 = layer1_col18_net0;
assign layer2_col19_net8 = layer1_col19_net1;
assign layer2_col19_net9 = layer1_col19_net0;
assign layer2_col20_net8 = layer1_col20_net0;
assign layer2_col22_net10 = layer1_col22_net0;
assign layer2_col24_net10 = layer1_col24_net1;
assign layer2_col24_net11 = layer1_col24_net0;
assign layer2_col26_net11 = layer1_col26_net1;
assign layer2_col26_net12 = layer1_col26_net0;
assign layer2_col27_net11 = layer1_col27_net0;
assign layer2_col28_net12 = layer1_col28_net1;
assign layer2_col28_net13 = layer1_col28_net0;
assign layer2_col29_net12 = layer1_col29_net0;
assign layer2_col31_net14 = layer1_col31_net0;
assign layer2_col33_net13 = layer1_col33_net1;
assign layer2_col33_net14 = layer1_col33_net0;
assign layer2_col35_net13 = layer1_col35_net0;
assign layer2_col37_net12 = layer1_col37_net0;
assign layer2_col38_net11 = layer1_col38_net1;
assign layer2_col38_net12 = layer1_col38_net0;
assign layer2_col39_net10 = layer1_col39_net0;
assign layer2_col40_net10 = layer1_col40_net1;
assign layer2_col40_net11 = layer1_col40_net0;
assign layer2_col42_net9 = layer1_col42_net1;
assign layer2_col42_net10 = layer1_col42_net0;
assign layer2_col44_net9 = layer1_col44_net0;
assign layer2_col46_net8 = layer1_col46_net0;
assign layer2_col47_net7 = layer1_col47_net1;
assign layer2_col47_net8 = layer1_col47_net0;
assign layer2_col48_net6 = layer1_col48_net0;
assign layer2_col49_net6 = layer1_col49_net1;
assign layer2_col49_net7 = layer1_col49_net0;
assign layer2_col51_net5 = layer1_col51_net1;
assign layer2_col51_net6 = layer1_col51_net0;
assign layer2_col53_net5 = layer1_col53_net0;
assign layer2_col55_net4 = layer1_col55_net0;
assign layer2_col56_net3 = layer1_col56_net1;
assign layer2_col56_net4 = layer1_col56_net0;
assign layer2_col57_net2 = layer1_col57_net0;
assign layer2_col58_net2 = layer1_col58_net1;
assign layer2_col58_net3 = layer1_col58_net0;
assign layer2_col60_net1 = layer1_col60_net1;
assign layer2_col60_net2 = layer1_col60_net0;
assign layer2_col62_net1 = layer1_col62_net0;
half_adder ha_add2_0 (layer1_col3_net2, layer1_col3_net1, layer2_col3_net0, layer2_col4_net0);
full_adder fa_add2_0 (layer1_col4_net3, layer1_col4_net2, layer1_col4_net1, layer2_col4_net1, layer2_col5_net0);
full_adder fa_add2_1 (layer1_col5_net2, layer1_col5_net1, layer1_col5_net0, layer2_col5_net1, layer2_col6_net0);
full_adder fa_add2_2 (layer1_col6_net4, layer1_col6_net3, layer1_col6_net2, layer2_col6_net1, layer2_col7_net0);
full_adder fa_add2_3 (layer1_col7_net5, layer1_col7_net4, layer1_col7_net3, layer2_col7_net1, layer2_col8_net0);
full_adder fa_add2_4 (layer1_col7_net2, layer1_col7_net1, layer1_col7_net0, layer2_col7_net2, layer2_col8_net1);
full_adder fa_add2_5 (layer1_col8_net4, layer1_col8_net3, layer1_col8_net2, layer2_col8_net2, layer2_col9_net0);
full_adder fa_add2_6 (layer1_col9_net6, layer1_col9_net5, layer1_col9_net4, layer2_col9_net1, layer2_col10_net0);
full_adder fa_add2_7 (layer1_col9_net3, layer1_col9_net2, layer1_col9_net1, layer2_col9_net2, layer2_col10_net1);
full_adder fa_add2_8 (layer1_col10_net7, layer1_col10_net6, layer1_col10_net5, layer2_col10_net2, layer2_col11_net0);
full_adder fa_add2_9 (layer1_col10_net4, layer1_col10_net3, layer1_col10_net2, layer2_col10_net3, layer2_col11_net1);
full_adder fa_add2_10 (layer1_col11_net6, layer1_col11_net5, layer1_col11_net4, layer2_col11_net2, layer2_col12_net0);
full_adder fa_add2_11 (layer1_col11_net3, layer1_col11_net2, layer1_col11_net1, layer2_col11_net3, layer2_col12_net1);
full_adder fa_add2_12 (layer1_col12_net8, layer1_col12_net7, layer1_col12_net6, layer2_col12_net2, layer2_col13_net0);
full_adder fa_add2_13 (layer1_col12_net5, layer1_col12_net4, layer1_col12_net3, layer2_col12_net3, layer2_col13_net1);
full_adder fa_add2_14 (layer1_col12_net2, layer1_col12_net1, layer1_col12_net0, layer2_col12_net4, layer2_col13_net2);
full_adder fa_add2_15 (layer1_col13_net9, layer1_col13_net8, layer1_col13_net7, layer2_col13_net3, layer2_col14_net0);
full_adder fa_add2_16 (layer1_col13_net6, layer1_col13_net5, layer1_col13_net4, layer2_col13_net4, layer2_col14_net1);
full_adder fa_add2_17 (layer1_col13_net3, layer1_col13_net2, layer1_col13_net1, layer2_col13_net5, layer2_col14_net2);
full_adder fa_add2_18 (layer1_col14_net8, layer1_col14_net7, layer1_col14_net6, layer2_col14_net3, layer2_col15_net0);
full_adder fa_add2_19 (layer1_col14_net5, layer1_col14_net4, layer1_col14_net3, layer2_col14_net4, layer2_col15_net1);
full_adder fa_add2_20 (layer1_col14_net2, layer1_col14_net1, layer1_col14_net0, layer2_col14_net5, layer2_col15_net2);
full_adder fa_add2_21 (layer1_col15_net10, layer1_col15_net9, layer1_col15_net8, layer2_col15_net3, layer2_col16_net0);
full_adder fa_add2_22 (layer1_col15_net7, layer1_col15_net6, layer1_col15_net5, layer2_col15_net4, layer2_col16_net1);
full_adder fa_add2_23 (layer1_col15_net4, layer1_col15_net3, layer1_col15_net2, layer2_col15_net5, layer2_col16_net2);
full_adder fa_add2_24 (layer1_col16_net11, layer1_col16_net10, layer1_col16_net9, layer2_col16_net3, layer2_col17_net0);
full_adder fa_add2_25 (layer1_col16_net8, layer1_col16_net7, layer1_col16_net6, layer2_col16_net4, layer2_col17_net1);
full_adder fa_add2_26 (layer1_col16_net5, layer1_col16_net4, layer1_col16_net3, layer2_col16_net5, layer2_col17_net2);
full_adder fa_add2_27 (layer1_col16_net2, layer1_col16_net1, layer1_col16_net0, layer2_col16_net6, layer2_col17_net3);
full_adder fa_add2_28 (layer1_col17_net10, layer1_col17_net9, layer1_col17_net8, layer2_col17_net4, layer2_col18_net0);
full_adder fa_add2_29 (layer1_col17_net7, layer1_col17_net6, layer1_col17_net5, layer2_col17_net5, layer2_col18_net1);
full_adder fa_add2_30 (layer1_col17_net4, layer1_col17_net3, layer1_col17_net2, layer2_col17_net6, layer2_col18_net2);
full_adder fa_add2_31 (layer1_col18_net12, layer1_col18_net11, layer1_col18_net10, layer2_col18_net3, layer2_col19_net0);
full_adder fa_add2_32 (layer1_col18_net9, layer1_col18_net8, layer1_col18_net7, layer2_col18_net4, layer2_col19_net1);
full_adder fa_add2_33 (layer1_col18_net6, layer1_col18_net5, layer1_col18_net4, layer2_col18_net5, layer2_col19_net2);
full_adder fa_add2_34 (layer1_col18_net3, layer1_col18_net2, layer1_col18_net1, layer2_col18_net6, layer2_col19_net3);
full_adder fa_add2_35 (layer1_col19_net13, layer1_col19_net12, layer1_col19_net11, layer2_col19_net4, layer2_col20_net0);
full_adder fa_add2_36 (layer1_col19_net10, layer1_col19_net9, layer1_col19_net8, layer2_col19_net5, layer2_col20_net1);
full_adder fa_add2_37 (layer1_col19_net7, layer1_col19_net6, layer1_col19_net5, layer2_col19_net6, layer2_col20_net2);
full_adder fa_add2_38 (layer1_col19_net4, layer1_col19_net3, layer1_col19_net2, layer2_col19_net7, layer2_col20_net3);
full_adder fa_add2_39 (layer1_col20_net12, layer1_col20_net11, layer1_col20_net10, layer2_col20_net4, layer2_col21_net0);
full_adder fa_add2_40 (layer1_col20_net9, layer1_col20_net8, layer1_col20_net7, layer2_col20_net5, layer2_col21_net1);
full_adder fa_add2_41 (layer1_col20_net6, layer1_col20_net5, layer1_col20_net4, layer2_col20_net6, layer2_col21_net2);
full_adder fa_add2_42 (layer1_col20_net3, layer1_col20_net2, layer1_col20_net1, layer2_col20_net7, layer2_col21_net3);
full_adder fa_add2_43 (layer1_col21_net14, layer1_col21_net13, layer1_col21_net12, layer2_col21_net4, layer2_col22_net0);
full_adder fa_add2_44 (layer1_col21_net11, layer1_col21_net10, layer1_col21_net9, layer2_col21_net5, layer2_col22_net1);
full_adder fa_add2_45 (layer1_col21_net8, layer1_col21_net7, layer1_col21_net6, layer2_col21_net6, layer2_col22_net2);
full_adder fa_add2_46 (layer1_col21_net5, layer1_col21_net4, layer1_col21_net3, layer2_col21_net7, layer2_col22_net3);
full_adder fa_add2_47 (layer1_col21_net2, layer1_col21_net1, layer1_col21_net0, layer2_col21_net8, layer2_col22_net4);
full_adder fa_add2_48 (layer1_col22_net15, layer1_col22_net14, layer1_col22_net13, layer2_col22_net5, layer2_col23_net0);
full_adder fa_add2_49 (layer1_col22_net12, layer1_col22_net11, layer1_col22_net10, layer2_col22_net6, layer2_col23_net1);
full_adder fa_add2_50 (layer1_col22_net9, layer1_col22_net8, layer1_col22_net7, layer2_col22_net7, layer2_col23_net2);
full_adder fa_add2_51 (layer1_col22_net6, layer1_col22_net5, layer1_col22_net4, layer2_col22_net8, layer2_col23_net3);
full_adder fa_add2_52 (layer1_col22_net3, layer1_col22_net2, layer1_col22_net1, layer2_col22_net9, layer2_col23_net4);
full_adder fa_add2_53 (layer1_col23_net14, layer1_col23_net13, layer1_col23_net12, layer2_col23_net5, layer2_col24_net0);
full_adder fa_add2_54 (layer1_col23_net11, layer1_col23_net10, layer1_col23_net9, layer2_col23_net6, layer2_col24_net1);
full_adder fa_add2_55 (layer1_col23_net8, layer1_col23_net7, layer1_col23_net6, layer2_col23_net7, layer2_col24_net2);
full_adder fa_add2_56 (layer1_col23_net5, layer1_col23_net4, layer1_col23_net3, layer2_col23_net8, layer2_col24_net3);
full_adder fa_add2_57 (layer1_col23_net2, layer1_col23_net1, layer1_col23_net0, layer2_col23_net9, layer2_col24_net4);
full_adder fa_add2_58 (layer1_col24_net16, layer1_col24_net15, layer1_col24_net14, layer2_col24_net5, layer2_col25_net0);
full_adder fa_add2_59 (layer1_col24_net13, layer1_col24_net12, layer1_col24_net11, layer2_col24_net6, layer2_col25_net1);
full_adder fa_add2_60 (layer1_col24_net10, layer1_col24_net9, layer1_col24_net8, layer2_col24_net7, layer2_col25_net2);
full_adder fa_add2_61 (layer1_col24_net7, layer1_col24_net6, layer1_col24_net5, layer2_col24_net8, layer2_col25_net3);
full_adder fa_add2_62 (layer1_col24_net4, layer1_col24_net3, layer1_col24_net2, layer2_col24_net9, layer2_col25_net4);
full_adder fa_add2_63 (layer1_col25_net17, layer1_col25_net16, layer1_col25_net15, layer2_col25_net5, layer2_col26_net0);
full_adder fa_add2_64 (layer1_col25_net14, layer1_col25_net13, layer1_col25_net12, layer2_col25_net6, layer2_col26_net1);
full_adder fa_add2_65 (layer1_col25_net11, layer1_col25_net10, layer1_col25_net9, layer2_col25_net7, layer2_col26_net2);
full_adder fa_add2_66 (layer1_col25_net8, layer1_col25_net7, layer1_col25_net6, layer2_col25_net8, layer2_col26_net3);
full_adder fa_add2_67 (layer1_col25_net5, layer1_col25_net4, layer1_col25_net3, layer2_col25_net9, layer2_col26_net4);
full_adder fa_add2_68 (layer1_col25_net2, layer1_col25_net1, layer1_col25_net0, layer2_col25_net10, layer2_col26_net5);
full_adder fa_add2_69 (layer1_col26_net16, layer1_col26_net15, layer1_col26_net14, layer2_col26_net6, layer2_col27_net0);
full_adder fa_add2_70 (layer1_col26_net13, layer1_col26_net12, layer1_col26_net11, layer2_col26_net7, layer2_col27_net1);
full_adder fa_add2_71 (layer1_col26_net10, layer1_col26_net9, layer1_col26_net8, layer2_col26_net8, layer2_col27_net2);
full_adder fa_add2_72 (layer1_col26_net7, layer1_col26_net6, layer1_col26_net5, layer2_col26_net9, layer2_col27_net3);
full_adder fa_add2_73 (layer1_col26_net4, layer1_col26_net3, layer1_col26_net2, layer2_col26_net10, layer2_col27_net4);
full_adder fa_add2_74 (layer1_col27_net18, layer1_col27_net17, layer1_col27_net16, layer2_col27_net5, layer2_col28_net0);
full_adder fa_add2_75 (layer1_col27_net15, layer1_col27_net14, layer1_col27_net13, layer2_col27_net6, layer2_col28_net1);
full_adder fa_add2_76 (layer1_col27_net12, layer1_col27_net11, layer1_col27_net10, layer2_col27_net7, layer2_col28_net2);
full_adder fa_add2_77 (layer1_col27_net9, layer1_col27_net8, layer1_col27_net7, layer2_col27_net8, layer2_col28_net3);
full_adder fa_add2_78 (layer1_col27_net6, layer1_col27_net5, layer1_col27_net4, layer2_col27_net9, layer2_col28_net4);
full_adder fa_add2_79 (layer1_col27_net3, layer1_col27_net2, layer1_col27_net1, layer2_col27_net10, layer2_col28_net5);
full_adder fa_add2_80 (layer1_col28_net19, layer1_col28_net18, layer1_col28_net17, layer2_col28_net6, layer2_col29_net0);
full_adder fa_add2_81 (layer1_col28_net16, layer1_col28_net15, layer1_col28_net14, layer2_col28_net7, layer2_col29_net1);
full_adder fa_add2_82 (layer1_col28_net13, layer1_col28_net12, layer1_col28_net11, layer2_col28_net8, layer2_col29_net2);
full_adder fa_add2_83 (layer1_col28_net10, layer1_col28_net9, layer1_col28_net8, layer2_col28_net9, layer2_col29_net3);
full_adder fa_add2_84 (layer1_col28_net7, layer1_col28_net6, layer1_col28_net5, layer2_col28_net10, layer2_col29_net4);
full_adder fa_add2_85 (layer1_col28_net4, layer1_col28_net3, layer1_col28_net2, layer2_col28_net11, layer2_col29_net5);
full_adder fa_add2_86 (layer1_col29_net18, layer1_col29_net17, layer1_col29_net16, layer2_col29_net6, layer2_col30_net0);
full_adder fa_add2_87 (layer1_col29_net15, layer1_col29_net14, layer1_col29_net13, layer2_col29_net7, layer2_col30_net1);
full_adder fa_add2_88 (layer1_col29_net12, layer1_col29_net11, layer1_col29_net10, layer2_col29_net8, layer2_col30_net2);
full_adder fa_add2_89 (layer1_col29_net9, layer1_col29_net8, layer1_col29_net7, layer2_col29_net9, layer2_col30_net3);
full_adder fa_add2_90 (layer1_col29_net6, layer1_col29_net5, layer1_col29_net4, layer2_col29_net10, layer2_col30_net4);
full_adder fa_add2_91 (layer1_col29_net3, layer1_col29_net2, layer1_col29_net1, layer2_col29_net11, layer2_col30_net5);
full_adder fa_add2_92 (layer1_col30_net20, layer1_col30_net19, layer1_col30_net18, layer2_col30_net6, layer2_col31_net0);
full_adder fa_add2_93 (layer1_col30_net17, layer1_col30_net16, layer1_col30_net15, layer2_col30_net7, layer2_col31_net1);
full_adder fa_add2_94 (layer1_col30_net14, layer1_col30_net13, layer1_col30_net12, layer2_col30_net8, layer2_col31_net2);
full_adder fa_add2_95 (layer1_col30_net11, layer1_col30_net10, layer1_col30_net9, layer2_col30_net9, layer2_col31_net3);
full_adder fa_add2_96 (layer1_col30_net8, layer1_col30_net7, layer1_col30_net6, layer2_col30_net10, layer2_col31_net4);
full_adder fa_add2_97 (layer1_col30_net5, layer1_col30_net4, layer1_col30_net3, layer2_col30_net11, layer2_col31_net5);
full_adder fa_add2_98 (layer1_col30_net2, layer1_col30_net1, layer1_col30_net0, layer2_col30_net12, layer2_col31_net6);
full_adder fa_add2_99 (layer1_col31_net21, layer1_col31_net20, layer1_col31_net19, layer2_col31_net7, layer2_col32_net0);
full_adder fa_add2_100 (layer1_col31_net18, layer1_col31_net17, layer1_col31_net16, layer2_col31_net8, layer2_col32_net1);
full_adder fa_add2_101 (layer1_col31_net15, layer1_col31_net14, layer1_col31_net13, layer2_col31_net9, layer2_col32_net2);
full_adder fa_add2_102 (layer1_col31_net12, layer1_col31_net11, layer1_col31_net10, layer2_col31_net10, layer2_col32_net3);
full_adder fa_add2_103 (layer1_col31_net9, layer1_col31_net8, layer1_col31_net7, layer2_col31_net11, layer2_col32_net4);
full_adder fa_add2_104 (layer1_col31_net6, layer1_col31_net5, layer1_col31_net4, layer2_col31_net12, layer2_col32_net5);
full_adder fa_add2_105 (layer1_col31_net3, layer1_col31_net2, layer1_col31_net1, layer2_col31_net13, layer2_col32_net6);
full_adder fa_add2_106 (layer1_col32_net20, layer1_col32_net19, layer1_col32_net18, layer2_col32_net7, layer2_col33_net0);
full_adder fa_add2_107 (layer1_col32_net17, layer1_col32_net16, layer1_col32_net15, layer2_col32_net8, layer2_col33_net1);
full_adder fa_add2_108 (layer1_col32_net14, layer1_col32_net13, layer1_col32_net12, layer2_col32_net9, layer2_col33_net2);
full_adder fa_add2_109 (layer1_col32_net11, layer1_col32_net10, layer1_col32_net9, layer2_col32_net10, layer2_col33_net3);
full_adder fa_add2_110 (layer1_col32_net8, layer1_col32_net7, layer1_col32_net6, layer2_col32_net11, layer2_col33_net4);
full_adder fa_add2_111 (layer1_col32_net5, layer1_col32_net4, layer1_col32_net3, layer2_col32_net12, layer2_col33_net5);
full_adder fa_add2_112 (layer1_col32_net2, layer1_col32_net1, layer1_col32_net0, layer2_col32_net13, layer2_col33_net6);
full_adder fa_add2_113 (layer1_col33_net19, layer1_col33_net18, layer1_col33_net17, layer2_col33_net7, layer2_col34_net0);
full_adder fa_add2_114 (layer1_col33_net16, layer1_col33_net15, layer1_col33_net14, layer2_col33_net8, layer2_col34_net1);
full_adder fa_add2_115 (layer1_col33_net13, layer1_col33_net12, layer1_col33_net11, layer2_col33_net9, layer2_col34_net2);
full_adder fa_add2_116 (layer1_col33_net10, layer1_col33_net9, layer1_col33_net8, layer2_col33_net10, layer2_col34_net3);
full_adder fa_add2_117 (layer1_col33_net7, layer1_col33_net6, layer1_col33_net5, layer2_col33_net11, layer2_col34_net4);
full_adder fa_add2_118 (layer1_col33_net4, layer1_col33_net3, layer1_col33_net2, layer2_col33_net12, layer2_col34_net5);
full_adder fa_add2_119 (layer1_col34_net20, layer1_col34_net19, layer1_col34_net18, layer2_col34_net6, layer2_col35_net0);
full_adder fa_add2_120 (layer1_col34_net17, layer1_col34_net16, layer1_col34_net15, layer2_col34_net7, layer2_col35_net1);
full_adder fa_add2_121 (layer1_col34_net14, layer1_col34_net13, layer1_col34_net12, layer2_col34_net8, layer2_col35_net2);
full_adder fa_add2_122 (layer1_col34_net11, layer1_col34_net10, layer1_col34_net9, layer2_col34_net9, layer2_col35_net3);
full_adder fa_add2_123 (layer1_col34_net8, layer1_col34_net7, layer1_col34_net6, layer2_col34_net10, layer2_col35_net4);
full_adder fa_add2_124 (layer1_col34_net5, layer1_col34_net4, layer1_col34_net3, layer2_col34_net11, layer2_col35_net5);
full_adder fa_add2_125 (layer1_col34_net2, layer1_col34_net1, layer1_col34_net0, layer2_col34_net12, layer2_col35_net6);
full_adder fa_add2_126 (layer1_col35_net18, layer1_col35_net17, layer1_col35_net16, layer2_col35_net7, layer2_col36_net0);
full_adder fa_add2_127 (layer1_col35_net15, layer1_col35_net14, layer1_col35_net13, layer2_col35_net8, layer2_col36_net1);
full_adder fa_add2_128 (layer1_col35_net12, layer1_col35_net11, layer1_col35_net10, layer2_col35_net9, layer2_col36_net2);
full_adder fa_add2_129 (layer1_col35_net9, layer1_col35_net8, layer1_col35_net7, layer2_col35_net10, layer2_col36_net3);
full_adder fa_add2_130 (layer1_col35_net6, layer1_col35_net5, layer1_col35_net4, layer2_col35_net11, layer2_col36_net4);
full_adder fa_add2_131 (layer1_col35_net3, layer1_col35_net2, layer1_col35_net1, layer2_col35_net12, layer2_col36_net5);
full_adder fa_add2_132 (layer1_col36_net17, layer1_col36_net16, layer1_col36_net15, layer2_col36_net6, layer2_col37_net0);
full_adder fa_add2_133 (layer1_col36_net14, layer1_col36_net13, layer1_col36_net12, layer2_col36_net7, layer2_col37_net1);
full_adder fa_add2_134 (layer1_col36_net11, layer1_col36_net10, layer1_col36_net9, layer2_col36_net8, layer2_col37_net2);
full_adder fa_add2_135 (layer1_col36_net8, layer1_col36_net7, layer1_col36_net6, layer2_col36_net9, layer2_col37_net3);
full_adder fa_add2_136 (layer1_col36_net5, layer1_col36_net4, layer1_col36_net3, layer2_col36_net10, layer2_col37_net4);
full_adder fa_add2_137 (layer1_col36_net2, layer1_col36_net1, layer1_col36_net0, layer2_col36_net11, layer2_col37_net5);
full_adder fa_add2_138 (layer1_col37_net18, layer1_col37_net17, layer1_col37_net16, layer2_col37_net6, layer2_col38_net0);
full_adder fa_add2_139 (layer1_col37_net15, layer1_col37_net14, layer1_col37_net13, layer2_col37_net7, layer2_col38_net1);
full_adder fa_add2_140 (layer1_col37_net12, layer1_col37_net11, layer1_col37_net10, layer2_col37_net8, layer2_col38_net2);
full_adder fa_add2_141 (layer1_col37_net9, layer1_col37_net8, layer1_col37_net7, layer2_col37_net9, layer2_col38_net3);
full_adder fa_add2_142 (layer1_col37_net6, layer1_col37_net5, layer1_col37_net4, layer2_col37_net10, layer2_col38_net4);
full_adder fa_add2_143 (layer1_col37_net3, layer1_col37_net2, layer1_col37_net1, layer2_col37_net11, layer2_col38_net5);
full_adder fa_add2_144 (layer1_col38_net16, layer1_col38_net15, layer1_col38_net14, layer2_col38_net6, layer2_col39_net0);
full_adder fa_add2_145 (layer1_col38_net13, layer1_col38_net12, layer1_col38_net11, layer2_col38_net7, layer2_col39_net1);
full_adder fa_add2_146 (layer1_col38_net10, layer1_col38_net9, layer1_col38_net8, layer2_col38_net8, layer2_col39_net2);
full_adder fa_add2_147 (layer1_col38_net7, layer1_col38_net6, layer1_col38_net5, layer2_col38_net9, layer2_col39_net3);
full_adder fa_add2_148 (layer1_col38_net4, layer1_col38_net3, layer1_col38_net2, layer2_col38_net10, layer2_col39_net4);
full_adder fa_add2_149 (layer1_col39_net15, layer1_col39_net14, layer1_col39_net13, layer2_col39_net5, layer2_col40_net0);
full_adder fa_add2_150 (layer1_col39_net12, layer1_col39_net11, layer1_col39_net10, layer2_col39_net6, layer2_col40_net1);
full_adder fa_add2_151 (layer1_col39_net9, layer1_col39_net8, layer1_col39_net7, layer2_col39_net7, layer2_col40_net2);
full_adder fa_add2_152 (layer1_col39_net6, layer1_col39_net5, layer1_col39_net4, layer2_col39_net8, layer2_col40_net3);
full_adder fa_add2_153 (layer1_col39_net3, layer1_col39_net2, layer1_col39_net1, layer2_col39_net9, layer2_col40_net4);
full_adder fa_add2_154 (layer1_col40_net16, layer1_col40_net15, layer1_col40_net14, layer2_col40_net5, layer2_col41_net0);
full_adder fa_add2_155 (layer1_col40_net13, layer1_col40_net12, layer1_col40_net11, layer2_col40_net6, layer2_col41_net1);
full_adder fa_add2_156 (layer1_col40_net10, layer1_col40_net9, layer1_col40_net8, layer2_col40_net7, layer2_col41_net2);
full_adder fa_add2_157 (layer1_col40_net7, layer1_col40_net6, layer1_col40_net5, layer2_col40_net8, layer2_col41_net3);
full_adder fa_add2_158 (layer1_col40_net4, layer1_col40_net3, layer1_col40_net2, layer2_col40_net9, layer2_col41_net4);
full_adder fa_add2_159 (layer1_col41_net14, layer1_col41_net13, layer1_col41_net12, layer2_col41_net5, layer2_col42_net0);
full_adder fa_add2_160 (layer1_col41_net11, layer1_col41_net10, layer1_col41_net9, layer2_col41_net6, layer2_col42_net1);
full_adder fa_add2_161 (layer1_col41_net8, layer1_col41_net7, layer1_col41_net6, layer2_col41_net7, layer2_col42_net2);
full_adder fa_add2_162 (layer1_col41_net5, layer1_col41_net4, layer1_col41_net3, layer2_col41_net8, layer2_col42_net3);
full_adder fa_add2_163 (layer1_col41_net2, layer1_col41_net1, layer1_col41_net0, layer2_col41_net9, layer2_col42_net4);
full_adder fa_add2_164 (layer1_col42_net13, layer1_col42_net12, layer1_col42_net11, layer2_col42_net5, layer2_col43_net0);
full_adder fa_add2_165 (layer1_col42_net10, layer1_col42_net9, layer1_col42_net8, layer2_col42_net6, layer2_col43_net1);
full_adder fa_add2_166 (layer1_col42_net7, layer1_col42_net6, layer1_col42_net5, layer2_col42_net7, layer2_col43_net2);
full_adder fa_add2_167 (layer1_col42_net4, layer1_col42_net3, layer1_col42_net2, layer2_col42_net8, layer2_col43_net3);
full_adder fa_add2_168 (layer1_col43_net14, layer1_col43_net13, layer1_col43_net12, layer2_col43_net4, layer2_col44_net0);
full_adder fa_add2_169 (layer1_col43_net11, layer1_col43_net10, layer1_col43_net9, layer2_col43_net5, layer2_col44_net1);
full_adder fa_add2_170 (layer1_col43_net8, layer1_col43_net7, layer1_col43_net6, layer2_col43_net6, layer2_col44_net2);
full_adder fa_add2_171 (layer1_col43_net5, layer1_col43_net4, layer1_col43_net3, layer2_col43_net7, layer2_col44_net3);
full_adder fa_add2_172 (layer1_col43_net2, layer1_col43_net1, layer1_col43_net0, layer2_col43_net8, layer2_col44_net4);
full_adder fa_add2_173 (layer1_col44_net12, layer1_col44_net11, layer1_col44_net10, layer2_col44_net5, layer2_col45_net0);
full_adder fa_add2_174 (layer1_col44_net9, layer1_col44_net8, layer1_col44_net7, layer2_col44_net6, layer2_col45_net1);
full_adder fa_add2_175 (layer1_col44_net6, layer1_col44_net5, layer1_col44_net4, layer2_col44_net7, layer2_col45_net2);
full_adder fa_add2_176 (layer1_col44_net3, layer1_col44_net2, layer1_col44_net1, layer2_col44_net8, layer2_col45_net3);
full_adder fa_add2_177 (layer1_col45_net11, layer1_col45_net10, layer1_col45_net9, layer2_col45_net4, layer2_col46_net0);
full_adder fa_add2_178 (layer1_col45_net8, layer1_col45_net7, layer1_col45_net6, layer2_col45_net5, layer2_col46_net1);
full_adder fa_add2_179 (layer1_col45_net5, layer1_col45_net4, layer1_col45_net3, layer2_col45_net6, layer2_col46_net2);
full_adder fa_add2_180 (layer1_col45_net2, layer1_col45_net1, layer1_col45_net0, layer2_col45_net7, layer2_col46_net3);
full_adder fa_add2_181 (layer1_col46_net12, layer1_col46_net11, layer1_col46_net10, layer2_col46_net4, layer2_col47_net0);
full_adder fa_add2_182 (layer1_col46_net9, layer1_col46_net8, layer1_col46_net7, layer2_col46_net5, layer2_col47_net1);
full_adder fa_add2_183 (layer1_col46_net6, layer1_col46_net5, layer1_col46_net4, layer2_col46_net6, layer2_col47_net2);
full_adder fa_add2_184 (layer1_col46_net3, layer1_col46_net2, layer1_col46_net1, layer2_col46_net7, layer2_col47_net3);
full_adder fa_add2_185 (layer1_col47_net10, layer1_col47_net9, layer1_col47_net8, layer2_col47_net4, layer2_col48_net0);
full_adder fa_add2_186 (layer1_col47_net7, layer1_col47_net6, layer1_col47_net5, layer2_col47_net5, layer2_col48_net1);
full_adder fa_add2_187 (layer1_col47_net4, layer1_col47_net3, layer1_col47_net2, layer2_col47_net6, layer2_col48_net2);
full_adder fa_add2_188 (layer1_col48_net9, layer1_col48_net8, layer1_col48_net7, layer2_col48_net3, layer2_col49_net0);
full_adder fa_add2_189 (layer1_col48_net6, layer1_col48_net5, layer1_col48_net4, layer2_col48_net4, layer2_col49_net1);
full_adder fa_add2_190 (layer1_col48_net3, layer1_col48_net2, layer1_col48_net1, layer2_col48_net5, layer2_col49_net2);
full_adder fa_add2_191 (layer1_col49_net10, layer1_col49_net9, layer1_col49_net8, layer2_col49_net3, layer2_col50_net0);
full_adder fa_add2_192 (layer1_col49_net7, layer1_col49_net6, layer1_col49_net5, layer2_col49_net4, layer2_col50_net1);
full_adder fa_add2_193 (layer1_col49_net4, layer1_col49_net3, layer1_col49_net2, layer2_col49_net5, layer2_col50_net2);
full_adder fa_add2_194 (layer1_col50_net8, layer1_col50_net7, layer1_col50_net6, layer2_col50_net3, layer2_col51_net0);
full_adder fa_add2_195 (layer1_col50_net5, layer1_col50_net4, layer1_col50_net3, layer2_col50_net4, layer2_col51_net1);
full_adder fa_add2_196 (layer1_col50_net2, layer1_col50_net1, layer1_col50_net0, layer2_col50_net5, layer2_col51_net2);
full_adder fa_add2_197 (layer1_col51_net7, layer1_col51_net6, layer1_col51_net5, layer2_col51_net3, layer2_col52_net0);
full_adder fa_add2_198 (layer1_col51_net4, layer1_col51_net3, layer1_col51_net2, layer2_col51_net4, layer2_col52_net1);
full_adder fa_add2_199 (layer1_col52_net8, layer1_col52_net7, layer1_col52_net6, layer2_col52_net2, layer2_col53_net0);
full_adder fa_add2_200 (layer1_col52_net5, layer1_col52_net4, layer1_col52_net3, layer2_col52_net3, layer2_col53_net1);
full_adder fa_add2_201 (layer1_col52_net2, layer1_col52_net1, layer1_col52_net0, layer2_col52_net4, layer2_col53_net2);
full_adder fa_add2_202 (layer1_col53_net6, layer1_col53_net5, layer1_col53_net4, layer2_col53_net3, layer2_col54_net0);
full_adder fa_add2_203 (layer1_col53_net3, layer1_col53_net2, layer1_col53_net1, layer2_col53_net4, layer2_col54_net1);
full_adder fa_add2_204 (layer1_col54_net5, layer1_col54_net4, layer1_col54_net3, layer2_col54_net2, layer2_col55_net0);
full_adder fa_add2_205 (layer1_col54_net2, layer1_col54_net1, layer1_col54_net0, layer2_col54_net3, layer2_col55_net1);
full_adder fa_add2_206 (layer1_col55_net6, layer1_col55_net5, layer1_col55_net4, layer2_col55_net2, layer2_col56_net0);
full_adder fa_add2_207 (layer1_col55_net3, layer1_col55_net2, layer1_col55_net1, layer2_col55_net3, layer2_col56_net1);
full_adder fa_add2_208 (layer1_col56_net4, layer1_col56_net3, layer1_col56_net2, layer2_col56_net2, layer2_col57_net0);
full_adder fa_add2_209 (layer1_col57_net3, layer1_col57_net2, layer1_col57_net1, layer2_col57_net1, layer2_col58_net0);
full_adder fa_add2_210 (layer1_col58_net4, layer1_col58_net3, layer1_col58_net2, layer2_col58_net1, layer2_col59_net0);
full_adder fa_add2_211 (layer1_col59_net2, layer1_col59_net1, layer1_col59_net0, layer2_col59_net1, layer2_col60_net0);
full_adder fa_add2_212 (layer1_col61_net2, layer1_col61_net1, layer1_col61_net0, layer2_col61_net0, layer2_col62_net0);

//----------- Reduction Layer 3 Start --------------

assign layer3_col0_net0 = layer2_col0_net0;
assign layer3_col1_net0 = layer2_col1_net1;
assign layer3_col1_net1 = layer2_col1_net0;
assign layer3_col2_net0 = layer2_col2_net1;
assign layer3_col2_net1 = layer2_col2_net0;
assign layer3_col3_net0 = layer2_col3_net1;
assign layer3_col3_net1 = layer2_col3_net0;
assign layer3_col4_net1 = layer2_col4_net0;
assign layer3_col5_net1 = layer2_col5_net1;
assign layer3_col5_net2 = layer2_col5_net0;
assign layer3_col6_net1 = layer2_col6_net0;
assign layer3_col8_net2 = layer2_col8_net1;
assign layer3_col8_net3 = layer2_col8_net0;
assign layer3_col9_net2 = layer2_col9_net0;
assign layer3_col11_net3 = layer2_col11_net1;
assign layer3_col11_net4 = layer2_col11_net0;
assign layer3_col12_net2 = layer2_col12_net1;
assign layer3_col12_net3 = layer2_col12_net0;
assign layer3_col13_net3 = layer2_col13_net0;
assign layer3_col15_net4 = layer2_col15_net1;
assign layer3_col15_net5 = layer2_col15_net0;
assign layer3_col16_net4 = layer2_col16_net0;
assign layer3_col18_net5 = layer2_col18_net1;
assign layer3_col18_net6 = layer2_col18_net0;
assign layer3_col19_net5 = layer2_col19_net0;
assign layer3_col22_net6 = layer2_col22_net1;
assign layer3_col22_net7 = layer2_col22_net0;
assign layer3_col23_net6 = layer2_col23_net0;
assign layer3_col25_net7 = layer2_col25_net1;
assign layer3_col25_net8 = layer2_col25_net0;
assign layer3_col26_net7 = layer2_col26_net0;
assign layer3_col28_net8 = layer2_col28_net1;
assign layer3_col28_net9 = layer2_col28_net0;
assign layer3_col29_net8 = layer2_col29_net0;
assign layer3_col30_net8 = layer2_col30_net0;
assign layer3_col32_net9 = layer2_col32_net1;
assign layer3_col32_net10 = layer2_col32_net0;
assign layer3_col34_net9 = layer2_col34_net0;
assign layer3_col35_net8 = layer2_col35_net1;
assign layer3_col35_net9 = layer2_col35_net0;
assign layer3_col37_net8 = layer2_col37_net0;
assign layer3_col38_net8 = layer2_col38_net0;
assign layer3_col39_net7 = layer2_col39_net1;
assign layer3_col39_net8 = layer2_col39_net0;
assign layer3_col41_net7 = layer2_col41_net0;
assign layer3_col42_net6 = layer2_col42_net1;
assign layer3_col42_net7 = layer2_col42_net0;
assign layer3_col44_net6 = layer2_col44_net0;
assign layer3_col45_net5 = layer2_col45_net1;
assign layer3_col45_net6 = layer2_col45_net0;
assign layer3_col48_net5 = layer2_col48_net0;
assign layer3_col49_net4 = layer2_col49_net1;
assign layer3_col49_net5 = layer2_col49_net0;
assign layer3_col51_net4 = layer2_col51_net0;
assign layer3_col52_net3 = layer2_col52_net1;
assign layer3_col52_net4 = layer2_col52_net0;
assign layer3_col54_net3 = layer2_col54_net0;
assign layer3_col55_net2 = layer2_col55_net1;
assign layer3_col55_net3 = layer2_col55_net0;
assign layer3_col56_net2 = layer2_col56_net1;
assign layer3_col56_net3 = layer2_col56_net0;
assign layer3_col58_net2 = layer2_col58_net0;
assign layer3_col59_net1 = layer2_col59_net1;
assign layer3_col59_net2 = layer2_col59_net0;
assign layer3_col61_net1 = layer2_col61_net0;
assign layer3_col62_net0 = layer2_col62_net1;
assign layer3_col62_net1 = layer2_col62_net0;
half_adder ha_add3_0 (layer2_col4_net2, layer2_col4_net1, layer3_col4_net0, layer3_col5_net0);
full_adder fa_add3_0 (layer2_col6_net3, layer2_col6_net2, layer2_col6_net1, layer3_col6_net0, layer3_col7_net0);
full_adder fa_add3_1 (layer2_col7_net2, layer2_col7_net1, layer2_col7_net0, layer3_col7_net1, layer3_col8_net0);
full_adder fa_add3_2 (layer2_col8_net4, layer2_col8_net3, layer2_col8_net2, layer3_col8_net1, layer3_col9_net0);
full_adder fa_add3_3 (layer2_col9_net3, layer2_col9_net2, layer2_col9_net1, layer3_col9_net1, layer3_col10_net0);
full_adder fa_add3_4 (layer2_col10_net5, layer2_col10_net4, layer2_col10_net3, layer3_col10_net1, layer3_col11_net0);
full_adder fa_add3_5 (layer2_col10_net2, layer2_col10_net1, layer2_col10_net0, layer3_col10_net2, layer3_col11_net1);
full_adder fa_add3_6 (layer2_col11_net4, layer2_col11_net3, layer2_col11_net2, layer3_col11_net2, layer3_col12_net0);
full_adder fa_add3_7 (layer2_col12_net4, layer2_col12_net3, layer2_col12_net2, layer3_col12_net1, layer3_col13_net0);
full_adder fa_add3_8 (layer2_col13_net6, layer2_col13_net5, layer2_col13_net4, layer3_col13_net1, layer3_col14_net0);
full_adder fa_add3_9 (layer2_col13_net3, layer2_col13_net2, layer2_col13_net1, layer3_col13_net2, layer3_col14_net1);
full_adder fa_add3_10 (layer2_col14_net5, layer2_col14_net4, layer2_col14_net3, layer3_col14_net2, layer3_col15_net0);
full_adder fa_add3_11 (layer2_col14_net2, layer2_col14_net1, layer2_col14_net0, layer3_col14_net3, layer3_col15_net1);
full_adder fa_add3_12 (layer2_col15_net7, layer2_col15_net6, layer2_col15_net5, layer3_col15_net2, layer3_col16_net0);
full_adder fa_add3_13 (layer2_col15_net4, layer2_col15_net3, layer2_col15_net2, layer3_col15_net3, layer3_col16_net1);
full_adder fa_add3_14 (layer2_col16_net6, layer2_col16_net5, layer2_col16_net4, layer3_col16_net2, layer3_col17_net0);
full_adder fa_add3_15 (layer2_col16_net3, layer2_col16_net2, layer2_col16_net1, layer3_col16_net3, layer3_col17_net1);
full_adder fa_add3_16 (layer2_col17_net8, layer2_col17_net7, layer2_col17_net6, layer3_col17_net2, layer3_col18_net0);
full_adder fa_add3_17 (layer2_col17_net5, layer2_col17_net4, layer2_col17_net3, layer3_col17_net3, layer3_col18_net1);
full_adder fa_add3_18 (layer2_col17_net2, layer2_col17_net1, layer2_col17_net0, layer3_col17_net4, layer3_col18_net2);
full_adder fa_add3_19 (layer2_col18_net7, layer2_col18_net6, layer2_col18_net5, layer3_col18_net3, layer3_col19_net0);
full_adder fa_add3_20 (layer2_col18_net4, layer2_col18_net3, layer2_col18_net2, layer3_col18_net4, layer3_col19_net1);
full_adder fa_add3_21 (layer2_col19_net9, layer2_col19_net8, layer2_col19_net7, layer3_col19_net2, layer3_col20_net0);
full_adder fa_add3_22 (layer2_col19_net6, layer2_col19_net5, layer2_col19_net4, layer3_col19_net3, layer3_col20_net1);
full_adder fa_add3_23 (layer2_col19_net3, layer2_col19_net2, layer2_col19_net1, layer3_col19_net4, layer3_col20_net2);
full_adder fa_add3_24 (layer2_col20_net8, layer2_col20_net7, layer2_col20_net6, layer3_col20_net3, layer3_col21_net0);
full_adder fa_add3_25 (layer2_col20_net5, layer2_col20_net4, layer2_col20_net3, layer3_col20_net4, layer3_col21_net1);
full_adder fa_add3_26 (layer2_col20_net2, layer2_col20_net1, layer2_col20_net0, layer3_col20_net5, layer3_col21_net2);
full_adder fa_add3_27 (layer2_col21_net8, layer2_col21_net7, layer2_col21_net6, layer3_col21_net3, layer3_col22_net0);
full_adder fa_add3_28 (layer2_col21_net5, layer2_col21_net4, layer2_col21_net3, layer3_col21_net4, layer3_col22_net1);
full_adder fa_add3_29 (layer2_col21_net2, layer2_col21_net1, layer2_col21_net0, layer3_col21_net5, layer3_col22_net2);
full_adder fa_add3_30 (layer2_col22_net10, layer2_col22_net9, layer2_col22_net8, layer3_col22_net3, layer3_col23_net0);
full_adder fa_add3_31 (layer2_col22_net7, layer2_col22_net6, layer2_col22_net5, layer3_col22_net4, layer3_col23_net1);
full_adder fa_add3_32 (layer2_col22_net4, layer2_col22_net3, layer2_col22_net2, layer3_col22_net5, layer3_col23_net2);
full_adder fa_add3_33 (layer2_col23_net9, layer2_col23_net8, layer2_col23_net7, layer3_col23_net3, layer3_col24_net0);
full_adder fa_add3_34 (layer2_col23_net6, layer2_col23_net5, layer2_col23_net4, layer3_col23_net4, layer3_col24_net1);
full_adder fa_add3_35 (layer2_col23_net3, layer2_col23_net2, layer2_col23_net1, layer3_col23_net5, layer3_col24_net2);
full_adder fa_add3_36 (layer2_col24_net11, layer2_col24_net10, layer2_col24_net9, layer3_col24_net3, layer3_col25_net0);
full_adder fa_add3_37 (layer2_col24_net8, layer2_col24_net7, layer2_col24_net6, layer3_col24_net4, layer3_col25_net1);
full_adder fa_add3_38 (layer2_col24_net5, layer2_col24_net4, layer2_col24_net3, layer3_col24_net5, layer3_col25_net2);
full_adder fa_add3_39 (layer2_col24_net2, layer2_col24_net1, layer2_col24_net0, layer3_col24_net6, layer3_col25_net3);
full_adder fa_add3_40 (layer2_col25_net10, layer2_col25_net9, layer2_col25_net8, layer3_col25_net4, layer3_col26_net0);
full_adder fa_add3_41 (layer2_col25_net7, layer2_col25_net6, layer2_col25_net5, layer3_col25_net5, layer3_col26_net1);
full_adder fa_add3_42 (layer2_col25_net4, layer2_col25_net3, layer2_col25_net2, layer3_col25_net6, layer3_col26_net2);
full_adder fa_add3_43 (layer2_col26_net12, layer2_col26_net11, layer2_col26_net10, layer3_col26_net3, layer3_col27_net0);
full_adder fa_add3_44 (layer2_col26_net9, layer2_col26_net8, layer2_col26_net7, layer3_col26_net4, layer3_col27_net1);
full_adder fa_add3_45 (layer2_col26_net6, layer2_col26_net5, layer2_col26_net4, layer3_col26_net5, layer3_col27_net2);
full_adder fa_add3_46 (layer2_col26_net3, layer2_col26_net2, layer2_col26_net1, layer3_col26_net6, layer3_col27_net3);
full_adder fa_add3_47 (layer2_col27_net11, layer2_col27_net10, layer2_col27_net9, layer3_col27_net4, layer3_col28_net0);
full_adder fa_add3_48 (layer2_col27_net8, layer2_col27_net7, layer2_col27_net6, layer3_col27_net5, layer3_col28_net1);
full_adder fa_add3_49 (layer2_col27_net5, layer2_col27_net4, layer2_col27_net3, layer3_col27_net6, layer3_col28_net2);
full_adder fa_add3_50 (layer2_col27_net2, layer2_col27_net1, layer2_col27_net0, layer3_col27_net7, layer3_col28_net3);
full_adder fa_add3_51 (layer2_col28_net13, layer2_col28_net12, layer2_col28_net11, layer3_col28_net4, layer3_col29_net0);
full_adder fa_add3_52 (layer2_col28_net10, layer2_col28_net9, layer2_col28_net8, layer3_col28_net5, layer3_col29_net1);
full_adder fa_add3_53 (layer2_col28_net7, layer2_col28_net6, layer2_col28_net5, layer3_col28_net6, layer3_col29_net2);
full_adder fa_add3_54 (layer2_col28_net4, layer2_col28_net3, layer2_col28_net2, layer3_col28_net7, layer3_col29_net3);
full_adder fa_add3_55 (layer2_col29_net12, layer2_col29_net11, layer2_col29_net10, layer3_col29_net4, layer3_col30_net0);
full_adder fa_add3_56 (layer2_col29_net9, layer2_col29_net8, layer2_col29_net7, layer3_col29_net5, layer3_col30_net1);
full_adder fa_add3_57 (layer2_col29_net6, layer2_col29_net5, layer2_col29_net4, layer3_col29_net6, layer3_col30_net2);
full_adder fa_add3_58 (layer2_col29_net3, layer2_col29_net2, layer2_col29_net1, layer3_col29_net7, layer3_col30_net3);
full_adder fa_add3_59 (layer2_col30_net12, layer2_col30_net11, layer2_col30_net10, layer3_col30_net4, layer3_col31_net0);
full_adder fa_add3_60 (layer2_col30_net9, layer2_col30_net8, layer2_col30_net7, layer3_col30_net5, layer3_col31_net1);
full_adder fa_add3_61 (layer2_col30_net6, layer2_col30_net5, layer2_col30_net4, layer3_col30_net6, layer3_col31_net2);
full_adder fa_add3_62 (layer2_col30_net3, layer2_col30_net2, layer2_col30_net1, layer3_col30_net7, layer3_col31_net3);
full_adder fa_add3_63 (layer2_col31_net14, layer2_col31_net13, layer2_col31_net12, layer3_col31_net4, layer3_col32_net0);
full_adder fa_add3_64 (layer2_col31_net11, layer2_col31_net10, layer2_col31_net9, layer3_col31_net5, layer3_col32_net1);
full_adder fa_add3_65 (layer2_col31_net8, layer2_col31_net7, layer2_col31_net6, layer3_col31_net6, layer3_col32_net2);
full_adder fa_add3_66 (layer2_col31_net5, layer2_col31_net4, layer2_col31_net3, layer3_col31_net7, layer3_col32_net3);
full_adder fa_add3_67 (layer2_col31_net2, layer2_col31_net1, layer2_col31_net0, layer3_col31_net8, layer3_col32_net4);
full_adder fa_add3_68 (layer2_col32_net13, layer2_col32_net12, layer2_col32_net11, layer3_col32_net5, layer3_col33_net0);
full_adder fa_add3_69 (layer2_col32_net10, layer2_col32_net9, layer2_col32_net8, layer3_col32_net6, layer3_col33_net1);
full_adder fa_add3_70 (layer2_col32_net7, layer2_col32_net6, layer2_col32_net5, layer3_col32_net7, layer3_col33_net2);
full_adder fa_add3_71 (layer2_col32_net4, layer2_col32_net3, layer2_col32_net2, layer3_col32_net8, layer3_col33_net3);
full_adder fa_add3_72 (layer2_col33_net14, layer2_col33_net13, layer2_col33_net12, layer3_col33_net4, layer3_col34_net0);
full_adder fa_add3_73 (layer2_col33_net11, layer2_col33_net10, layer2_col33_net9, layer3_col33_net5, layer3_col34_net1);
full_adder fa_add3_74 (layer2_col33_net8, layer2_col33_net7, layer2_col33_net6, layer3_col33_net6, layer3_col34_net2);
full_adder fa_add3_75 (layer2_col33_net5, layer2_col33_net4, layer2_col33_net3, layer3_col33_net7, layer3_col34_net3);
full_adder fa_add3_76 (layer2_col33_net2, layer2_col33_net1, layer2_col33_net0, layer3_col33_net8, layer3_col34_net4);
full_adder fa_add3_77 (layer2_col34_net12, layer2_col34_net11, layer2_col34_net10, layer3_col34_net5, layer3_col35_net0);
full_adder fa_add3_78 (layer2_col34_net9, layer2_col34_net8, layer2_col34_net7, layer3_col34_net6, layer3_col35_net1);
full_adder fa_add3_79 (layer2_col34_net6, layer2_col34_net5, layer2_col34_net4, layer3_col34_net7, layer3_col35_net2);
full_adder fa_add3_80 (layer2_col34_net3, layer2_col34_net2, layer2_col34_net1, layer3_col34_net8, layer3_col35_net3);
full_adder fa_add3_81 (layer2_col35_net13, layer2_col35_net12, layer2_col35_net11, layer3_col35_net4, layer3_col36_net0);
full_adder fa_add3_82 (layer2_col35_net10, layer2_col35_net9, layer2_col35_net8, layer3_col35_net5, layer3_col36_net1);
full_adder fa_add3_83 (layer2_col35_net7, layer2_col35_net6, layer2_col35_net5, layer3_col35_net6, layer3_col36_net2);
full_adder fa_add3_84 (layer2_col35_net4, layer2_col35_net3, layer2_col35_net2, layer3_col35_net7, layer3_col36_net3);
full_adder fa_add3_85 (layer2_col36_net11, layer2_col36_net10, layer2_col36_net9, layer3_col36_net4, layer3_col37_net0);
full_adder fa_add3_86 (layer2_col36_net8, layer2_col36_net7, layer2_col36_net6, layer3_col36_net5, layer3_col37_net1);
full_adder fa_add3_87 (layer2_col36_net5, layer2_col36_net4, layer2_col36_net3, layer3_col36_net6, layer3_col37_net2);
full_adder fa_add3_88 (layer2_col36_net2, layer2_col36_net1, layer2_col36_net0, layer3_col36_net7, layer3_col37_net3);
full_adder fa_add3_89 (layer2_col37_net12, layer2_col37_net11, layer2_col37_net10, layer3_col37_net4, layer3_col38_net0);
full_adder fa_add3_90 (layer2_col37_net9, layer2_col37_net8, layer2_col37_net7, layer3_col37_net5, layer3_col38_net1);
full_adder fa_add3_91 (layer2_col37_net6, layer2_col37_net5, layer2_col37_net4, layer3_col37_net6, layer3_col38_net2);
full_adder fa_add3_92 (layer2_col37_net3, layer2_col37_net2, layer2_col37_net1, layer3_col37_net7, layer3_col38_net3);
full_adder fa_add3_93 (layer2_col38_net12, layer2_col38_net11, layer2_col38_net10, layer3_col38_net4, layer3_col39_net0);
full_adder fa_add3_94 (layer2_col38_net9, layer2_col38_net8, layer2_col38_net7, layer3_col38_net5, layer3_col39_net1);
full_adder fa_add3_95 (layer2_col38_net6, layer2_col38_net5, layer2_col38_net4, layer3_col38_net6, layer3_col39_net2);
full_adder fa_add3_96 (layer2_col38_net3, layer2_col38_net2, layer2_col38_net1, layer3_col38_net7, layer3_col39_net3);
full_adder fa_add3_97 (layer2_col39_net10, layer2_col39_net9, layer2_col39_net8, layer3_col39_net4, layer3_col40_net0);
full_adder fa_add3_98 (layer2_col39_net7, layer2_col39_net6, layer2_col39_net5, layer3_col39_net5, layer3_col40_net1);
full_adder fa_add3_99 (layer2_col39_net4, layer2_col39_net3, layer2_col39_net2, layer3_col39_net6, layer3_col40_net2);
full_adder fa_add3_100 (layer2_col40_net11, layer2_col40_net10, layer2_col40_net9, layer3_col40_net3, layer3_col41_net0);
full_adder fa_add3_101 (layer2_col40_net8, layer2_col40_net7, layer2_col40_net6, layer3_col40_net4, layer3_col41_net1);
full_adder fa_add3_102 (layer2_col40_net5, layer2_col40_net4, layer2_col40_net3, layer3_col40_net5, layer3_col41_net2);
full_adder fa_add3_103 (layer2_col40_net2, layer2_col40_net1, layer2_col40_net0, layer3_col40_net6, layer3_col41_net3);
full_adder fa_add3_104 (layer2_col41_net9, layer2_col41_net8, layer2_col41_net7, layer3_col41_net4, layer3_col42_net0);
full_adder fa_add3_105 (layer2_col41_net6, layer2_col41_net5, layer2_col41_net4, layer3_col41_net5, layer3_col42_net1);
full_adder fa_add3_106 (layer2_col41_net3, layer2_col41_net2, layer2_col41_net1, layer3_col41_net6, layer3_col42_net2);
full_adder fa_add3_107 (layer2_col42_net10, layer2_col42_net9, layer2_col42_net8, layer3_col42_net3, layer3_col43_net0);
full_adder fa_add3_108 (layer2_col42_net7, layer2_col42_net6, layer2_col42_net5, layer3_col42_net4, layer3_col43_net1);
full_adder fa_add3_109 (layer2_col42_net4, layer2_col42_net3, layer2_col42_net2, layer3_col42_net5, layer3_col43_net2);
full_adder fa_add3_110 (layer2_col43_net8, layer2_col43_net7, layer2_col43_net6, layer3_col43_net3, layer3_col44_net0);
full_adder fa_add3_111 (layer2_col43_net5, layer2_col43_net4, layer2_col43_net3, layer3_col43_net4, layer3_col44_net1);
full_adder fa_add3_112 (layer2_col43_net2, layer2_col43_net1, layer2_col43_net0, layer3_col43_net5, layer3_col44_net2);
full_adder fa_add3_113 (layer2_col44_net9, layer2_col44_net8, layer2_col44_net7, layer3_col44_net3, layer3_col45_net0);
full_adder fa_add3_114 (layer2_col44_net6, layer2_col44_net5, layer2_col44_net4, layer3_col44_net4, layer3_col45_net1);
full_adder fa_add3_115 (layer2_col44_net3, layer2_col44_net2, layer2_col44_net1, layer3_col44_net5, layer3_col45_net2);
full_adder fa_add3_116 (layer2_col45_net7, layer2_col45_net6, layer2_col45_net5, layer3_col45_net3, layer3_col46_net0);
full_adder fa_add3_117 (layer2_col45_net4, layer2_col45_net3, layer2_col45_net2, layer3_col45_net4, layer3_col46_net1);
full_adder fa_add3_118 (layer2_col46_net8, layer2_col46_net7, layer2_col46_net6, layer3_col46_net2, layer3_col47_net0);
full_adder fa_add3_119 (layer2_col46_net5, layer2_col46_net4, layer2_col46_net3, layer3_col46_net3, layer3_col47_net1);
full_adder fa_add3_120 (layer2_col46_net2, layer2_col46_net1, layer2_col46_net0, layer3_col46_net4, layer3_col47_net2);
full_adder fa_add3_121 (layer2_col47_net8, layer2_col47_net7, layer2_col47_net6, layer3_col47_net3, layer3_col48_net0);
full_adder fa_add3_122 (layer2_col47_net5, layer2_col47_net4, layer2_col47_net3, layer3_col47_net4, layer3_col48_net1);
full_adder fa_add3_123 (layer2_col47_net2, layer2_col47_net1, layer2_col47_net0, layer3_col47_net5, layer3_col48_net2);
full_adder fa_add3_124 (layer2_col48_net6, layer2_col48_net5, layer2_col48_net4, layer3_col48_net3, layer3_col49_net0);
full_adder fa_add3_125 (layer2_col48_net3, layer2_col48_net2, layer2_col48_net1, layer3_col48_net4, layer3_col49_net1);
full_adder fa_add3_126 (layer2_col49_net7, layer2_col49_net6, layer2_col49_net5, layer3_col49_net2, layer3_col50_net0);
full_adder fa_add3_127 (layer2_col49_net4, layer2_col49_net3, layer2_col49_net2, layer3_col49_net3, layer3_col50_net1);
full_adder fa_add3_128 (layer2_col50_net5, layer2_col50_net4, layer2_col50_net3, layer3_col50_net2, layer3_col51_net0);
full_adder fa_add3_129 (layer2_col50_net2, layer2_col50_net1, layer2_col50_net0, layer3_col50_net3, layer3_col51_net1);
full_adder fa_add3_130 (layer2_col51_net6, layer2_col51_net5, layer2_col51_net4, layer3_col51_net2, layer3_col52_net0);
full_adder fa_add3_131 (layer2_col51_net3, layer2_col51_net2, layer2_col51_net1, layer3_col51_net3, layer3_col52_net1);
full_adder fa_add3_132 (layer2_col52_net4, layer2_col52_net3, layer2_col52_net2, layer3_col52_net2, layer3_col53_net0);
full_adder fa_add3_133 (layer2_col53_net5, layer2_col53_net4, layer2_col53_net3, layer3_col53_net1, layer3_col54_net0);
full_adder fa_add3_134 (layer2_col53_net2, layer2_col53_net1, layer2_col53_net0, layer3_col53_net2, layer3_col54_net1);
full_adder fa_add3_135 (layer2_col54_net3, layer2_col54_net2, layer2_col54_net1, layer3_col54_net2, layer3_col55_net0);
full_adder fa_add3_136 (layer2_col55_net4, layer2_col55_net3, layer2_col55_net2, layer3_col55_net1, layer3_col56_net0);
full_adder fa_add3_137 (layer2_col56_net4, layer2_col56_net3, layer2_col56_net2, layer3_col56_net1, layer3_col57_net0);
full_adder fa_add3_138 (layer2_col57_net2, layer2_col57_net1, layer2_col57_net0, layer3_col57_net1, layer3_col58_net0);
full_adder fa_add3_139 (layer2_col58_net3, layer2_col58_net2, layer2_col58_net1, layer3_col58_net1, layer3_col59_net0);
full_adder fa_add3_140 (layer2_col60_net2, layer2_col60_net1, layer2_col60_net0, layer3_col60_net0, layer3_col61_net0);

//----------- Reduction Layer 4 Start --------------

assign layer4_col0_net0 = layer3_col0_net0;
assign layer4_col1_net0 = layer3_col1_net1;
assign layer4_col1_net1 = layer3_col1_net0;
assign layer4_col2_net0 = layer3_col2_net1;
assign layer4_col2_net1 = layer3_col2_net0;
assign layer4_col3_net0 = layer3_col3_net1;
assign layer4_col3_net1 = layer3_col3_net0;
assign layer4_col4_net0 = layer3_col4_net1;
assign layer4_col4_net1 = layer3_col4_net0;
assign layer4_col5_net1 = layer3_col5_net0;
assign layer4_col6_net1 = layer3_col6_net1;
assign layer4_col6_net2 = layer3_col6_net0;
assign layer4_col7_net0 = layer3_col7_net1;
assign layer4_col7_net1 = layer3_col7_net0;
assign layer4_col8_net1 = layer3_col8_net0;
assign layer4_col11_net2 = layer3_col11_net1;
assign layer4_col11_net3 = layer3_col11_net0;
assign layer4_col12_net2 = layer3_col12_net0;
assign layer4_col13_net2 = layer3_col13_net0;
assign layer4_col14_net2 = layer3_col14_net0;
assign layer4_col16_net3 = layer3_col16_net1;
assign layer4_col16_net4 = layer3_col16_net0;
assign layer4_col17_net2 = layer3_col17_net1;
assign layer4_col17_net3 = layer3_col17_net0;
assign layer4_col18_net3 = layer3_col18_net0;
assign layer4_col22_net4 = layer3_col22_net1;
assign layer4_col22_net5 = layer3_col22_net0;
assign layer4_col23_net4 = layer3_col23_net0;
assign layer4_col24_net4 = layer3_col24_net0;
assign layer4_col26_net5 = layer3_col26_net1;
assign layer4_col26_net6 = layer3_col26_net0;
assign layer4_col27_net4 = layer3_col27_net1;
assign layer4_col27_net5 = layer3_col27_net0;
assign layer4_col28_net5 = layer3_col28_net0;
assign layer4_col32_net6 = layer3_col32_net1;
assign layer4_col32_net7 = layer3_col32_net0;
assign layer4_col34_net6 = layer3_col34_net0;
assign layer4_col35_net6 = layer3_col35_net0;
assign layer4_col36_net5 = layer3_col36_net1;
assign layer4_col36_net6 = layer3_col36_net0;
assign layer4_col40_net5 = layer3_col40_net0;
assign layer4_col41_net4 = layer3_col41_net1;
assign layer4_col41_net5 = layer3_col41_net0;
assign layer4_col42_net4 = layer3_col42_net1;
assign layer4_col42_net5 = layer3_col42_net0;
assign layer4_col44_net4 = layer3_col44_net0;
assign layer4_col45_net4 = layer3_col45_net0;
assign layer4_col46_net3 = layer3_col46_net1;
assign layer4_col46_net4 = layer3_col46_net0;
assign layer4_col50_net3 = layer3_col50_net0;
assign layer4_col51_net2 = layer3_col51_net1;
assign layer4_col51_net3 = layer3_col51_net0;
assign layer4_col52_net2 = layer3_col52_net1;
assign layer4_col52_net3 = layer3_col52_net0;
assign layer4_col54_net2 = layer3_col54_net0;
assign layer4_col55_net2 = layer3_col55_net0;
assign layer4_col56_net2 = layer3_col56_net0;
assign layer4_col57_net1 = layer3_col57_net1;
assign layer4_col57_net2 = layer3_col57_net0;
assign layer4_col60_net1 = layer3_col60_net0;
assign layer4_col61_net0 = layer3_col61_net1;
assign layer4_col61_net1 = layer3_col61_net0;
assign layer4_col62_net0 = layer3_col62_net1;
assign layer4_col62_net1 = layer3_col62_net0;
half_adder ha_add4_0 (layer3_col5_net2, layer3_col5_net1, layer4_col5_net0, layer4_col6_net0);
full_adder fa_add4_0 (layer3_col8_net3, layer3_col8_net2, layer3_col8_net1, layer4_col8_net0, layer4_col9_net0);
full_adder fa_add4_1 (layer3_col9_net2, layer3_col9_net1, layer3_col9_net0, layer4_col9_net1, layer4_col10_net0);
full_adder fa_add4_2 (layer3_col10_net2, layer3_col10_net1, layer3_col10_net0, layer4_col10_net1, layer4_col11_net0);
full_adder fa_add4_3 (layer3_col11_net4, layer3_col11_net3, layer3_col11_net2, layer4_col11_net1, layer4_col12_net0);
full_adder fa_add4_4 (layer3_col12_net3, layer3_col12_net2, layer3_col12_net1, layer4_col12_net1, layer4_col13_net0);
full_adder fa_add4_5 (layer3_col13_net3, layer3_col13_net2, layer3_col13_net1, layer4_col13_net1, layer4_col14_net0);
full_adder fa_add4_6 (layer3_col14_net3, layer3_col14_net2, layer3_col14_net1, layer4_col14_net1, layer4_col15_net0);
full_adder fa_add4_7 (layer3_col15_net5, layer3_col15_net4, layer3_col15_net3, layer4_col15_net1, layer4_col16_net0);
full_adder fa_add4_8 (layer3_col15_net2, layer3_col15_net1, layer3_col15_net0, layer4_col15_net2, layer4_col16_net1);
full_adder fa_add4_9 (layer3_col16_net4, layer3_col16_net3, layer3_col16_net2, layer4_col16_net2, layer4_col17_net0);
full_adder fa_add4_10 (layer3_col17_net4, layer3_col17_net3, layer3_col17_net2, layer4_col17_net1, layer4_col18_net0);
full_adder fa_add4_11 (layer3_col18_net6, layer3_col18_net5, layer3_col18_net4, layer4_col18_net1, layer4_col19_net0);
full_adder fa_add4_12 (layer3_col18_net3, layer3_col18_net2, layer3_col18_net1, layer4_col18_net2, layer4_col19_net1);
full_adder fa_add4_13 (layer3_col19_net5, layer3_col19_net4, layer3_col19_net3, layer4_col19_net2, layer4_col20_net0);
full_adder fa_add4_14 (layer3_col19_net2, layer3_col19_net1, layer3_col19_net0, layer4_col19_net3, layer4_col20_net1);
full_adder fa_add4_15 (layer3_col20_net5, layer3_col20_net4, layer3_col20_net3, layer4_col20_net2, layer4_col21_net0);
full_adder fa_add4_16 (layer3_col20_net2, layer3_col20_net1, layer3_col20_net0, layer4_col20_net3, layer4_col21_net1);
full_adder fa_add4_17 (layer3_col21_net5, layer3_col21_net4, layer3_col21_net3, layer4_col21_net2, layer4_col22_net0);
full_adder fa_add4_18 (layer3_col21_net2, layer3_col21_net1, layer3_col21_net0, layer4_col21_net3, layer4_col22_net1);
full_adder fa_add4_19 (layer3_col22_net7, layer3_col22_net6, layer3_col22_net5, layer4_col22_net2, layer4_col23_net0);
full_adder fa_add4_20 (layer3_col22_net4, layer3_col22_net3, layer3_col22_net2, layer4_col22_net3, layer4_col23_net1);
full_adder fa_add4_21 (layer3_col23_net6, layer3_col23_net5, layer3_col23_net4, layer4_col23_net2, layer4_col24_net0);
full_adder fa_add4_22 (layer3_col23_net3, layer3_col23_net2, layer3_col23_net1, layer4_col23_net3, layer4_col24_net1);
full_adder fa_add4_23 (layer3_col24_net6, layer3_col24_net5, layer3_col24_net4, layer4_col24_net2, layer4_col25_net0);
full_adder fa_add4_24 (layer3_col24_net3, layer3_col24_net2, layer3_col24_net1, layer4_col24_net3, layer4_col25_net1);
full_adder fa_add4_25 (layer3_col25_net8, layer3_col25_net7, layer3_col25_net6, layer4_col25_net2, layer4_col26_net0);
full_adder fa_add4_26 (layer3_col25_net5, layer3_col25_net4, layer3_col25_net3, layer4_col25_net3, layer4_col26_net1);
full_adder fa_add4_27 (layer3_col25_net2, layer3_col25_net1, layer3_col25_net0, layer4_col25_net4, layer4_col26_net2);
full_adder fa_add4_28 (layer3_col26_net7, layer3_col26_net6, layer3_col26_net5, layer4_col26_net3, layer4_col27_net0);
full_adder fa_add4_29 (layer3_col26_net4, layer3_col26_net3, layer3_col26_net2, layer4_col26_net4, layer4_col27_net1);
full_adder fa_add4_30 (layer3_col27_net7, layer3_col27_net6, layer3_col27_net5, layer4_col27_net2, layer4_col28_net0);
full_adder fa_add4_31 (layer3_col27_net4, layer3_col27_net3, layer3_col27_net2, layer4_col27_net3, layer4_col28_net1);
full_adder fa_add4_32 (layer3_col28_net9, layer3_col28_net8, layer3_col28_net7, layer4_col28_net2, layer4_col29_net0);
full_adder fa_add4_33 (layer3_col28_net6, layer3_col28_net5, layer3_col28_net4, layer4_col28_net3, layer4_col29_net1);
full_adder fa_add4_34 (layer3_col28_net3, layer3_col28_net2, layer3_col28_net1, layer4_col28_net4, layer4_col29_net2);
full_adder fa_add4_35 (layer3_col29_net8, layer3_col29_net7, layer3_col29_net6, layer4_col29_net3, layer4_col30_net0);
full_adder fa_add4_36 (layer3_col29_net5, layer3_col29_net4, layer3_col29_net3, layer4_col29_net4, layer4_col30_net1);
full_adder fa_add4_37 (layer3_col29_net2, layer3_col29_net1, layer3_col29_net0, layer4_col29_net5, layer4_col30_net2);
full_adder fa_add4_38 (layer3_col30_net8, layer3_col30_net7, layer3_col30_net6, layer4_col30_net3, layer4_col31_net0);
full_adder fa_add4_39 (layer3_col30_net5, layer3_col30_net4, layer3_col30_net3, layer4_col30_net4, layer4_col31_net1);
full_adder fa_add4_40 (layer3_col30_net2, layer3_col30_net1, layer3_col30_net0, layer4_col30_net5, layer4_col31_net2);
full_adder fa_add4_41 (layer3_col31_net8, layer3_col31_net7, layer3_col31_net6, layer4_col31_net3, layer4_col32_net0);
full_adder fa_add4_42 (layer3_col31_net5, layer3_col31_net4, layer3_col31_net3, layer4_col31_net4, layer4_col32_net1);
full_adder fa_add4_43 (layer3_col31_net2, layer3_col31_net1, layer3_col31_net0, layer4_col31_net5, layer4_col32_net2);
full_adder fa_add4_44 (layer3_col32_net10, layer3_col32_net9, layer3_col32_net8, layer4_col32_net3, layer4_col33_net0);
full_adder fa_add4_45 (layer3_col32_net7, layer3_col32_net6, layer3_col32_net5, layer4_col32_net4, layer4_col33_net1);
full_adder fa_add4_46 (layer3_col32_net4, layer3_col32_net3, layer3_col32_net2, layer4_col32_net5, layer4_col33_net2);
full_adder fa_add4_47 (layer3_col33_net8, layer3_col33_net7, layer3_col33_net6, layer4_col33_net3, layer4_col34_net0);
full_adder fa_add4_48 (layer3_col33_net5, layer3_col33_net4, layer3_col33_net3, layer4_col33_net4, layer4_col34_net1);
full_adder fa_add4_49 (layer3_col33_net2, layer3_col33_net1, layer3_col33_net0, layer4_col33_net5, layer4_col34_net2);
full_adder fa_add4_50 (layer3_col34_net9, layer3_col34_net8, layer3_col34_net7, layer4_col34_net3, layer4_col35_net0);
full_adder fa_add4_51 (layer3_col34_net6, layer3_col34_net5, layer3_col34_net4, layer4_col34_net4, layer4_col35_net1);
full_adder fa_add4_52 (layer3_col34_net3, layer3_col34_net2, layer3_col34_net1, layer4_col34_net5, layer4_col35_net2);
full_adder fa_add4_53 (layer3_col35_net9, layer3_col35_net8, layer3_col35_net7, layer4_col35_net3, layer4_col36_net0);
full_adder fa_add4_54 (layer3_col35_net6, layer3_col35_net5, layer3_col35_net4, layer4_col35_net4, layer4_col36_net1);
full_adder fa_add4_55 (layer3_col35_net3, layer3_col35_net2, layer3_col35_net1, layer4_col35_net5, layer4_col36_net2);
full_adder fa_add4_56 (layer3_col36_net7, layer3_col36_net6, layer3_col36_net5, layer4_col36_net3, layer4_col37_net0);
full_adder fa_add4_57 (layer3_col36_net4, layer3_col36_net3, layer3_col36_net2, layer4_col36_net4, layer4_col37_net1);
full_adder fa_add4_58 (layer3_col37_net8, layer3_col37_net7, layer3_col37_net6, layer4_col37_net2, layer4_col38_net0);
full_adder fa_add4_59 (layer3_col37_net5, layer3_col37_net4, layer3_col37_net3, layer4_col37_net3, layer4_col38_net1);
full_adder fa_add4_60 (layer3_col37_net2, layer3_col37_net1, layer3_col37_net0, layer4_col37_net4, layer4_col38_net2);
full_adder fa_add4_61 (layer3_col38_net8, layer3_col38_net7, layer3_col38_net6, layer4_col38_net3, layer4_col39_net0);
full_adder fa_add4_62 (layer3_col38_net5, layer3_col38_net4, layer3_col38_net3, layer4_col38_net4, layer4_col39_net1);
full_adder fa_add4_63 (layer3_col38_net2, layer3_col38_net1, layer3_col38_net0, layer4_col38_net5, layer4_col39_net2);
full_adder fa_add4_64 (layer3_col39_net8, layer3_col39_net7, layer3_col39_net6, layer4_col39_net3, layer4_col40_net0);
full_adder fa_add4_65 (layer3_col39_net5, layer3_col39_net4, layer3_col39_net3, layer4_col39_net4, layer4_col40_net1);
full_adder fa_add4_66 (layer3_col39_net2, layer3_col39_net1, layer3_col39_net0, layer4_col39_net5, layer4_col40_net2);
full_adder fa_add4_67 (layer3_col40_net6, layer3_col40_net5, layer3_col40_net4, layer4_col40_net3, layer4_col41_net0);
full_adder fa_add4_68 (layer3_col40_net3, layer3_col40_net2, layer3_col40_net1, layer4_col40_net4, layer4_col41_net1);
full_adder fa_add4_69 (layer3_col41_net7, layer3_col41_net6, layer3_col41_net5, layer4_col41_net2, layer4_col42_net0);
full_adder fa_add4_70 (layer3_col41_net4, layer3_col41_net3, layer3_col41_net2, layer4_col41_net3, layer4_col42_net1);
full_adder fa_add4_71 (layer3_col42_net7, layer3_col42_net6, layer3_col42_net5, layer4_col42_net2, layer4_col43_net0);
full_adder fa_add4_72 (layer3_col42_net4, layer3_col42_net3, layer3_col42_net2, layer4_col42_net3, layer4_col43_net1);
full_adder fa_add4_73 (layer3_col43_net5, layer3_col43_net4, layer3_col43_net3, layer4_col43_net2, layer4_col44_net0);
full_adder fa_add4_74 (layer3_col43_net2, layer3_col43_net1, layer3_col43_net0, layer4_col43_net3, layer4_col44_net1);
full_adder fa_add4_75 (layer3_col44_net6, layer3_col44_net5, layer3_col44_net4, layer4_col44_net2, layer4_col45_net0);
full_adder fa_add4_76 (layer3_col44_net3, layer3_col44_net2, layer3_col44_net1, layer4_col44_net3, layer4_col45_net1);
full_adder fa_add4_77 (layer3_col45_net6, layer3_col45_net5, layer3_col45_net4, layer4_col45_net2, layer4_col46_net0);
full_adder fa_add4_78 (layer3_col45_net3, layer3_col45_net2, layer3_col45_net1, layer4_col45_net3, layer4_col46_net1);
full_adder fa_add4_79 (layer3_col46_net4, layer3_col46_net3, layer3_col46_net2, layer4_col46_net2, layer4_col47_net0);
full_adder fa_add4_80 (layer3_col47_net5, layer3_col47_net4, layer3_col47_net3, layer4_col47_net1, layer4_col48_net0);
full_adder fa_add4_81 (layer3_col47_net2, layer3_col47_net1, layer3_col47_net0, layer4_col47_net2, layer4_col48_net1);
full_adder fa_add4_82 (layer3_col48_net5, layer3_col48_net4, layer3_col48_net3, layer4_col48_net2, layer4_col49_net0);
full_adder fa_add4_83 (layer3_col48_net2, layer3_col48_net1, layer3_col48_net0, layer4_col48_net3, layer4_col49_net1);
full_adder fa_add4_84 (layer3_col49_net5, layer3_col49_net4, layer3_col49_net3, layer4_col49_net2, layer4_col50_net0);
full_adder fa_add4_85 (layer3_col49_net2, layer3_col49_net1, layer3_col49_net0, layer4_col49_net3, layer4_col50_net1);
full_adder fa_add4_86 (layer3_col50_net3, layer3_col50_net2, layer3_col50_net1, layer4_col50_net2, layer4_col51_net0);
full_adder fa_add4_87 (layer3_col51_net4, layer3_col51_net3, layer3_col51_net2, layer4_col51_net1, layer4_col52_net0);
full_adder fa_add4_88 (layer3_col52_net4, layer3_col52_net3, layer3_col52_net2, layer4_col52_net1, layer4_col53_net0);
full_adder fa_add4_89 (layer3_col53_net2, layer3_col53_net1, layer3_col53_net0, layer4_col53_net1, layer4_col54_net0);
full_adder fa_add4_90 (layer3_col54_net3, layer3_col54_net2, layer3_col54_net1, layer4_col54_net1, layer4_col55_net0);
full_adder fa_add4_91 (layer3_col55_net3, layer3_col55_net2, layer3_col55_net1, layer4_col55_net1, layer4_col56_net0);
full_adder fa_add4_92 (layer3_col56_net3, layer3_col56_net2, layer3_col56_net1, layer4_col56_net1, layer4_col57_net0);
full_adder fa_add4_93 (layer3_col58_net2, layer3_col58_net1, layer3_col58_net0, layer4_col58_net0, layer4_col59_net0);
full_adder fa_add4_94 (layer3_col59_net2, layer3_col59_net1, layer3_col59_net0, layer4_col59_net1, layer4_col60_net0);

//----------- Reduction Layer 5 Start --------------

assign layer5_col0_net0 = layer4_col0_net0;
assign layer5_col1_net0 = layer4_col1_net1;
assign layer5_col1_net1 = layer4_col1_net0;
assign layer5_col2_net0 = layer4_col2_net1;
assign layer5_col2_net1 = layer4_col2_net0;
assign layer5_col3_net0 = layer4_col3_net1;
assign layer5_col3_net1 = layer4_col3_net0;
assign layer5_col4_net0 = layer4_col4_net1;
assign layer5_col4_net1 = layer4_col4_net0;
assign layer5_col5_net0 = layer4_col5_net1;
assign layer5_col5_net1 = layer4_col5_net0;
assign layer5_col6_net1 = layer4_col6_net0;
assign layer5_col7_net1 = layer4_col7_net1;
assign layer5_col7_net2 = layer4_col7_net0;
assign layer5_col8_net0 = layer4_col8_net1;
assign layer5_col8_net1 = layer4_col8_net0;
assign layer5_col9_net0 = layer4_col9_net1;
assign layer5_col9_net1 = layer4_col9_net0;
assign layer5_col10_net0 = layer4_col10_net1;
assign layer5_col10_net1 = layer4_col10_net0;
assign layer5_col11_net1 = layer4_col11_net0;
assign layer5_col16_net2 = layer4_col16_net1;
assign layer5_col16_net3 = layer4_col16_net0;
assign layer5_col17_net2 = layer4_col17_net0;
assign layer5_col18_net2 = layer4_col18_net0;
assign layer5_col19_net2 = layer4_col19_net0;
assign layer5_col20_net2 = layer4_col20_net0;
assign layer5_col21_net2 = layer4_col21_net0;
assign layer5_col23_net3 = layer4_col23_net1;
assign layer5_col23_net4 = layer4_col23_net0;
assign layer5_col24_net2 = layer4_col24_net1;
assign layer5_col24_net3 = layer4_col24_net0;
assign layer5_col25_net2 = layer4_col25_net1;
assign layer5_col25_net3 = layer4_col25_net0;
assign layer5_col26_net3 = layer4_col26_net0;
assign layer5_col32_net4 = layer4_col32_net1;
assign layer5_col32_net5 = layer4_col32_net0;
assign layer5_col34_net4 = layer4_col34_net0;
assign layer5_col35_net4 = layer4_col35_net0;
assign layer5_col36_net4 = layer4_col36_net0;
assign layer5_col37_net3 = layer4_col37_net1;
assign layer5_col37_net4 = layer4_col37_net0;
assign layer5_col43_net3 = layer4_col43_net0;
assign layer5_col44_net2 = layer4_col44_net1;
assign layer5_col44_net3 = layer4_col44_net0;
assign layer5_col45_net2 = layer4_col45_net1;
assign layer5_col45_net3 = layer4_col45_net0;
assign layer5_col46_net2 = layer4_col46_net1;
assign layer5_col46_net3 = layer4_col46_net0;
assign layer5_col48_net2 = layer4_col48_net0;
assign layer5_col49_net2 = layer4_col49_net0;
assign layer5_col50_net2 = layer4_col50_net0;
assign layer5_col51_net2 = layer4_col51_net0;
assign layer5_col52_net2 = layer4_col52_net0;
assign layer5_col53_net1 = layer4_col53_net1;
assign layer5_col53_net2 = layer4_col53_net0;
assign layer5_col58_net1 = layer4_col58_net0;
assign layer5_col59_net0 = layer4_col59_net1;
assign layer5_col59_net1 = layer4_col59_net0;
assign layer5_col60_net0 = layer4_col60_net1;
assign layer5_col60_net1 = layer4_col60_net0;
assign layer5_col61_net0 = layer4_col61_net1;
assign layer5_col61_net1 = layer4_col61_net0;
assign layer5_col62_net0 = layer4_col62_net1;
assign layer5_col62_net1 = layer4_col62_net0;
half_adder ha_add5_0 (layer4_col6_net2, layer4_col6_net1, layer5_col6_net0, layer5_col7_net0);
full_adder fa_add5_0 (layer4_col11_net3, layer4_col11_net2, layer4_col11_net1, layer5_col11_net0, layer5_col12_net0);
full_adder fa_add5_1 (layer4_col12_net2, layer4_col12_net1, layer4_col12_net0, layer5_col12_net1, layer5_col13_net0);
full_adder fa_add5_2 (layer4_col13_net2, layer4_col13_net1, layer4_col13_net0, layer5_col13_net1, layer5_col14_net0);
full_adder fa_add5_3 (layer4_col14_net2, layer4_col14_net1, layer4_col14_net0, layer5_col14_net1, layer5_col15_net0);
full_adder fa_add5_4 (layer4_col15_net2, layer4_col15_net1, layer4_col15_net0, layer5_col15_net1, layer5_col16_net0);
full_adder fa_add5_5 (layer4_col16_net4, layer4_col16_net3, layer4_col16_net2, layer5_col16_net1, layer5_col17_net0);
full_adder fa_add5_6 (layer4_col17_net3, layer4_col17_net2, layer4_col17_net1, layer5_col17_net1, layer5_col18_net0);
full_adder fa_add5_7 (layer4_col18_net3, layer4_col18_net2, layer4_col18_net1, layer5_col18_net1, layer5_col19_net0);
full_adder fa_add5_8 (layer4_col19_net3, layer4_col19_net2, layer4_col19_net1, layer5_col19_net1, layer5_col20_net0);
full_adder fa_add5_9 (layer4_col20_net3, layer4_col20_net2, layer4_col20_net1, layer5_col20_net1, layer5_col21_net0);
full_adder fa_add5_10 (layer4_col21_net3, layer4_col21_net2, layer4_col21_net1, layer5_col21_net1, layer5_col22_net0);
full_adder fa_add5_11 (layer4_col22_net5, layer4_col22_net4, layer4_col22_net3, layer5_col22_net1, layer5_col23_net0);
full_adder fa_add5_12 (layer4_col22_net2, layer4_col22_net1, layer4_col22_net0, layer5_col22_net2, layer5_col23_net1);
full_adder fa_add5_13 (layer4_col23_net4, layer4_col23_net3, layer4_col23_net2, layer5_col23_net2, layer5_col24_net0);
full_adder fa_add5_14 (layer4_col24_net4, layer4_col24_net3, layer4_col24_net2, layer5_col24_net1, layer5_col25_net0);
full_adder fa_add5_15 (layer4_col25_net4, layer4_col25_net3, layer4_col25_net2, layer5_col25_net1, layer5_col26_net0);
full_adder fa_add5_16 (layer4_col26_net6, layer4_col26_net5, layer4_col26_net4, layer5_col26_net1, layer5_col27_net0);
full_adder fa_add5_17 (layer4_col26_net3, layer4_col26_net2, layer4_col26_net1, layer5_col26_net2, layer5_col27_net1);
full_adder fa_add5_18 (layer4_col27_net5, layer4_col27_net4, layer4_col27_net3, layer5_col27_net2, layer5_col28_net0);
full_adder fa_add5_19 (layer4_col27_net2, layer4_col27_net1, layer4_col27_net0, layer5_col27_net3, layer5_col28_net1);
full_adder fa_add5_20 (layer4_col28_net5, layer4_col28_net4, layer4_col28_net3, layer5_col28_net2, layer5_col29_net0);
full_adder fa_add5_21 (layer4_col28_net2, layer4_col28_net1, layer4_col28_net0, layer5_col28_net3, layer5_col29_net1);
full_adder fa_add5_22 (layer4_col29_net5, layer4_col29_net4, layer4_col29_net3, layer5_col29_net2, layer5_col30_net0);
full_adder fa_add5_23 (layer4_col29_net2, layer4_col29_net1, layer4_col29_net0, layer5_col29_net3, layer5_col30_net1);
full_adder fa_add5_24 (layer4_col30_net5, layer4_col30_net4, layer4_col30_net3, layer5_col30_net2, layer5_col31_net0);
full_adder fa_add5_25 (layer4_col30_net2, layer4_col30_net1, layer4_col30_net0, layer5_col30_net3, layer5_col31_net1);
full_adder fa_add5_26 (layer4_col31_net5, layer4_col31_net4, layer4_col31_net3, layer5_col31_net2, layer5_col32_net0);
full_adder fa_add5_27 (layer4_col31_net2, layer4_col31_net1, layer4_col31_net0, layer5_col31_net3, layer5_col32_net1);
full_adder fa_add5_28 (layer4_col32_net7, layer4_col32_net6, layer4_col32_net5, layer5_col32_net2, layer5_col33_net0);
full_adder fa_add5_29 (layer4_col32_net4, layer4_col32_net3, layer4_col32_net2, layer5_col32_net3, layer5_col33_net1);
full_adder fa_add5_30 (layer4_col33_net5, layer4_col33_net4, layer4_col33_net3, layer5_col33_net2, layer5_col34_net0);
full_adder fa_add5_31 (layer4_col33_net2, layer4_col33_net1, layer4_col33_net0, layer5_col33_net3, layer5_col34_net1);
full_adder fa_add5_32 (layer4_col34_net6, layer4_col34_net5, layer4_col34_net4, layer5_col34_net2, layer5_col35_net0);
full_adder fa_add5_33 (layer4_col34_net3, layer4_col34_net2, layer4_col34_net1, layer5_col34_net3, layer5_col35_net1);
full_adder fa_add5_34 (layer4_col35_net6, layer4_col35_net5, layer4_col35_net4, layer5_col35_net2, layer5_col36_net0);
full_adder fa_add5_35 (layer4_col35_net3, layer4_col35_net2, layer4_col35_net1, layer5_col35_net3, layer5_col36_net1);
full_adder fa_add5_36 (layer4_col36_net6, layer4_col36_net5, layer4_col36_net4, layer5_col36_net2, layer5_col37_net0);
full_adder fa_add5_37 (layer4_col36_net3, layer4_col36_net2, layer4_col36_net1, layer5_col36_net3, layer5_col37_net1);
full_adder fa_add5_38 (layer4_col37_net4, layer4_col37_net3, layer4_col37_net2, layer5_col37_net2, layer5_col38_net0);
full_adder fa_add5_39 (layer4_col38_net5, layer4_col38_net4, layer4_col38_net3, layer5_col38_net1, layer5_col39_net0);
full_adder fa_add5_40 (layer4_col38_net2, layer4_col38_net1, layer4_col38_net0, layer5_col38_net2, layer5_col39_net1);
full_adder fa_add5_41 (layer4_col39_net5, layer4_col39_net4, layer4_col39_net3, layer5_col39_net2, layer5_col40_net0);
full_adder fa_add5_42 (layer4_col39_net2, layer4_col39_net1, layer4_col39_net0, layer5_col39_net3, layer5_col40_net1);
full_adder fa_add5_43 (layer4_col40_net5, layer4_col40_net4, layer4_col40_net3, layer5_col40_net2, layer5_col41_net0);
full_adder fa_add5_44 (layer4_col40_net2, layer4_col40_net1, layer4_col40_net0, layer5_col40_net3, layer5_col41_net1);
full_adder fa_add5_45 (layer4_col41_net5, layer4_col41_net4, layer4_col41_net3, layer5_col41_net2, layer5_col42_net0);
full_adder fa_add5_46 (layer4_col41_net2, layer4_col41_net1, layer4_col41_net0, layer5_col41_net3, layer5_col42_net1);
full_adder fa_add5_47 (layer4_col42_net5, layer4_col42_net4, layer4_col42_net3, layer5_col42_net2, layer5_col43_net0);
full_adder fa_add5_48 (layer4_col42_net2, layer4_col42_net1, layer4_col42_net0, layer5_col42_net3, layer5_col43_net1);
full_adder fa_add5_49 (layer4_col43_net3, layer4_col43_net2, layer4_col43_net1, layer5_col43_net2, layer5_col44_net0);
full_adder fa_add5_50 (layer4_col44_net4, layer4_col44_net3, layer4_col44_net2, layer5_col44_net1, layer5_col45_net0);
full_adder fa_add5_51 (layer4_col45_net4, layer4_col45_net3, layer4_col45_net2, layer5_col45_net1, layer5_col46_net0);
full_adder fa_add5_52 (layer4_col46_net4, layer4_col46_net3, layer4_col46_net2, layer5_col46_net1, layer5_col47_net0);
full_adder fa_add5_53 (layer4_col47_net2, layer4_col47_net1, layer4_col47_net0, layer5_col47_net1, layer5_col48_net0);
full_adder fa_add5_54 (layer4_col48_net3, layer4_col48_net2, layer4_col48_net1, layer5_col48_net1, layer5_col49_net0);
full_adder fa_add5_55 (layer4_col49_net3, layer4_col49_net2, layer4_col49_net1, layer5_col49_net1, layer5_col50_net0);
full_adder fa_add5_56 (layer4_col50_net3, layer4_col50_net2, layer4_col50_net1, layer5_col50_net1, layer5_col51_net0);
full_adder fa_add5_57 (layer4_col51_net3, layer4_col51_net2, layer4_col51_net1, layer5_col51_net1, layer5_col52_net0);
full_adder fa_add5_58 (layer4_col52_net3, layer4_col52_net2, layer4_col52_net1, layer5_col52_net1, layer5_col53_net0);
full_adder fa_add5_59 (layer4_col54_net2, layer4_col54_net1, layer4_col54_net0, layer5_col54_net0, layer5_col55_net0);
full_adder fa_add5_60 (layer4_col55_net2, layer4_col55_net1, layer4_col55_net0, layer5_col55_net1, layer5_col56_net0);
full_adder fa_add5_61 (layer4_col56_net2, layer4_col56_net1, layer4_col56_net0, layer5_col56_net1, layer5_col57_net0);
full_adder fa_add5_62 (layer4_col57_net2, layer4_col57_net1, layer4_col57_net0, layer5_col57_net1, layer5_col58_net0);

//----------- Reduction Layer 6 Start --------------

assign layer6_col0_net0 = layer5_col0_net0;
assign layer6_col1_net0 = layer5_col1_net1;
assign layer6_col1_net1 = layer5_col1_net0;
assign layer6_col2_net0 = layer5_col2_net1;
assign layer6_col2_net1 = layer5_col2_net0;
assign layer6_col3_net0 = layer5_col3_net1;
assign layer6_col3_net1 = layer5_col3_net0;
assign layer6_col4_net0 = layer5_col4_net1;
assign layer6_col4_net1 = layer5_col4_net0;
assign layer6_col5_net0 = layer5_col5_net1;
assign layer6_col5_net1 = layer5_col5_net0;
assign layer6_col6_net0 = layer5_col6_net1;
assign layer6_col6_net1 = layer5_col6_net0;
assign layer6_col7_net1 = layer5_col7_net0;
assign layer6_col8_net1 = layer5_col8_net1;
assign layer6_col8_net2 = layer5_col8_net0;
assign layer6_col9_net0 = layer5_col9_net1;
assign layer6_col9_net1 = layer5_col9_net0;
assign layer6_col10_net0 = layer5_col10_net1;
assign layer6_col10_net1 = layer5_col10_net0;
assign layer6_col11_net0 = layer5_col11_net1;
assign layer6_col11_net1 = layer5_col11_net0;
assign layer6_col12_net0 = layer5_col12_net1;
assign layer6_col12_net1 = layer5_col12_net0;
assign layer6_col13_net0 = layer5_col13_net1;
assign layer6_col13_net1 = layer5_col13_net0;
assign layer6_col14_net0 = layer5_col14_net1;
assign layer6_col14_net1 = layer5_col14_net0;
assign layer6_col15_net0 = layer5_col15_net1;
assign layer6_col15_net1 = layer5_col15_net0;
assign layer6_col16_net1 = layer5_col16_net0;
assign layer6_col23_net2 = layer5_col23_net1;
assign layer6_col23_net3 = layer5_col23_net0;
assign layer6_col24_net2 = layer5_col24_net0;
assign layer6_col25_net2 = layer5_col25_net0;
assign layer6_col26_net2 = layer5_col26_net0;
assign layer6_col27_net2 = layer5_col27_net0;
assign layer6_col28_net2 = layer5_col28_net0;
assign layer6_col29_net2 = layer5_col29_net0;
assign layer6_col30_net2 = layer5_col30_net0;
assign layer6_col31_net2 = layer5_col31_net0;
assign layer6_col33_net3 = layer5_col33_net0;
assign layer6_col34_net2 = layer5_col34_net1;
assign layer6_col34_net3 = layer5_col34_net0;
assign layer6_col35_net2 = layer5_col35_net1;
assign layer6_col35_net3 = layer5_col35_net0;
assign layer6_col36_net2 = layer5_col36_net1;
assign layer6_col36_net3 = layer5_col36_net0;
assign layer6_col37_net2 = layer5_col37_net1;
assign layer6_col37_net3 = layer5_col37_net0;
assign layer6_col39_net2 = layer5_col39_net0;
assign layer6_col40_net2 = layer5_col40_net0;
assign layer6_col41_net2 = layer5_col41_net0;
assign layer6_col42_net2 = layer5_col42_net0;
assign layer6_col43_net2 = layer5_col43_net0;
assign layer6_col44_net2 = layer5_col44_net0;
assign layer6_col45_net2 = layer5_col45_net0;
assign layer6_col46_net2 = layer5_col46_net0;
assign layer6_col47_net1 = layer5_col47_net1;
assign layer6_col47_net2 = layer5_col47_net0;
assign layer6_col54_net1 = layer5_col54_net0;
assign layer6_col55_net0 = layer5_col55_net1;
assign layer6_col55_net1 = layer5_col55_net0;
assign layer6_col56_net0 = layer5_col56_net1;
assign layer6_col56_net1 = layer5_col56_net0;
assign layer6_col57_net0 = layer5_col57_net1;
assign layer6_col57_net1 = layer5_col57_net0;
assign layer6_col58_net0 = layer5_col58_net1;
assign layer6_col58_net1 = layer5_col58_net0;
assign layer6_col59_net0 = layer5_col59_net1;
assign layer6_col59_net1 = layer5_col59_net0;
assign layer6_col60_net0 = layer5_col60_net1;
assign layer6_col60_net1 = layer5_col60_net0;
assign layer6_col61_net0 = layer5_col61_net1;
assign layer6_col61_net1 = layer5_col61_net0;
assign layer6_col62_net0 = layer5_col62_net1;
assign layer6_col62_net1 = layer5_col62_net0;
half_adder ha_add6_0 (layer5_col7_net2, layer5_col7_net1, layer6_col7_net0, layer6_col8_net0);
full_adder fa_add6_0 (layer5_col16_net3, layer5_col16_net2, layer5_col16_net1, layer6_col16_net0, layer6_col17_net0);
full_adder fa_add6_1 (layer5_col17_net2, layer5_col17_net1, layer5_col17_net0, layer6_col17_net1, layer6_col18_net0);
full_adder fa_add6_2 (layer5_col18_net2, layer5_col18_net1, layer5_col18_net0, layer6_col18_net1, layer6_col19_net0);
full_adder fa_add6_3 (layer5_col19_net2, layer5_col19_net1, layer5_col19_net0, layer6_col19_net1, layer6_col20_net0);
full_adder fa_add6_4 (layer5_col20_net2, layer5_col20_net1, layer5_col20_net0, layer6_col20_net1, layer6_col21_net0);
full_adder fa_add6_5 (layer5_col21_net2, layer5_col21_net1, layer5_col21_net0, layer6_col21_net1, layer6_col22_net0);
full_adder fa_add6_6 (layer5_col22_net2, layer5_col22_net1, layer5_col22_net0, layer6_col22_net1, layer6_col23_net0);
full_adder fa_add6_7 (layer5_col23_net4, layer5_col23_net3, layer5_col23_net2, layer6_col23_net1, layer6_col24_net0);
full_adder fa_add6_8 (layer5_col24_net3, layer5_col24_net2, layer5_col24_net1, layer6_col24_net1, layer6_col25_net0);
full_adder fa_add6_9 (layer5_col25_net3, layer5_col25_net2, layer5_col25_net1, layer6_col25_net1, layer6_col26_net0);
full_adder fa_add6_10 (layer5_col26_net3, layer5_col26_net2, layer5_col26_net1, layer6_col26_net1, layer6_col27_net0);
full_adder fa_add6_11 (layer5_col27_net3, layer5_col27_net2, layer5_col27_net1, layer6_col27_net1, layer6_col28_net0);
full_adder fa_add6_12 (layer5_col28_net3, layer5_col28_net2, layer5_col28_net1, layer6_col28_net1, layer6_col29_net0);
full_adder fa_add6_13 (layer5_col29_net3, layer5_col29_net2, layer5_col29_net1, layer6_col29_net1, layer6_col30_net0);
full_adder fa_add6_14 (layer5_col30_net3, layer5_col30_net2, layer5_col30_net1, layer6_col30_net1, layer6_col31_net0);
full_adder fa_add6_15 (layer5_col31_net3, layer5_col31_net2, layer5_col31_net1, layer6_col31_net1, layer6_col32_net0);
full_adder fa_add6_16 (layer5_col32_net5, layer5_col32_net4, layer5_col32_net3, layer6_col32_net1, layer6_col33_net0);
full_adder fa_add6_17 (layer5_col32_net2, layer5_col32_net1, layer5_col32_net0, layer6_col32_net2, layer6_col33_net1);
full_adder fa_add6_18 (layer5_col33_net3, layer5_col33_net2, layer5_col33_net1, layer6_col33_net2, layer6_col34_net0);
full_adder fa_add6_19 (layer5_col34_net4, layer5_col34_net3, layer5_col34_net2, layer6_col34_net1, layer6_col35_net0);
full_adder fa_add6_20 (layer5_col35_net4, layer5_col35_net3, layer5_col35_net2, layer6_col35_net1, layer6_col36_net0);
full_adder fa_add6_21 (layer5_col36_net4, layer5_col36_net3, layer5_col36_net2, layer6_col36_net1, layer6_col37_net0);
full_adder fa_add6_22 (layer5_col37_net4, layer5_col37_net3, layer5_col37_net2, layer6_col37_net1, layer6_col38_net0);
full_adder fa_add6_23 (layer5_col38_net2, layer5_col38_net1, layer5_col38_net0, layer6_col38_net1, layer6_col39_net0);
full_adder fa_add6_24 (layer5_col39_net3, layer5_col39_net2, layer5_col39_net1, layer6_col39_net1, layer6_col40_net0);
full_adder fa_add6_25 (layer5_col40_net3, layer5_col40_net2, layer5_col40_net1, layer6_col40_net1, layer6_col41_net0);
full_adder fa_add6_26 (layer5_col41_net3, layer5_col41_net2, layer5_col41_net1, layer6_col41_net1, layer6_col42_net0);
full_adder fa_add6_27 (layer5_col42_net3, layer5_col42_net2, layer5_col42_net1, layer6_col42_net1, layer6_col43_net0);
full_adder fa_add6_28 (layer5_col43_net3, layer5_col43_net2, layer5_col43_net1, layer6_col43_net1, layer6_col44_net0);
full_adder fa_add6_29 (layer5_col44_net3, layer5_col44_net2, layer5_col44_net1, layer6_col44_net1, layer6_col45_net0);
full_adder fa_add6_30 (layer5_col45_net3, layer5_col45_net2, layer5_col45_net1, layer6_col45_net1, layer6_col46_net0);
full_adder fa_add6_31 (layer5_col46_net3, layer5_col46_net2, layer5_col46_net1, layer6_col46_net1, layer6_col47_net0);
full_adder fa_add6_32 (layer5_col48_net2, layer5_col48_net1, layer5_col48_net0, layer6_col48_net0, layer6_col49_net0);
full_adder fa_add6_33 (layer5_col49_net2, layer5_col49_net1, layer5_col49_net0, layer6_col49_net1, layer6_col50_net0);
full_adder fa_add6_34 (layer5_col50_net2, layer5_col50_net1, layer5_col50_net0, layer6_col50_net1, layer6_col51_net0);
full_adder fa_add6_35 (layer5_col51_net2, layer5_col51_net1, layer5_col51_net0, layer6_col51_net1, layer6_col52_net0);
full_adder fa_add6_36 (layer5_col52_net2, layer5_col52_net1, layer5_col52_net0, layer6_col52_net1, layer6_col53_net0);
full_adder fa_add6_37 (layer5_col53_net2, layer5_col53_net1, layer5_col53_net0, layer6_col53_net1, layer6_col54_net0);

//----------- Reduction Layer 7 Start --------------

assign layer7_col0_net0 = layer6_col0_net0;
assign layer7_col1_net0 = layer6_col1_net1;
assign layer7_col1_net1 = layer6_col1_net0;
assign layer7_col2_net0 = layer6_col2_net1;
assign layer7_col2_net1 = layer6_col2_net0;
assign layer7_col3_net0 = layer6_col3_net1;
assign layer7_col3_net1 = layer6_col3_net0;
assign layer7_col4_net0 = layer6_col4_net1;
assign layer7_col4_net1 = layer6_col4_net0;
assign layer7_col5_net0 = layer6_col5_net1;
assign layer7_col5_net1 = layer6_col5_net0;
assign layer7_col6_net0 = layer6_col6_net1;
assign layer7_col6_net1 = layer6_col6_net0;
assign layer7_col7_net0 = layer6_col7_net1;
assign layer7_col7_net1 = layer6_col7_net0;
assign layer7_col8_net1 = layer6_col8_net0;
assign layer7_col9_net1 = layer6_col9_net1;
assign layer7_col9_net2 = layer6_col9_net0;
assign layer7_col10_net0 = layer6_col10_net1;
assign layer7_col10_net1 = layer6_col10_net0;
assign layer7_col11_net0 = layer6_col11_net1;
assign layer7_col11_net1 = layer6_col11_net0;
assign layer7_col12_net0 = layer6_col12_net1;
assign layer7_col12_net1 = layer6_col12_net0;
assign layer7_col13_net0 = layer6_col13_net1;
assign layer7_col13_net1 = layer6_col13_net0;
assign layer7_col14_net0 = layer6_col14_net1;
assign layer7_col14_net1 = layer6_col14_net0;
assign layer7_col15_net0 = layer6_col15_net1;
assign layer7_col15_net1 = layer6_col15_net0;
assign layer7_col16_net0 = layer6_col16_net1;
assign layer7_col16_net1 = layer6_col16_net0;
assign layer7_col17_net0 = layer6_col17_net1;
assign layer7_col17_net1 = layer6_col17_net0;
assign layer7_col18_net0 = layer6_col18_net1;
assign layer7_col18_net1 = layer6_col18_net0;
assign layer7_col19_net0 = layer6_col19_net1;
assign layer7_col19_net1 = layer6_col19_net0;
assign layer7_col20_net0 = layer6_col20_net1;
assign layer7_col20_net1 = layer6_col20_net0;
assign layer7_col21_net0 = layer6_col21_net1;
assign layer7_col21_net1 = layer6_col21_net0;
assign layer7_col22_net0 = layer6_col22_net1;
assign layer7_col22_net1 = layer6_col22_net0;
assign layer7_col23_net1 = layer6_col23_net0;
assign layer7_col33_net2 = layer6_col33_net0;
assign layer7_col34_net2 = layer6_col34_net0;
assign layer7_col35_net2 = layer6_col35_net0;
assign layer7_col36_net2 = layer6_col36_net0;
assign layer7_col37_net2 = layer6_col37_net0;
assign layer7_col38_net1 = layer6_col38_net1;
assign layer7_col38_net2 = layer6_col38_net0;
assign layer7_col48_net1 = layer6_col48_net0;
assign layer7_col49_net0 = layer6_col49_net1;
assign layer7_col49_net1 = layer6_col49_net0;
assign layer7_col50_net0 = layer6_col50_net1;
assign layer7_col50_net1 = layer6_col50_net0;
assign layer7_col51_net0 = layer6_col51_net1;
assign layer7_col51_net1 = layer6_col51_net0;
assign layer7_col52_net0 = layer6_col52_net1;
assign layer7_col52_net1 = layer6_col52_net0;
assign layer7_col53_net0 = layer6_col53_net1;
assign layer7_col53_net1 = layer6_col53_net0;
assign layer7_col54_net0 = layer6_col54_net1;
assign layer7_col54_net1 = layer6_col54_net0;
assign layer7_col55_net0 = layer6_col55_net1;
assign layer7_col55_net1 = layer6_col55_net0;
assign layer7_col56_net0 = layer6_col56_net1;
assign layer7_col56_net1 = layer6_col56_net0;
assign layer7_col57_net0 = layer6_col57_net1;
assign layer7_col57_net1 = layer6_col57_net0;
assign layer7_col58_net0 = layer6_col58_net1;
assign layer7_col58_net1 = layer6_col58_net0;
assign layer7_col59_net0 = layer6_col59_net1;
assign layer7_col59_net1 = layer6_col59_net0;
assign layer7_col60_net0 = layer6_col60_net1;
assign layer7_col60_net1 = layer6_col60_net0;
assign layer7_col61_net0 = layer6_col61_net1;
assign layer7_col61_net1 = layer6_col61_net0;
assign layer7_col62_net0 = layer6_col62_net1;
assign layer7_col62_net1 = layer6_col62_net0;
half_adder ha_add7_0 (layer6_col8_net2, layer6_col8_net1, layer7_col8_net0, layer7_col9_net0);
full_adder fa_add7_0 (layer6_col23_net3, layer6_col23_net2, layer6_col23_net1, layer7_col23_net0, layer7_col24_net0);
full_adder fa_add7_1 (layer6_col24_net2, layer6_col24_net1, layer6_col24_net0, layer7_col24_net1, layer7_col25_net0);
full_adder fa_add7_2 (layer6_col25_net2, layer6_col25_net1, layer6_col25_net0, layer7_col25_net1, layer7_col26_net0);
full_adder fa_add7_3 (layer6_col26_net2, layer6_col26_net1, layer6_col26_net0, layer7_col26_net1, layer7_col27_net0);
full_adder fa_add7_4 (layer6_col27_net2, layer6_col27_net1, layer6_col27_net0, layer7_col27_net1, layer7_col28_net0);
full_adder fa_add7_5 (layer6_col28_net2, layer6_col28_net1, layer6_col28_net0, layer7_col28_net1, layer7_col29_net0);
full_adder fa_add7_6 (layer6_col29_net2, layer6_col29_net1, layer6_col29_net0, layer7_col29_net1, layer7_col30_net0);
full_adder fa_add7_7 (layer6_col30_net2, layer6_col30_net1, layer6_col30_net0, layer7_col30_net1, layer7_col31_net0);
full_adder fa_add7_8 (layer6_col31_net2, layer6_col31_net1, layer6_col31_net0, layer7_col31_net1, layer7_col32_net0);
full_adder fa_add7_9 (layer6_col32_net2, layer6_col32_net1, layer6_col32_net0, layer7_col32_net1, layer7_col33_net0);
full_adder fa_add7_10 (layer6_col33_net3, layer6_col33_net2, layer6_col33_net1, layer7_col33_net1, layer7_col34_net0);
full_adder fa_add7_11 (layer6_col34_net3, layer6_col34_net2, layer6_col34_net1, layer7_col34_net1, layer7_col35_net0);
full_adder fa_add7_12 (layer6_col35_net3, layer6_col35_net2, layer6_col35_net1, layer7_col35_net1, layer7_col36_net0);
full_adder fa_add7_13 (layer6_col36_net3, layer6_col36_net2, layer6_col36_net1, layer7_col36_net1, layer7_col37_net0);
full_adder fa_add7_14 (layer6_col37_net3, layer6_col37_net2, layer6_col37_net1, layer7_col37_net1, layer7_col38_net0);
full_adder fa_add7_15 (layer6_col39_net2, layer6_col39_net1, layer6_col39_net0, layer7_col39_net0, layer7_col40_net0);
full_adder fa_add7_16 (layer6_col40_net2, layer6_col40_net1, layer6_col40_net0, layer7_col40_net1, layer7_col41_net0);
full_adder fa_add7_17 (layer6_col41_net2, layer6_col41_net1, layer6_col41_net0, layer7_col41_net1, layer7_col42_net0);
full_adder fa_add7_18 (layer6_col42_net2, layer6_col42_net1, layer6_col42_net0, layer7_col42_net1, layer7_col43_net0);
full_adder fa_add7_19 (layer6_col43_net2, layer6_col43_net1, layer6_col43_net0, layer7_col43_net1, layer7_col44_net0);
full_adder fa_add7_20 (layer6_col44_net2, layer6_col44_net1, layer6_col44_net0, layer7_col44_net1, layer7_col45_net0);
full_adder fa_add7_21 (layer6_col45_net2, layer6_col45_net1, layer6_col45_net0, layer7_col45_net1, layer7_col46_net0);
full_adder fa_add7_22 (layer6_col46_net2, layer6_col46_net1, layer6_col46_net0, layer7_col46_net1, layer7_col47_net0);
full_adder fa_add7_23 (layer6_col47_net2, layer6_col47_net1, layer6_col47_net0, layer7_col47_net1, layer7_col48_net0);

//----------- Reduction Layer 8 Start --------------

assign layer8_col0_net0 = layer7_col0_net0;
assign layer8_col1_net0 = layer7_col1_net1;
assign layer8_col1_net1 = layer7_col1_net0;
assign layer8_col2_net0 = layer7_col2_net1;
assign layer8_col2_net1 = layer7_col2_net0;
assign layer8_col3_net0 = layer7_col3_net1;
assign layer8_col3_net1 = layer7_col3_net0;
assign layer8_col4_net0 = layer7_col4_net1;
assign layer8_col4_net1 = layer7_col4_net0;
assign layer8_col5_net0 = layer7_col5_net1;
assign layer8_col5_net1 = layer7_col5_net0;
assign layer8_col6_net0 = layer7_col6_net1;
assign layer8_col6_net1 = layer7_col6_net0;
assign layer8_col7_net0 = layer7_col7_net1;
assign layer8_col7_net1 = layer7_col7_net0;
assign layer8_col8_net0 = layer7_col8_net1;
assign layer8_col8_net1 = layer7_col8_net0;
assign layer8_col9_net1 = layer7_col9_net0;
assign layer8_col39_net1 = layer7_col39_net0;
assign layer8_col40_net0 = layer7_col40_net1;
assign layer8_col40_net1 = layer7_col40_net0;
assign layer8_col41_net0 = layer7_col41_net1;
assign layer8_col41_net1 = layer7_col41_net0;
assign layer8_col42_net0 = layer7_col42_net1;
assign layer8_col42_net1 = layer7_col42_net0;
assign layer8_col43_net0 = layer7_col43_net1;
assign layer8_col43_net1 = layer7_col43_net0;
assign layer8_col44_net0 = layer7_col44_net1;
assign layer8_col44_net1 = layer7_col44_net0;
assign layer8_col45_net0 = layer7_col45_net1;
assign layer8_col45_net1 = layer7_col45_net0;
assign layer8_col46_net0 = layer7_col46_net1;
assign layer8_col46_net1 = layer7_col46_net0;
assign layer8_col47_net0 = layer7_col47_net1;
assign layer8_col47_net1 = layer7_col47_net0;
assign layer8_col48_net0 = layer7_col48_net1;
assign layer8_col48_net1 = layer7_col48_net0;
assign layer8_col49_net0 = layer7_col49_net1;
assign layer8_col49_net1 = layer7_col49_net0;
assign layer8_col50_net0 = layer7_col50_net1;
assign layer8_col50_net1 = layer7_col50_net0;
assign layer8_col51_net0 = layer7_col51_net1;
assign layer8_col51_net1 = layer7_col51_net0;
assign layer8_col52_net0 = layer7_col52_net1;
assign layer8_col52_net1 = layer7_col52_net0;
assign layer8_col53_net0 = layer7_col53_net1;
assign layer8_col53_net1 = layer7_col53_net0;
assign layer8_col54_net0 = layer7_col54_net1;
assign layer8_col54_net1 = layer7_col54_net0;
assign layer8_col55_net0 = layer7_col55_net1;
assign layer8_col55_net1 = layer7_col55_net0;
assign layer8_col56_net0 = layer7_col56_net1;
assign layer8_col56_net1 = layer7_col56_net0;
assign layer8_col57_net0 = layer7_col57_net1;
assign layer8_col57_net1 = layer7_col57_net0;
assign layer8_col58_net0 = layer7_col58_net1;
assign layer8_col58_net1 = layer7_col58_net0;
assign layer8_col59_net0 = layer7_col59_net1;
assign layer8_col59_net1 = layer7_col59_net0;
assign layer8_col60_net0 = layer7_col60_net1;
assign layer8_col60_net1 = layer7_col60_net0;
assign layer8_col61_net0 = layer7_col61_net1;
assign layer8_col61_net1 = layer7_col61_net0;
assign layer8_col62_net0 = layer7_col62_net1;
assign layer8_col62_net1 = layer7_col62_net0;
half_adder ha_add8_0 (layer7_col9_net2, layer7_col9_net1, layer8_col9_net0, layer8_col10_net0);
half_adder ha_add8_1 (layer7_col10_net1, layer7_col10_net0, layer8_col10_net1, layer8_col11_net0);
half_adder ha_add8_2 (layer7_col11_net1, layer7_col11_net0, layer8_col11_net1, layer8_col12_net0);
half_adder ha_add8_3 (layer7_col12_net1, layer7_col12_net0, layer8_col12_net1, layer8_col13_net0);
half_adder ha_add8_4 (layer7_col13_net1, layer7_col13_net0, layer8_col13_net1, layer8_col14_net0);
half_adder ha_add8_5 (layer7_col14_net1, layer7_col14_net0, layer8_col14_net1, layer8_col15_net0);
half_adder ha_add8_6 (layer7_col15_net1, layer7_col15_net0, layer8_col15_net1, layer8_col16_net0);
half_adder ha_add8_7 (layer7_col16_net1, layer7_col16_net0, layer8_col16_net1, layer8_col17_net0);
half_adder ha_add8_8 (layer7_col17_net1, layer7_col17_net0, layer8_col17_net1, layer8_col18_net0);
half_adder ha_add8_9 (layer7_col18_net1, layer7_col18_net0, layer8_col18_net1, layer8_col19_net0);
half_adder ha_add8_10 (layer7_col19_net1, layer7_col19_net0, layer8_col19_net1, layer8_col20_net0);
half_adder ha_add8_11 (layer7_col20_net1, layer7_col20_net0, layer8_col20_net1, layer8_col21_net0);
half_adder ha_add8_12 (layer7_col21_net1, layer7_col21_net0, layer8_col21_net1, layer8_col22_net0);
half_adder ha_add8_13 (layer7_col22_net1, layer7_col22_net0, layer8_col22_net1, layer8_col23_net0);
half_adder ha_add8_14 (layer7_col23_net1, layer7_col23_net0, layer8_col23_net1, layer8_col24_net0);
half_adder ha_add8_15 (layer7_col24_net1, layer7_col24_net0, layer8_col24_net1, layer8_col25_net0);
half_adder ha_add8_16 (layer7_col25_net1, layer7_col25_net0, layer8_col25_net1, layer8_col26_net0);
half_adder ha_add8_17 (layer7_col26_net1, layer7_col26_net0, layer8_col26_net1, layer8_col27_net0);
half_adder ha_add8_18 (layer7_col27_net1, layer7_col27_net0, layer8_col27_net1, layer8_col28_net0);
half_adder ha_add8_19 (layer7_col28_net1, layer7_col28_net0, layer8_col28_net1, layer8_col29_net0);
half_adder ha_add8_20 (layer7_col29_net1, layer7_col29_net0, layer8_col29_net1, layer8_col30_net0);
half_adder ha_add8_21 (layer7_col30_net1, layer7_col30_net0, layer8_col30_net1, layer8_col31_net0);
half_adder ha_add8_22 (layer7_col31_net1, layer7_col31_net0, layer8_col31_net1, layer8_col32_net0);
half_adder ha_add8_23 (layer7_col32_net1, layer7_col32_net0, layer8_col32_net1, layer8_col33_net0);
full_adder fa_add8_0 (layer7_col33_net2, layer7_col33_net1, layer7_col33_net0, layer8_col33_net1, layer8_col34_net0);
full_adder fa_add8_1 (layer7_col34_net2, layer7_col34_net1, layer7_col34_net0, layer8_col34_net1, layer8_col35_net0);
full_adder fa_add8_2 (layer7_col35_net2, layer7_col35_net1, layer7_col35_net0, layer8_col35_net1, layer8_col36_net0);
full_adder fa_add8_3 (layer7_col36_net2, layer7_col36_net1, layer7_col36_net0, layer8_col36_net1, layer8_col37_net0);
full_adder fa_add8_4 (layer7_col37_net2, layer7_col37_net1, layer7_col37_net0, layer8_col37_net1, layer8_col38_net0);
full_adder fa_add8_5 (layer7_col38_net2, layer7_col38_net1, layer7_col38_net0, layer8_col38_net1, layer8_col39_net0);

//----------- Adding Layer Start --------------

assign partial_sum = { layer8_col62_net0, layer8_col61_net0, layer8_col60_net0, layer8_col59_net0, layer8_col58_net0, layer8_col57_net0, layer8_col56_net0, layer8_col55_net0, layer8_col54_net0, layer8_col53_net0, layer8_col52_net0, layer8_col51_net0, layer8_col50_net0, layer8_col49_net0, layer8_col48_net0, layer8_col47_net0, layer8_col46_net0, layer8_col45_net0, layer8_col44_net0, layer8_col43_net0, layer8_col42_net0, layer8_col41_net0, layer8_col40_net0, layer8_col39_net0, layer8_col38_net0, layer8_col37_net0, layer8_col36_net0, layer8_col35_net0, layer8_col34_net0, layer8_col33_net0, layer8_col32_net0, layer8_col31_net0, layer8_col30_net0, layer8_col29_net0, layer8_col28_net0, layer8_col27_net0, layer8_col26_net0, layer8_col25_net0, layer8_col24_net0, layer8_col23_net0, layer8_col22_net0, layer8_col21_net0, layer8_col20_net0, layer8_col19_net0, layer8_col18_net0, layer8_col17_net0, layer8_col16_net0, layer8_col15_net0, layer8_col14_net0, layer8_col13_net0, layer8_col12_net0, layer8_col11_net0, layer8_col10_net0, layer8_col9_net0, layer8_col8_net0, layer8_col7_net0, layer8_col6_net0, layer8_col5_net0, layer8_col4_net0, layer8_col3_net0, layer8_col2_net0, layer8_col1_net0, layer8_col0_net0} + { layer8_col62_net1, layer8_col61_net1, layer8_col60_net1, layer8_col59_net1, layer8_col58_net1, layer8_col57_net1, layer8_col56_net1, layer8_col55_net1, layer8_col54_net1, layer8_col53_net1, layer8_col52_net1, layer8_col51_net1, layer8_col50_net1, layer8_col49_net1, layer8_col48_net1, layer8_col47_net1, layer8_col46_net1, layer8_col45_net1, layer8_col44_net1, layer8_col43_net1, layer8_col42_net1, layer8_col41_net1, layer8_col40_net1, layer8_col39_net1, layer8_col38_net1, layer8_col37_net1, layer8_col36_net1, layer8_col35_net1, layer8_col34_net1, layer8_col33_net1, layer8_col32_net1, layer8_col31_net1, layer8_col30_net1, layer8_col29_net1, layer8_col28_net1, layer8_col27_net1, layer8_col26_net1, layer8_col25_net1, layer8_col24_net1, layer8_col23_net1, layer8_col22_net1, layer8_col21_net1, layer8_col20_net1, layer8_col19_net1, layer8_col18_net1, layer8_col17_net1, layer8_col16_net1, layer8_col15_net1, layer8_col14_net1, layer8_col13_net1, layer8_col12_net1, layer8_col11_net1, layer8_col10_net1, layer8_col9_net1, layer8_col8_net1, layer8_col7_net1, layer8_col6_net1, layer8_col5_net1, layer8_col4_net1, layer8_col3_net1, layer8_col2_net1, layer8_col1_net1, 1'b0};

endmodule