-
Notifications
You must be signed in to change notification settings - Fork 18
/
run_median_func.v
1394 lines (1260 loc) · 43.5 KB
/
run_median_func.v
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
module run_median_func(input [0:0] clk, input [0:0] rst, output [0:0] arg_0_rst_n, output [31:0] arg_0_word0, output [31:0] arg_0_word1, output [31:0] arg_0_word2, input [7:0] arg_0_pixel1, input [7:0] arg_0_pixel2, input [7:0] arg_0_pixel3, input [7:0] arg_0_pixel4, output [0:0] valid, output [31:0] arg_1_in_wire, input [31:0] arg_1_out_wire, output [31:0] arg_2_in_wire, input [31:0] arg_2_out_wire, output [31:0] arg_3_in_wire, input [31:0] arg_3_out_wire, output [7:0] arg_4_in_wire, input [7:0] arg_4_out_wire, output [7:0] arg_5_in_wire, input [7:0] arg_5_out_wire, output [7:0] arg_6_in_wire, input [7:0] arg_6_out_wire, output [7:0] arg_7_in_wire, input [7:0] arg_7_out_wire);
reg [0:0] arg_0_rst_n_reg;
reg [31:0] arg_0_word0_reg;
reg [31:0] arg_0_word1_reg;
reg [31:0] arg_0_word2_reg;
reg [0:0] valid_reg;
reg [31:0] arg_1_in_wire_reg;
reg [31:0] arg_2_in_wire_reg;
reg [31:0] arg_3_in_wire_reg;
reg [7:0] arg_4_in_wire_reg;
reg [7:0] arg_5_in_wire_reg;
reg [7:0] arg_6_in_wire_reg;
reg [7:0] arg_7_in_wire_reg;
assign arg_0_rst_n = arg_0_rst_n_reg;
assign arg_0_word0 = arg_0_word0_reg;
assign arg_0_word1 = arg_0_word1_reg;
assign arg_0_word2 = arg_0_word2_reg;
assign valid = valid_reg;
assign arg_1_in_wire = arg_1_in_wire_reg;
assign arg_2_in_wire = arg_2_in_wire_reg;
assign arg_3_in_wire = arg_3_in_wire_reg;
assign arg_4_in_wire = arg_4_in_wire_reg;
assign arg_5_in_wire = arg_5_in_wire_reg;
assign arg_6_in_wire = arg_6_in_wire_reg;
assign arg_7_in_wire = arg_7_in_wire_reg;
// Start debug wires and ports
initial begin
end
// End debug wires and ports
// Start Functional Units
br_dummy br_unit();
wire [31:0] sgt_in0_sext_11;
wire [63:0] sgt_out_sext_11;
sext sext_11(.in(sgt_in0_sext_11), .out(sgt_out_sext_11));
wire [31:0] sgt_in0_sext_13;
wire [63:0] sgt_out_sext_13;
sext sext_13(.in(sgt_in0_sext_13), .out(sgt_out_sext_13));
wire [31:0] add_in0_add_14;
wire [31:0] add_in1_add_14;
wire [31:0] add_out_add_14;
add #(.WIDTH(32)) add_add_14(.in0(add_in0_add_14), .in1(add_in1_add_14), .out(add_out_add_14));
wire [31:0] trunc_in_trunc_15;
wire [19:0] trunc_out_trunc_15;
trunc #(.IN_WIDTH(32), .OUT_WIDTH(20)) trunc_15(.in(trunc_in_trunc_15), .out(trunc_out_trunc_15));
wire [31:0] cmp_in0_icmp_16;
wire [31:0] cmp_in1_icmp_16;
wire [0:0] cmp_out_icmp_16;
slt #(.WIDTH(32)) icmp_16(.in0(cmp_in0_icmp_16), .in1(cmp_in1_icmp_16), .out(cmp_out_icmp_16));
wire [39:0] phi_in_phi_25;
wire [31:0] phi_last_block_phi_25;
wire [63:0] phi_s_phi_25;
wire [31:0] phi_out_phi_25;
phi #(.NB_PAIR(2), .WIDTH(20)) phi_25(.in(phi_in_phi_25), .last_block(phi_last_block_phi_25), .out(phi_out_phi_25), .s(phi_s_phi_25));
reg [19:0] data_in_0_1_in_data;
wire [19:0] data_in_0_1_out_data;
hls_wire #(.WIDTH(20)) data_in_0_1(.in_data(data_in_0_1_in_data), .out_data(data_in_0_1_out_data));
reg [19:0] data_in_1_3_in_data;
wire [19:0] data_in_1_3_out_data;
hls_wire #(.WIDTH(20)) data_in_1_3(.in_data(data_in_1_3_in_data), .out_data(data_in_1_3_out_data));
reg [19:0] data_in_2_5_in_data;
wire [19:0] data_in_2_5_out_data;
hls_wire #(.WIDTH(20)) data_in_2_5(.in_data(data_in_2_5_in_data), .out_data(data_in_2_5_out_data));
reg [19:0] data_in_3_7_in_data;
wire [19:0] data_in_3_7_out_data;
hls_wire #(.WIDTH(20)) data_in_3_7(.in_data(data_in_3_7_in_data), .out_data(data_in_3_7_out_data));
reg [0:0] bb_0_active_in_state_0_in_data;
wire [0:0] bb_0_active_in_state_0_out_data;
hls_wire #(.WIDTH(1)) bb_0_active_in_state_0(.in_data(bb_0_active_in_state_0_in_data), .out_data(bb_0_active_in_state_0_out_data));
reg [31:0] bb_0_predecessor_in_state_0_in_data;
wire [31:0] bb_0_predecessor_in_state_0_out_data;
hls_wire #(.WIDTH(32)) bb_0_predecessor_in_state_0(.in_data(bb_0_predecessor_in_state_0_in_data), .out_data(bb_0_predecessor_in_state_0_out_data));
reg [0:0] bb_0_active_in_state_1_in_data;
wire [0:0] bb_0_active_in_state_1_out_data;
hls_wire #(.WIDTH(1)) bb_0_active_in_state_1(.in_data(bb_0_active_in_state_1_in_data), .out_data(bb_0_active_in_state_1_out_data));
reg [31:0] bb_0_predecessor_in_state_1_in_data;
wire [31:0] bb_0_predecessor_in_state_1_out_data;
hls_wire #(.WIDTH(32)) bb_0_predecessor_in_state_1(.in_data(bb_0_predecessor_in_state_1_in_data), .out_data(bb_0_predecessor_in_state_1_out_data));
reg [0:0] bb_0_active_in_state_2_in_data;
wire [0:0] bb_0_active_in_state_2_out_data;
hls_wire #(.WIDTH(1)) bb_0_active_in_state_2(.in_data(bb_0_active_in_state_2_in_data), .out_data(bb_0_active_in_state_2_out_data));
reg [31:0] bb_0_predecessor_in_state_2_in_data;
wire [31:0] bb_0_predecessor_in_state_2_out_data;
hls_wire #(.WIDTH(32)) bb_0_predecessor_in_state_2(.in_data(bb_0_predecessor_in_state_2_in_data), .out_data(bb_0_predecessor_in_state_2_out_data));
reg [0:0] bb_1_active_in_state_3_in_data;
wire [0:0] bb_1_active_in_state_3_out_data;
hls_wire #(.WIDTH(1)) bb_1_active_in_state_3(.in_data(bb_1_active_in_state_3_in_data), .out_data(bb_1_active_in_state_3_out_data));
reg [31:0] bb_1_predecessor_in_state_3_in_data;
wire [31:0] bb_1_predecessor_in_state_3_out_data;
hls_wire #(.WIDTH(32)) bb_1_predecessor_in_state_3(.in_data(bb_1_predecessor_in_state_3_in_data), .out_data(bb_1_predecessor_in_state_3_out_data));
reg [0:0] bb_2_active_in_state_3_in_data;
wire [0:0] bb_2_active_in_state_3_out_data;
hls_wire #(.WIDTH(1)) bb_2_active_in_state_3(.in_data(bb_2_active_in_state_3_in_data), .out_data(bb_2_active_in_state_3_out_data));
reg [31:0] bb_2_predecessor_in_state_3_in_data;
wire [31:0] bb_2_predecessor_in_state_3_out_data;
hls_wire #(.WIDTH(32)) bb_2_predecessor_in_state_3(.in_data(bb_2_predecessor_in_state_3_in_data), .out_data(bb_2_predecessor_in_state_3_out_data));
wire [0:0] andOp_8_in0;
wire [0:0] andOp_8_in1;
wire [0:0] andOp_8_out;
andOp #(.WIDTH(1)) andOp_8(.in0(andOp_8_in0), .in1(andOp_8_in1), .out(andOp_8_out));
wire [0:0] andOp_9_in0;
wire [0:0] andOp_9_in1;
wire [0:0] andOp_9_out;
andOp #(.WIDTH(1)) andOp_9(.in0(andOp_9_in0), .in1(andOp_9_in1), .out(andOp_9_out));
reg [0:0] br_0_happened_in_state_0_in_data;
wire [0:0] br_0_happened_in_state_0_out_data;
hls_wire #(.WIDTH(1)) br_0_happened_in_state_0(.in_data(br_0_happened_in_state_0_in_data), .out_data(br_0_happened_in_state_0_out_data));
wire [0:0] notOp_10_in0;
wire [0:0] notOp_10_out;
notOp #(.WIDTH(1)) notOp_10(.in(notOp_10_in0), .out(notOp_10_out));
wire [0:0] andOp_11_in0;
wire [0:0] andOp_11_in1;
wire [0:0] andOp_11_out;
andOp #(.WIDTH(1)) andOp_11(.in0(andOp_11_in0), .in1(andOp_11_in1), .out(andOp_11_out));
wire [0:0] andOp_12_in0;
wire [0:0] andOp_12_in1;
wire [0:0] andOp_12_out;
andOp #(.WIDTH(1)) andOp_12(.in0(andOp_12_in0), .in1(andOp_12_in1), .out(andOp_12_out));
reg [0:0] br_0_happened_in_state_1_in_data;
wire [0:0] br_0_happened_in_state_1_out_data;
hls_wire #(.WIDTH(1)) br_0_happened_in_state_1(.in_data(br_0_happened_in_state_1_in_data), .out_data(br_0_happened_in_state_1_out_data));
wire [0:0] notOp_13_in0;
wire [0:0] notOp_13_out;
notOp #(.WIDTH(1)) notOp_13(.in(notOp_13_in0), .out(notOp_13_out));
wire [0:0] andOp_14_in0;
wire [0:0] andOp_14_in1;
wire [0:0] andOp_14_out;
andOp #(.WIDTH(1)) andOp_14(.in0(andOp_14_in0), .in1(andOp_14_in1), .out(andOp_14_out));
wire [0:0] andOp_15_in0;
wire [0:0] andOp_15_in1;
wire [0:0] andOp_15_out;
andOp #(.WIDTH(1)) andOp_15(.in0(andOp_15_in0), .in1(andOp_15_in1), .out(andOp_15_out));
reg [0:0] br_0_happened_in_state_2_in_data;
wire [0:0] br_0_happened_in_state_2_out_data;
hls_wire #(.WIDTH(1)) br_0_happened_in_state_2(.in_data(br_0_happened_in_state_2_in_data), .out_data(br_0_happened_in_state_2_out_data));
wire [0:0] notOp_16_in0;
wire [0:0] notOp_16_out;
notOp #(.WIDTH(1)) notOp_16(.in(notOp_16_in0), .out(notOp_16_out));
wire [0:0] andOp_17_in0;
wire [0:0] andOp_17_in1;
wire [0:0] andOp_17_out;
andOp #(.WIDTH(1)) andOp_17(.in0(andOp_17_in0), .in1(andOp_17_in1), .out(andOp_17_out));
wire [0:0] andOp_18_in0;
wire [0:0] andOp_18_in1;
wire [0:0] andOp_18_out;
andOp #(.WIDTH(1)) andOp_18(.in0(andOp_18_in0), .in1(andOp_18_in1), .out(andOp_18_out));
reg [0:0] br_1_happened_in_state_3_in_data;
wire [0:0] br_1_happened_in_state_3_out_data;
hls_wire #(.WIDTH(1)) br_1_happened_in_state_3(.in_data(br_1_happened_in_state_3_in_data), .out_data(br_1_happened_in_state_3_out_data));
wire [0:0] notOp_19_in0;
wire [0:0] notOp_19_out;
notOp #(.WIDTH(1)) notOp_19(.in(notOp_19_in0), .out(notOp_19_out));
wire [0:0] andOp_20_in0;
wire [0:0] andOp_20_in1;
wire [0:0] andOp_20_out;
andOp #(.WIDTH(1)) andOp_20(.in0(andOp_20_in0), .in1(andOp_20_in1), .out(andOp_20_out));
wire [0:0] notOp_21_in0;
wire [0:0] notOp_21_out;
notOp #(.WIDTH(1)) notOp_21(.in(notOp_21_in0), .out(notOp_21_out));
wire [0:0] andOp_22_in0;
wire [0:0] andOp_22_in1;
wire [0:0] andOp_22_out;
andOp #(.WIDTH(1)) andOp_22(.in0(andOp_22_in0), .in1(andOp_22_in1), .out(andOp_22_out));
wire [31:0] eq_23_in0;
wire [31:0] eq_23_in1;
wire [0:0] eq_23_out;
eq #(.WIDTH(32)) eq_23(.in0(eq_23_in0), .in1(eq_23_in1), .out(eq_23_out));
wire [31:0] eq_24_in0;
wire [31:0] eq_24_in1;
wire [0:0] eq_24_out;
eq #(.WIDTH(32)) eq_24(.in0(eq_24_in0), .in1(eq_24_in1), .out(eq_24_out));
wire [31:0] eq_25_in0;
wire [31:0] eq_25_in1;
wire [0:0] eq_25_out;
eq #(.WIDTH(32)) eq_25(.in0(eq_25_in0), .in1(eq_25_in1), .out(eq_25_out));
wire [31:0] eq_26_in0;
wire [31:0] eq_26_in1;
wire [0:0] eq_26_out;
eq #(.WIDTH(32)) eq_26(.in0(eq_26_in0), .in1(eq_26_in1), .out(eq_26_out));
wire [31:0] eq_27_in0;
wire [31:0] eq_27_in1;
wire [0:0] eq_27_out;
eq #(.WIDTH(32)) eq_27(.in0(eq_27_in0), .in1(eq_27_in1), .out(eq_27_out));
wire [0:0] orOp_28_in0;
wire [0:0] orOp_28_in1;
wire [0:0] orOp_28_out;
orOp #(.WIDTH(1)) orOp_28(.in0(orOp_28_in0), .in1(orOp_28_in1), .out(orOp_28_out));
wire [31:0] eq_29_in0;
wire [31:0] eq_29_in1;
wire [0:0] eq_29_out;
eq #(.WIDTH(32)) eq_29(.in0(eq_29_in0), .in1(eq_29_in1), .out(eq_29_out));
wire [31:0] eq_30_in0;
wire [31:0] eq_30_in1;
wire [0:0] eq_30_out;
eq #(.WIDTH(32)) eq_30(.in0(eq_30_in0), .in1(eq_30_in1), .out(eq_30_out));
wire [31:0] eq_31_in0;
wire [31:0] eq_31_in1;
wire [0:0] eq_31_out;
eq #(.WIDTH(32)) eq_31(.in0(eq_31_in0), .in1(eq_31_in1), .out(eq_31_out));
wire [31:0] eq_32_in0;
wire [31:0] eq_32_in1;
wire [0:0] eq_32_out;
eq #(.WIDTH(32)) eq_32(.in0(eq_32_in0), .in1(eq_32_in1), .out(eq_32_out));
wire [31:0] eq_33_in0;
wire [31:0] eq_33_in1;
wire [0:0] eq_33_out;
eq #(.WIDTH(32)) eq_33(.in0(eq_33_in0), .in1(eq_33_in1), .out(eq_33_out));
wire [0:0] notOp_34_in0;
wire [0:0] notOp_34_out;
notOp #(.WIDTH(1)) notOp_34(.in(notOp_34_in0), .out(notOp_34_out));
wire [0:0] andOp_35_in0;
wire [0:0] andOp_35_in1;
wire [0:0] andOp_35_out;
andOp #(.WIDTH(1)) andOp_35(.in0(andOp_35_in0), .in1(andOp_35_in1), .out(andOp_35_out));
wire [0:0] andOp_36_in0;
wire [0:0] andOp_36_in1;
wire [0:0] andOp_36_out;
andOp #(.WIDTH(1)) andOp_36(.in0(andOp_36_in0), .in1(andOp_36_in1), .out(andOp_36_out));
wire [0:0] andOp_37_in0;
wire [0:0] andOp_37_in1;
wire [0:0] andOp_37_out;
andOp #(.WIDTH(1)) andOp_37(.in0(andOp_37_in0), .in1(andOp_37_in1), .out(andOp_37_out));
wire [0:0] andOp_38_in0;
wire [0:0] andOp_38_in1;
wire [0:0] andOp_38_out;
andOp #(.WIDTH(1)) andOp_38(.in0(andOp_38_in0), .in1(andOp_38_in1), .out(andOp_38_out));
wire [0:0] andOp_39_in0;
wire [0:0] andOp_39_in1;
wire [0:0] andOp_39_out;
andOp #(.WIDTH(1)) andOp_39(.in0(andOp_39_in0), .in1(andOp_39_in1), .out(andOp_39_out));
wire [0:0] andOp_40_in0;
wire [0:0] andOp_40_in1;
wire [0:0] andOp_40_out;
andOp #(.WIDTH(1)) andOp_40(.in0(andOp_40_in0), .in1(andOp_40_in1), .out(andOp_40_out));
wire [0:0] andOp_41_in0;
wire [0:0] andOp_41_in1;
wire [0:0] andOp_41_out;
andOp #(.WIDTH(1)) andOp_41(.in0(andOp_41_in0), .in1(andOp_41_in1), .out(andOp_41_out));
wire [0:0] andOp_42_in0;
wire [0:0] andOp_42_in1;
wire [0:0] andOp_42_out;
andOp #(.WIDTH(1)) andOp_42(.in0(andOp_42_in0), .in1(andOp_42_in1), .out(andOp_42_out));
wire [0:0] andOp_43_in0;
wire [0:0] andOp_43_in1;
wire [0:0] andOp_43_out;
andOp #(.WIDTH(1)) andOp_43(.in0(andOp_43_in0), .in1(andOp_43_in1), .out(andOp_43_out));
wire [0:0] andOp_44_in0;
wire [0:0] andOp_44_in1;
wire [0:0] andOp_44_out;
andOp #(.WIDTH(1)) andOp_44(.in0(andOp_44_in0), .in1(andOp_44_in1), .out(andOp_44_out));
wire [0:0] andOp_45_in0;
wire [0:0] andOp_45_in1;
wire [0:0] andOp_45_out;
andOp #(.WIDTH(1)) andOp_45(.in0(andOp_45_in0), .in1(andOp_45_in1), .out(andOp_45_out));
wire [0:0] andOp_46_in0;
wire [0:0] andOp_46_in1;
wire [0:0] andOp_46_out;
andOp #(.WIDTH(1)) andOp_46(.in0(andOp_46_in0), .in1(andOp_46_in1), .out(andOp_46_out));
wire [0:0] andOp_47_in0;
wire [0:0] andOp_47_in1;
wire [0:0] andOp_47_out;
andOp #(.WIDTH(1)) andOp_47(.in0(andOp_47_in0), .in1(andOp_47_in1), .out(andOp_47_out));
wire [0:0] andOp_48_in0;
wire [0:0] andOp_48_in1;
wire [0:0] andOp_48_out;
andOp #(.WIDTH(1)) andOp_48(.in0(andOp_48_in0), .in1(andOp_48_in1), .out(andOp_48_out));
wire [0:0] andOp_49_in0;
wire [0:0] andOp_49_in1;
wire [0:0] andOp_49_out;
andOp #(.WIDTH(1)) andOp_49(.in0(andOp_49_in0), .in1(andOp_49_in1), .out(andOp_49_out));
wire [0:0] andOp_50_in0;
wire [0:0] andOp_50_in1;
wire [0:0] andOp_50_out;
andOp #(.WIDTH(1)) andOp_50(.in0(andOp_50_in0), .in1(andOp_50_in1), .out(andOp_50_out));
wire [0:0] andOp_51_in0;
wire [0:0] andOp_51_in1;
wire [0:0] andOp_51_out;
andOp #(.WIDTH(1)) andOp_51(.in0(andOp_51_in0), .in1(andOp_51_in1), .out(andOp_51_out));
wire [0:0] andOp_52_in0;
wire [0:0] andOp_52_in1;
wire [0:0] andOp_52_out;
andOp #(.WIDTH(1)) andOp_52(.in0(andOp_52_in0), .in1(andOp_52_in1), .out(andOp_52_out));
wire [0:0] andOp_53_in0;
wire [0:0] andOp_53_in1;
wire [0:0] andOp_53_out;
andOp #(.WIDTH(1)) andOp_53(.in0(andOp_53_in0), .in1(andOp_53_in1), .out(andOp_53_out));
wire [0:0] andOp_54_in0;
wire [0:0] andOp_54_in1;
wire [0:0] andOp_54_out;
andOp #(.WIDTH(1)) andOp_54(.in0(andOp_54_in0), .in1(andOp_54_in1), .out(andOp_54_out));
wire [0:0] andOp_55_in0;
wire [0:0] andOp_55_in1;
wire [0:0] andOp_55_out;
andOp #(.WIDTH(1)) andOp_55(.in0(andOp_55_in0), .in1(andOp_55_in1), .out(andOp_55_out));
wire [0:0] andOp_56_in0;
wire [0:0] andOp_56_in1;
wire [0:0] andOp_56_out;
andOp #(.WIDTH(1)) andOp_56(.in0(andOp_56_in0), .in1(andOp_56_in1), .out(andOp_56_out));
wire [0:0] andOp_57_in0;
wire [0:0] andOp_57_in1;
wire [0:0] andOp_57_out;
andOp #(.WIDTH(1)) andOp_57(.in0(andOp_57_in0), .in1(andOp_57_in1), .out(andOp_57_out));
wire [0:0] andOp_58_in0;
wire [0:0] andOp_58_in1;
wire [0:0] andOp_58_out;
andOp #(.WIDTH(1)) andOp_58(.in0(andOp_58_in0), .in1(andOp_58_in1), .out(andOp_58_out));
wire [0:0] andOp_59_in0;
wire [0:0] andOp_59_in1;
wire [0:0] andOp_59_out;
andOp #(.WIDTH(1)) andOp_59(.in0(andOp_59_in0), .in1(andOp_59_in1), .out(andOp_59_out));
wire [19:0] concat_60_in0;
wire [19:0] concat_60_in1;
wire [39:0] concat_60_out;
concat #(.IN0_WIDTH(20), .IN1_WIDTH(20)) concat_60(.in0(concat_60_in0), .in1(concat_60_in1), .out(concat_60_out));
wire [31:0] concat_61_in0;
wire [31:0] concat_61_in1;
wire [63:0] concat_61_out;
concat #(.IN0_WIDTH(32), .IN1_WIDTH(32)) concat_61(.in0(concat_61_in0), .in1(concat_61_in1), .out(concat_61_out));
wire [0:0] andOp_62_in0;
wire [0:0] andOp_62_in1;
wire [0:0] andOp_62_out;
andOp #(.WIDTH(1)) andOp_62(.in0(andOp_62_in0), .in1(andOp_62_in1), .out(andOp_62_out));
wire [0:0] andOp_63_in0;
wire [0:0] andOp_63_in1;
wire [0:0] andOp_63_out;
andOp #(.WIDTH(1)) andOp_63(.in0(andOp_63_in0), .in1(andOp_63_in1), .out(andOp_63_out));
wire [0:0] andOp_64_in0;
wire [0:0] andOp_64_in1;
wire [0:0] andOp_64_out;
andOp #(.WIDTH(1)) andOp_64(.in0(andOp_64_in0), .in1(andOp_64_in1), .out(andOp_64_out));
wire [0:0] notOp_65_in0;
wire [0:0] notOp_65_out;
notOp #(.WIDTH(1)) notOp_65(.in(notOp_65_in0), .out(notOp_65_out));
wire [0:0] andOp_66_in0;
wire [0:0] andOp_66_in1;
wire [0:0] andOp_66_out;
andOp #(.WIDTH(1)) andOp_66(.in0(andOp_66_in0), .in1(andOp_66_in1), .out(andOp_66_out));
wire [0:0] notOp_67_in0;
wire [0:0] notOp_67_out;
notOp #(.WIDTH(1)) notOp_67(.in(notOp_67_in0), .out(notOp_67_out));
wire [0:0] andOp_68_in0;
wire [0:0] andOp_68_in1;
wire [0:0] andOp_68_out;
andOp #(.WIDTH(1)) andOp_68(.in0(andOp_68_in0), .in1(andOp_68_in1), .out(andOp_68_out));
wire [0:0] notOp_69_in0;
wire [0:0] notOp_69_out;
notOp #(.WIDTH(1)) notOp_69(.in(notOp_69_in0), .out(notOp_69_out));
wire [0:0] andOp_70_in0;
wire [0:0] andOp_70_in1;
wire [0:0] andOp_70_out;
andOp #(.WIDTH(1)) andOp_70(.in0(andOp_70_in0), .in1(andOp_70_in1), .out(andOp_70_out));
wire [0:0] notOp_71_in0;
wire [0:0] notOp_71_out;
notOp #(.WIDTH(1)) notOp_71(.in(notOp_71_in0), .out(notOp_71_out));
wire [0:0] andOp_72_in0;
wire [0:0] andOp_72_in1;
wire [0:0] andOp_72_out;
andOp #(.WIDTH(1)) andOp_72(.in0(andOp_72_in0), .in1(andOp_72_in1), .out(andOp_72_out));
wire [0:0] notOp_73_in0;
wire [0:0] notOp_73_out;
notOp #(.WIDTH(1)) notOp_73(.in(notOp_73_in0), .out(notOp_73_out));
wire [0:0] andOp_74_in0;
wire [0:0] andOp_74_in1;
wire [0:0] andOp_74_out;
andOp #(.WIDTH(1)) andOp_74(.in0(andOp_74_in0), .in1(andOp_74_in1), .out(andOp_74_out));
wire [31:0] eq_75_in0;
wire [31:0] eq_75_in1;
wire [0:0] eq_75_out;
eq #(.WIDTH(32)) eq_75(.in0(eq_75_in0), .in1(eq_75_in1), .out(eq_75_out));
wire [31:0] eq_76_in0;
wire [31:0] eq_76_in1;
wire [0:0] eq_76_out;
eq #(.WIDTH(32)) eq_76(.in0(eq_76_in0), .in1(eq_76_in1), .out(eq_76_out));
wire [31:0] eq_77_in0;
wire [31:0] eq_77_in1;
wire [0:0] eq_77_out;
eq #(.WIDTH(32)) eq_77(.in0(eq_77_in0), .in1(eq_77_in1), .out(eq_77_out));
wire [31:0] eq_78_in0;
wire [31:0] eq_78_in1;
wire [0:0] eq_78_out;
eq #(.WIDTH(32)) eq_78(.in0(eq_78_in0), .in1(eq_78_in1), .out(eq_78_out));
wire [31:0] eq_79_in0;
wire [31:0] eq_79_in1;
wire [0:0] eq_79_out;
eq #(.WIDTH(32)) eq_79(.in0(eq_79_in0), .in1(eq_79_in1), .out(eq_79_out));
wire [31:0] eq_80_in0;
wire [31:0] eq_80_in1;
wire [0:0] eq_80_out;
eq #(.WIDTH(32)) eq_80(.in0(eq_80_in0), .in1(eq_80_in1), .out(eq_80_out));
wire [31:0] eq_81_in0;
wire [31:0] eq_81_in1;
wire [0:0] eq_81_out;
eq #(.WIDTH(32)) eq_81(.in0(eq_81_in0), .in1(eq_81_in1), .out(eq_81_out));
wire [0:0] andOp_82_in0;
wire [0:0] andOp_82_in1;
wire [0:0] andOp_82_out;
andOp #(.WIDTH(1)) andOp_82(.in0(andOp_82_in0), .in1(andOp_82_in1), .out(andOp_82_out));
// End Functional Units
reg [19:0] data_store_0_0;
reg [19:0] data_store_1_2;
reg [19:0] data_store_2_4;
reg [19:0] data_store_3_6;
reg [31:0] global_state;
reg [31:0] state_0_entry_BB_reg;
reg [0:0] state_0_is_active;
reg [31:0] state_0_last_BB_reg;
reg [31:0] state_0_last_state;
reg [31:0] state_1_entry_BB_reg;
reg [0:0] state_1_is_active;
reg [31:0] state_1_last_BB_reg;
reg [31:0] state_1_last_state;
reg [31:0] state_2_entry_BB_reg;
reg [0:0] state_2_is_active;
reg [31:0] state_2_last_BB_reg;
reg [31:0] state_2_last_state;
reg [31:0] state_3_entry_BB_reg;
reg [0:0] state_3_is_active;
reg [31:0] state_3_last_BB_reg;
reg [31:0] state_3_last_state;
// controller for add_add_14.add_in0_add_14
// controller for add_add_14.add_in1_add_14
// Insensitive connections
assign add_in0_add_14 = sgt_out_sext_13;
assign add_in1_add_14 = 32'd1;
// controller for andOp_11.andOp_11_in0
// controller for andOp_11.andOp_11_in1
// Insensitive connections
assign andOp_11_in0 = bb_0_active_in_state_2_out_data;
assign andOp_11_in1 = state_2_is_active;
// controller for andOp_12.andOp_12_in0
// controller for andOp_12.andOp_12_in1
// Insensitive connections
assign andOp_12_in0 = andOp_11_out;
assign andOp_12_in1 = 1'd1;
// controller for andOp_14.andOp_14_in0
// controller for andOp_14.andOp_14_in1
// Insensitive connections
assign andOp_14_in0 = bb_0_active_in_state_2_out_data;
assign andOp_14_in1 = state_2_is_active;
// controller for andOp_15.andOp_15_in0
// controller for andOp_15.andOp_15_in1
// Insensitive connections
assign andOp_15_in0 = andOp_14_out;
assign andOp_15_in1 = 1'd1;
// controller for andOp_17.andOp_17_in0
// controller for andOp_17.andOp_17_in1
// Insensitive connections
assign andOp_17_in0 = bb_1_active_in_state_3_out_data;
assign andOp_17_in1 = state_3_is_active;
// controller for andOp_18.andOp_18_in0
// controller for andOp_18.andOp_18_in1
// Insensitive connections
assign andOp_18_in0 = andOp_17_out;
assign andOp_18_in1 = 1'd1;
// controller for andOp_20.andOp_20_in0
// controller for andOp_20.andOp_20_in1
// Insensitive connections
assign andOp_20_in0 = andOp_18_out;
assign andOp_20_in1 = cmp_out_icmp_16;
// controller for andOp_22.andOp_22_in0
// controller for andOp_22.andOp_22_in1
// Insensitive connections
assign andOp_22_in0 = andOp_18_out;
assign andOp_22_in1 = notOp_21_out;
// controller for andOp_35.andOp_35_in0
// controller for andOp_35.andOp_35_in1
// Insensitive connections
assign andOp_35_in0 = notOp_34_out;
assign andOp_35_in1 = andOp_22_out;
// controller for andOp_36.andOp_36_in0
// controller for andOp_36.andOp_36_in1
// Insensitive connections
assign andOp_36_in0 = bb_0_active_in_state_0_out_data;
assign andOp_36_in1 = state_0_is_active;
// controller for andOp_37.andOp_37_in0
// controller for andOp_37.andOp_37_in1
// Insensitive connections
assign andOp_37_in0 = bb_0_active_in_state_1_out_data;
assign andOp_37_in1 = state_1_is_active;
// controller for andOp_38.andOp_38_in0
// controller for andOp_38.andOp_38_in1
// Insensitive connections
assign andOp_38_in0 = bb_0_active_in_state_2_out_data;
assign andOp_38_in1 = state_2_is_active;
// controller for andOp_39.andOp_39_in0
// controller for andOp_39.andOp_39_in1
// Insensitive connections
assign andOp_39_in0 = bb_1_active_in_state_3_out_data;
assign andOp_39_in1 = state_3_is_active;
// controller for andOp_40.andOp_40_in0
// controller for andOp_40.andOp_40_in1
// Insensitive connections
assign andOp_40_in0 = bb_1_active_in_state_3_out_data;
assign andOp_40_in1 = state_3_is_active;
// controller for andOp_41.andOp_41_in0
// controller for andOp_41.andOp_41_in1
// Insensitive connections
assign andOp_41_in0 = bb_1_active_in_state_3_out_data;
assign andOp_41_in1 = state_3_is_active;
// controller for andOp_42.andOp_42_in0
// controller for andOp_42.andOp_42_in1
// Insensitive connections
assign andOp_42_in0 = bb_1_active_in_state_3_out_data;
assign andOp_42_in1 = state_3_is_active;
// controller for andOp_43.andOp_43_in0
// controller for andOp_43.andOp_43_in1
// Insensitive connections
assign andOp_43_in0 = bb_1_active_in_state_3_out_data;
assign andOp_43_in1 = state_3_is_active;
// controller for andOp_44.andOp_44_in0
// controller for andOp_44.andOp_44_in1
// Insensitive connections
assign andOp_44_in0 = bb_1_active_in_state_3_out_data;
assign andOp_44_in1 = state_3_is_active;
// controller for andOp_45.andOp_45_in0
// controller for andOp_45.andOp_45_in1
// Insensitive connections
assign andOp_45_in0 = bb_1_active_in_state_3_out_data;
assign andOp_45_in1 = state_3_is_active;
// controller for andOp_46.andOp_46_in0
// controller for andOp_46.andOp_46_in1
// Insensitive connections
assign andOp_46_in0 = bb_2_active_in_state_3_out_data;
assign andOp_46_in1 = state_3_is_active;
// controller for andOp_47.andOp_47_in0
// controller for andOp_47.andOp_47_in1
// Insensitive connections
assign andOp_47_in0 = bb_1_active_in_state_3_out_data;
assign andOp_47_in1 = state_3_is_active;
// controller for andOp_48.andOp_48_in0
// controller for andOp_48.andOp_48_in1
// Insensitive connections
assign andOp_48_in0 = bb_1_active_in_state_3_out_data;
assign andOp_48_in1 = state_3_is_active;
// controller for andOp_49.andOp_49_in0
// controller for andOp_49.andOp_49_in1
// Insensitive connections
assign andOp_49_in0 = bb_1_active_in_state_3_out_data;
assign andOp_49_in1 = state_3_is_active;
// controller for andOp_50.andOp_50_in0
// controller for andOp_50.andOp_50_in1
// Insensitive connections
assign andOp_50_in0 = bb_1_active_in_state_3_out_data;
assign andOp_50_in1 = state_3_is_active;
// controller for andOp_51.andOp_51_in0
// controller for andOp_51.andOp_51_in1
// Insensitive connections
assign andOp_51_in0 = bb_1_active_in_state_3_out_data;
assign andOp_51_in1 = state_3_is_active;
// controller for andOp_52.andOp_52_in0
// controller for andOp_52.andOp_52_in1
// Insensitive connections
assign andOp_52_in0 = bb_1_active_in_state_3_out_data;
assign andOp_52_in1 = state_3_is_active;
// controller for andOp_53.andOp_53_in0
// controller for andOp_53.andOp_53_in1
// Insensitive connections
assign andOp_53_in0 = bb_1_active_in_state_3_out_data;
assign andOp_53_in1 = state_3_is_active;
// controller for andOp_54.andOp_54_in0
// controller for andOp_54.andOp_54_in1
// Insensitive connections
assign andOp_54_in0 = bb_1_active_in_state_3_out_data;
assign andOp_54_in1 = state_3_is_active;
// controller for andOp_55.andOp_55_in0
// controller for andOp_55.andOp_55_in1
// Insensitive connections
assign andOp_55_in0 = bb_1_active_in_state_3_out_data;
assign andOp_55_in1 = state_3_is_active;
// controller for andOp_56.andOp_56_in0
// controller for andOp_56.andOp_56_in1
// Insensitive connections
assign andOp_56_in0 = bb_1_active_in_state_3_out_data;
assign andOp_56_in1 = state_3_is_active;
// controller for andOp_57.andOp_57_in0
// controller for andOp_57.andOp_57_in1
// Insensitive connections
assign andOp_57_in0 = bb_1_active_in_state_3_out_data;
assign andOp_57_in1 = state_3_is_active;
// controller for andOp_58.andOp_58_in0
// controller for andOp_58.andOp_58_in1
// Insensitive connections
assign andOp_58_in0 = bb_1_active_in_state_3_out_data;
assign andOp_58_in1 = state_3_is_active;
// controller for andOp_59.andOp_59_in0
// controller for andOp_59.andOp_59_in1
// Insensitive connections
assign andOp_59_in0 = bb_1_active_in_state_3_out_data;
assign andOp_59_in1 = state_3_is_active;
// controller for andOp_62.andOp_62_in0
// controller for andOp_62.andOp_62_in1
// Insensitive connections
assign andOp_62_in0 = bb_0_active_in_state_0_out_data;
assign andOp_62_in1 = state_0_is_active;
// controller for andOp_63.andOp_63_in0
// controller for andOp_63.andOp_63_in1
// Insensitive connections
assign andOp_63_in0 = bb_0_active_in_state_1_out_data;
assign andOp_63_in1 = state_1_is_active;
// controller for andOp_64.andOp_64_in0
// controller for andOp_64.andOp_64_in1
// Insensitive connections
assign andOp_64_in0 = bb_2_active_in_state_3_out_data;
assign andOp_64_in1 = state_3_is_active;
// controller for andOp_66.andOp_66_in0
// controller for andOp_66.andOp_66_in1
// Insensitive connections
assign andOp_66_in0 = notOp_65_out;
assign andOp_66_in1 = 1'd1;
// controller for andOp_68.andOp_68_in0
// controller for andOp_68.andOp_68_in1
// Insensitive connections
assign andOp_68_in0 = notOp_67_out;
assign andOp_68_in1 = 1'd1;
// controller for andOp_70.andOp_70_in0
// controller for andOp_70.andOp_70_in1
// Insensitive connections
assign andOp_70_in0 = notOp_69_out;
assign andOp_70_in1 = 1'd1;
// controller for andOp_72.andOp_72_in0
// controller for andOp_72.andOp_72_in1
// Insensitive connections
assign andOp_72_in0 = notOp_71_out;
assign andOp_72_in1 = andOp_70_out;
// controller for andOp_74.andOp_74_in0
// controller for andOp_74.andOp_74_in1
// Insensitive connections
assign andOp_74_in0 = notOp_73_out;
assign andOp_74_in1 = andOp_72_out;
// controller for andOp_8.andOp_8_in0
// controller for andOp_8.andOp_8_in1
// Insensitive connections
assign andOp_8_in0 = bb_0_active_in_state_2_out_data;
assign andOp_8_in1 = state_2_is_active;
// controller for andOp_82.andOp_82_in0
// controller for andOp_82.andOp_82_in1
// Insensitive connections
assign andOp_82_in0 = bb_1_active_in_state_3_out_data;
assign andOp_82_in1 = state_3_is_active;
// controller for andOp_9.andOp_9_in0
// controller for andOp_9.andOp_9_in1
// Insensitive connections
assign andOp_9_in0 = andOp_8_out;
assign andOp_9_in1 = 1'd1;
// controller for arg_0.arg_0_rst_n_reg
always @(*) begin
if (andOp_36_out) begin
arg_0_rst_n_reg = 32'd1;
end else if (andOp_37_out) begin
arg_0_rst_n_reg = 32'd0;
end else if (andOp_38_out) begin
arg_0_rst_n_reg = 32'd1;
end else begin
arg_0_rst_n_reg = 1;
end
end
// controller for arg_0.arg_0_word0_reg
always @(*) begin
if (andOp_39_out) begin
arg_0_word0_reg = arg_1_out_wire;
end else begin
arg_0_word0_reg = 0;
end
end
// controller for arg_0.arg_0_word1_reg
always @(*) begin
if (andOp_41_out) begin
arg_0_word1_reg = arg_2_out_wire;
end else begin
arg_0_word1_reg = 0;
end
end
// controller for arg_0.arg_0_word2_reg
always @(*) begin
if (andOp_42_out) begin
arg_0_word2_reg = arg_3_out_wire;
end else begin
arg_0_word2_reg = 0;
end
end
// controller for arg_4.arg_4_in_wire_reg
always @(*) begin
if (andOp_55_out) begin
arg_4_in_wire_reg = arg_0_pixel1;
end else begin
arg_4_in_wire_reg = 0;
end
end
// controller for arg_5.arg_5_in_wire_reg
always @(*) begin
if (andOp_56_out) begin
arg_5_in_wire_reg = arg_0_pixel2;
end else begin
arg_5_in_wire_reg = 0;
end
end
// controller for arg_6.arg_6_in_wire_reg
always @(*) begin
if (andOp_57_out) begin
arg_6_in_wire_reg = arg_0_pixel3;
end else begin
arg_6_in_wire_reg = 0;
end
end
// controller for arg_7.arg_7_in_wire_reg
always @(*) begin
if (andOp_58_out) begin
arg_7_in_wire_reg = arg_0_pixel4;
end else begin
arg_7_in_wire_reg = 0;
end
end
// controller for bb_0_active_in_state_0.bb_0_active_in_state_0_in_data
always @(*) begin
if (1'd1) begin
bb_0_active_in_state_0_in_data = eq_23_out;
end else begin
bb_0_active_in_state_0_in_data = 0;
end
end
// controller for bb_0_active_in_state_1.bb_0_active_in_state_1_in_data
always @(*) begin
if (1'd1) begin
bb_0_active_in_state_1_in_data = eq_24_out;
end else begin
bb_0_active_in_state_1_in_data = 0;
end
end
// controller for bb_0_active_in_state_2.bb_0_active_in_state_2_in_data
always @(*) begin
if (1'd1) begin
bb_0_active_in_state_2_in_data = eq_25_out;
end else begin
bb_0_active_in_state_2_in_data = 0;
end
end
// controller for bb_0_predecessor_in_state_0.bb_0_predecessor_in_state_0_in_data
always @(*) begin
if (eq_29_out) begin
bb_0_predecessor_in_state_0_in_data = state_0_last_BB_reg;
end else begin
bb_0_predecessor_in_state_0_in_data = 0;
end
end
// controller for bb_0_predecessor_in_state_1.bb_0_predecessor_in_state_1_in_data
always @(*) begin
if (eq_30_out) begin
bb_0_predecessor_in_state_1_in_data = state_1_last_BB_reg;
end else begin
bb_0_predecessor_in_state_1_in_data = 0;
end
end
// controller for bb_0_predecessor_in_state_2.bb_0_predecessor_in_state_2_in_data
always @(*) begin
if (eq_31_out) begin
bb_0_predecessor_in_state_2_in_data = state_2_last_BB_reg;
end else begin
bb_0_predecessor_in_state_2_in_data = 0;
end
end
// controller for bb_1_active_in_state_3.bb_1_active_in_state_3_in_data
always @(*) begin
if (1'd1) begin
bb_1_active_in_state_3_in_data = eq_26_out;
end else begin
bb_1_active_in_state_3_in_data = 0;
end
end
// controller for bb_1_predecessor_in_state_3.bb_1_predecessor_in_state_3_in_data
always @(*) begin
if (eq_32_out) begin
bb_1_predecessor_in_state_3_in_data = state_3_last_BB_reg;
end else begin
bb_1_predecessor_in_state_3_in_data = 0;
end
end
// controller for bb_2_active_in_state_3.bb_2_active_in_state_3_in_data
always @(*) begin
if (1'd1) begin
bb_2_active_in_state_3_in_data = orOp_28_out;
end else begin
bb_2_active_in_state_3_in_data = 0;
end
end
// controller for bb_2_predecessor_in_state_3.bb_2_predecessor_in_state_3_in_data
always @(*) begin
if (andOp_35_out) begin
bb_2_predecessor_in_state_3_in_data = 32'd1;
end else if (eq_33_out) begin
bb_2_predecessor_in_state_3_in_data = state_3_last_BB_reg;
end else begin
bb_2_predecessor_in_state_3_in_data = 0;
end
end
// controller for br_0_happened_in_state_0.br_0_happened_in_state_0_in_data
always @(*) begin
if (andOp_9_out) begin
br_0_happened_in_state_0_in_data = 1'd1;
end else if (notOp_10_out) begin
br_0_happened_in_state_0_in_data = 1'd0;
end else begin
br_0_happened_in_state_0_in_data = 0;
end
end
// controller for br_0_happened_in_state_1.br_0_happened_in_state_1_in_data
always @(*) begin
if (andOp_12_out) begin
br_0_happened_in_state_1_in_data = 1'd1;
end else if (notOp_13_out) begin
br_0_happened_in_state_1_in_data = 1'd0;
end else begin
br_0_happened_in_state_1_in_data = 0;
end
end
// controller for br_0_happened_in_state_2.br_0_happened_in_state_2_in_data
always @(*) begin
if (andOp_15_out) begin
br_0_happened_in_state_2_in_data = 1'd1;
end else if (notOp_16_out) begin
br_0_happened_in_state_2_in_data = 1'd0;
end else begin
br_0_happened_in_state_2_in_data = 0;
end
end
// controller for br_1_happened_in_state_3.br_1_happened_in_state_3_in_data
always @(*) begin
if (andOp_18_out) begin
br_1_happened_in_state_3_in_data = 1'd1;
end else if (notOp_19_out) begin
br_1_happened_in_state_3_in_data = 1'd0;
end else begin
br_1_happened_in_state_3_in_data = 0;
end
end
// controller for concat_60.concat_60_in0
// controller for concat_60.concat_60_in1
// Insensitive connections
assign concat_60_in0 = 20'd0;
assign concat_60_in1 = data_in_3_7_out_data;
// controller for concat_61.concat_61_in0
// controller for concat_61.concat_61_in1
// Insensitive connections
assign concat_61_in0 = 32'd0;
assign concat_61_in1 = 32'd1;
// controller for data_in_0_1.data_in_0_1_in_data
always @(*) begin
if (eq_75_out) begin
data_in_0_1_in_data = data_store_0_0;
end else begin
data_in_0_1_in_data = 0;
end
end
// controller for data_in_1_3.data_in_1_3_in_data
always @(*) begin
if (eq_76_out) begin
data_in_1_3_in_data = data_store_0_0;
end else if (eq_77_out) begin
data_in_1_3_in_data = data_store_1_2;
end else begin
data_in_1_3_in_data = 0;
end
end
// controller for data_in_2_5.data_in_2_5_in_data
always @(*) begin
if (eq_78_out) begin
data_in_2_5_in_data = data_store_1_2;
end else if (eq_79_out) begin
data_in_2_5_in_data = data_store_2_4;
end else begin
data_in_2_5_in_data = 0;
end
end
// controller for data_in_3_7.data_in_3_7_in_data
always @(*) begin
if (eq_80_out) begin
data_in_3_7_in_data = data_store_2_4;
end else if (eq_81_out) begin
data_in_3_7_in_data = data_store_3_6;
end else begin
data_in_3_7_in_data = 0;
end
end
// controller for eq_23.eq_23_in0
// controller for eq_23.eq_23_in1
// Insensitive connections
assign eq_23_in0 = 32'd0;
assign eq_23_in1 = state_0_entry_BB_reg;
// controller for eq_24.eq_24_in0
// controller for eq_24.eq_24_in1