-
Notifications
You must be signed in to change notification settings - Fork 6
/
sw_pe_array_receive_match.v
1592 lines (1462 loc) · 84.2 KB
/
sw_pe_array_receive_match.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
// ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2015.1
// Copyright (C) 2015 Xilinx Inc. All rights reserved.
//
// ===========================================================
`timescale 1 ns / 1 ps
module sw_pe_array_receive_match (
ap_clk,
ap_rst,
ap_start,
ap_done,
ap_continue,
ap_idle,
ap_ready,
matchs_0_V_dout,
matchs_0_V_empty_n,
matchs_0_V_read,
matchs_1_V_dout,
matchs_1_V_empty_n,
matchs_1_V_read,
matchs_2_V_dout,
matchs_2_V_empty_n,
matchs_2_V_read,
matchs_3_V_dout,
matchs_3_V_empty_n,
matchs_3_V_read,
matchs_4_V_dout,
matchs_4_V_empty_n,
matchs_4_V_read,
matchs_5_V_dout,
matchs_5_V_empty_n,
matchs_5_V_read,
matchs_6_V_dout,
matchs_6_V_empty_n,
matchs_6_V_read,
matchs_7_V_dout,
matchs_7_V_empty_n,
matchs_7_V_read,
matchs_8_V_dout,
matchs_8_V_empty_n,
matchs_8_V_read,
matchs_9_V_dout,
matchs_9_V_empty_n,
matchs_9_V_read,
matchs_10_V_dout,
matchs_10_V_empty_n,
matchs_10_V_read,
matchs_11_V_dout,
matchs_11_V_empty_n,
matchs_11_V_read,
matchs_12_V_dout,
matchs_12_V_empty_n,
matchs_12_V_read,
matchs_13_V_dout,
matchs_13_V_empty_n,
matchs_13_V_read,
matchs_14_V_dout,
matchs_14_V_empty_n,
matchs_14_V_read,
matchs_15_V_dout,
matchs_15_V_empty_n,
matchs_15_V_read,
matchs_16_V_dout,
matchs_16_V_empty_n,
matchs_16_V_read,
matchs_17_V_dout,
matchs_17_V_empty_n,
matchs_17_V_read,
matchs_18_V_dout,
matchs_18_V_empty_n,
matchs_18_V_read,
matchs_19_V_dout,
matchs_19_V_empty_n,
matchs_19_V_read,
peArr_blockMatchs_V_din,
peArr_blockMatchs_V_full_n,
peArr_blockMatchs_V_write
);
parameter ap_const_logic_1 = 1'b1;
parameter ap_const_logic_0 = 1'b0;
parameter ap_ST_st1_fsm_0 = 8'b1;
parameter ap_ST_st2_fsm_1 = 8'b10;
parameter ap_ST_st3_fsm_2 = 8'b100;
parameter ap_ST_st4_fsm_3 = 8'b1000;
parameter ap_ST_pp0_stg0_fsm_4 = 8'b10000;
parameter ap_ST_st9_fsm_5 = 8'b100000;
parameter ap_ST_pp1_stg0_fsm_6 = 8'b1000000;
parameter ap_ST_st12_fsm_7 = 8'b10000000;
parameter ap_const_lv32_0 = 32'b00000000000000000000000000000000;
parameter ap_const_lv1_1 = 1'b1;
parameter ap_const_lv32_1 = 32'b1;
parameter ap_const_lv5_12 = 5'b10010;
parameter ap_const_lv1_0 = 1'b0;
parameter ap_const_lv5_11 = 5'b10001;
parameter ap_const_lv5_10 = 5'b10000;
parameter ap_const_lv5_F = 5'b1111;
parameter ap_const_lv5_E = 5'b1110;
parameter ap_const_lv5_D = 5'b1101;
parameter ap_const_lv5_C = 5'b1100;
parameter ap_const_lv5_B = 5'b1011;
parameter ap_const_lv5_A = 5'b1010;
parameter ap_const_lv5_9 = 5'b1001;
parameter ap_const_lv5_8 = 5'b1000;
parameter ap_const_lv5_7 = 5'b111;
parameter ap_const_lv5_6 = 5'b110;
parameter ap_const_lv5_5 = 5'b101;
parameter ap_const_lv5_4 = 5'b100;
parameter ap_const_lv5_3 = 5'b11;
parameter ap_const_lv5_2 = 5'b10;
parameter ap_const_lv5_1 = 5'b1;
parameter ap_const_lv5_0 = 5'b00000;
parameter ap_const_lv32_4 = 32'b100;
parameter ap_const_lv32_3 = 32'b11;
parameter ap_const_lv32_5 = 32'b101;
parameter ap_const_lv32_6 = 32'b110;
parameter ap_const_lv32_2 = 32'b10;
parameter ap_const_lv3_0 = 3'b000;
parameter ap_const_lv2_0 = 2'b00;
parameter ap_const_lv2_2 = 2'b10;
parameter ap_const_lv2_1 = 2'b1;
parameter ap_const_lv64_0 = 64'b0000000000000000000000000000000000000000000000000000000000000000;
parameter ap_const_lv32_7 = 32'b111;
parameter ap_const_lv32_FFFFFFFF = 32'b11111111111111111111111111111111;
parameter ap_const_lv8_0 = 8'b00000000;
parameter ap_const_lv3_4 = 3'b100;
parameter ap_const_lv3_1 = 3'b1;
parameter ap_const_lv8_1 = 8'b1;
parameter ap_const_lv8_13 = 8'b10011;
parameter ap_const_lv3_5 = 3'b101;
parameter ap_true = 1'b1;
input ap_clk;
input ap_rst;
input ap_start;
output ap_done;
input ap_continue;
output ap_idle;
output ap_ready;
input [31:0] matchs_0_V_dout;
input matchs_0_V_empty_n;
output matchs_0_V_read;
input [31:0] matchs_1_V_dout;
input matchs_1_V_empty_n;
output matchs_1_V_read;
input [31:0] matchs_2_V_dout;
input matchs_2_V_empty_n;
output matchs_2_V_read;
input [31:0] matchs_3_V_dout;
input matchs_3_V_empty_n;
output matchs_3_V_read;
input [31:0] matchs_4_V_dout;
input matchs_4_V_empty_n;
output matchs_4_V_read;
input [31:0] matchs_5_V_dout;
input matchs_5_V_empty_n;
output matchs_5_V_read;
input [31:0] matchs_6_V_dout;
input matchs_6_V_empty_n;
output matchs_6_V_read;
input [31:0] matchs_7_V_dout;
input matchs_7_V_empty_n;
output matchs_7_V_read;
input [31:0] matchs_8_V_dout;
input matchs_8_V_empty_n;
output matchs_8_V_read;
input [31:0] matchs_9_V_dout;
input matchs_9_V_empty_n;
output matchs_9_V_read;
input [31:0] matchs_10_V_dout;
input matchs_10_V_empty_n;
output matchs_10_V_read;
input [31:0] matchs_11_V_dout;
input matchs_11_V_empty_n;
output matchs_11_V_read;
input [31:0] matchs_12_V_dout;
input matchs_12_V_empty_n;
output matchs_12_V_read;
input [31:0] matchs_13_V_dout;
input matchs_13_V_empty_n;
output matchs_13_V_read;
input [31:0] matchs_14_V_dout;
input matchs_14_V_empty_n;
output matchs_14_V_read;
input [31:0] matchs_15_V_dout;
input matchs_15_V_empty_n;
output matchs_15_V_read;
input [31:0] matchs_16_V_dout;
input matchs_16_V_empty_n;
output matchs_16_V_read;
input [31:0] matchs_17_V_dout;
input matchs_17_V_empty_n;
output matchs_17_V_read;
input [31:0] matchs_18_V_dout;
input matchs_18_V_empty_n;
output matchs_18_V_read;
input [31:0] matchs_19_V_dout;
input matchs_19_V_empty_n;
output matchs_19_V_read;
output [31:0] peArr_blockMatchs_V_din;
input peArr_blockMatchs_V_full_n;
output peArr_blockMatchs_V_write;
reg ap_done;
reg ap_idle;
reg ap_ready;
reg matchs_0_V_read;
reg matchs_1_V_read;
reg matchs_2_V_read;
reg matchs_3_V_read;
reg matchs_4_V_read;
reg matchs_5_V_read;
reg matchs_6_V_read;
reg matchs_7_V_read;
reg matchs_8_V_read;
reg matchs_9_V_read;
reg matchs_10_V_read;
reg matchs_11_V_read;
reg matchs_12_V_read;
reg matchs_13_V_read;
reg matchs_14_V_read;
reg matchs_15_V_read;
reg matchs_16_V_read;
reg matchs_17_V_read;
reg matchs_18_V_read;
reg matchs_19_V_read;
reg[31:0] peArr_blockMatchs_V_din;
reg peArr_blockMatchs_V_write;
reg ap_done_reg = 1'b0;
(* fsm_encoding = "none" *) reg [7:0] ap_CS_fsm = 8'b1;
reg ap_sig_cseq_ST_st1_fsm_0;
reg ap_sig_bdd_27;
reg [2:0] i_0_i_reg_661;
reg [2:0] l_reg_735;
reg [31:0] reg_750;
reg ap_sig_cseq_ST_st2_fsm_1;
reg ap_sig_bdd_131;
wire [4:0] tmp_34_fu_883_p1;
reg [0:0] tmp_phi_fu_553_p40;
reg ap_sig_bdd_292;
reg ap_sig_cseq_ST_pp0_stg0_fsm_4;
reg ap_sig_bdd_301;
reg ap_reg_ppiten_pp0_it0 = 1'b0;
reg [4:0] tmp_34_reg_1004;
reg [0:0] exitcond_i_reg_1012;
reg ap_sig_bdd_423;
reg ap_reg_ppiten_pp0_it1 = 1'b0;
reg ap_reg_ppiten_pp0_it2 = 1'b0;
reg ap_reg_ppiten_pp0_it3 = 1'b0;
reg [31:0] reg_756;
reg [31:0] reg_762;
reg [31:0] reg_768;
reg [31:0] reg_774;
reg [31:0] reg_780;
reg [31:0] reg_786;
reg [31:0] reg_792;
reg [31:0] reg_798;
reg [31:0] reg_804;
reg [31:0] reg_810;
reg [31:0] reg_816;
reg [31:0] reg_822;
reg [31:0] reg_828;
reg [31:0] reg_834;
reg [31:0] reg_840;
reg [31:0] reg_846;
reg [31:0] reg_852;
reg [31:0] reg_858;
reg [31:0] reg_864;
wire [2:0] matchBuf_addr_gep_fu_524_p3;
reg [2:0] matchBuf_addr_reg_993;
reg ap_sig_bdd_535;
reg [7:0] j_load_reg_998;
wire [0:0] tmp_s_fu_887_p2;
reg ap_sig_cseq_ST_st4_fsm_3;
reg ap_sig_bdd_547;
wire [0:0] exitcond_i_fu_893_p2;
reg [0:0] ap_reg_ppstg_exitcond_i_reg_1012_pp0_it1;
reg [0:0] ap_reg_ppstg_exitcond_i_reg_1012_pp0_it2;
wire [2:0] i_fu_899_p2;
reg [2:0] i_reg_1016;
reg [2:0] matchBuf_addr_1_reg_1021;
reg [2:0] ap_reg_ppstg_matchBuf_addr_1_reg_1021_pp0_it1;
reg [2:0] ap_reg_ppstg_matchBuf_addr_1_reg_1021_pp0_it2;
wire [0:0] tmp_22_fu_910_p2;
reg ap_sig_cseq_ST_st9_fsm_5;
reg ap_sig_bdd_571;
wire [0:0] tmp_26_fu_916_p2;
wire [0:0] exitcond_fu_956_p2;
reg [0:0] exitcond_reg_1034;
reg ap_sig_cseq_ST_pp1_stg0_fsm_6;
reg ap_sig_bdd_584;
reg ap_reg_ppiten_pp1_it0 = 1'b0;
reg ap_sig_bdd_591;
reg ap_reg_ppiten_pp1_it1 = 1'b0;
wire [2:0] l_1_fu_962_p2;
reg [2:0] matchBuf_address0;
reg matchBuf_ce0;
reg matchBuf_we0;
reg [31:0] matchBuf_d0;
wire [31:0] matchBuf_q0;
reg [31:0] tmp_55_reg_615;
reg ap_sig_cseq_ST_st3_fsm_2;
reg ap_sig_bdd_694;
reg [2:0] i_0_i_phi_fu_665_p4;
wire [31:0] ap_reg_phiprechg_tmp_610_reg_672pp0_it2;
reg [31:0] ap_reg_phiprechg_tmp_610_reg_672pp0_it3;
reg [1:0] getPeMatchFlag_reg_718;
wire [63:0] tmp_24_fu_905_p1;
wire [63:0] tmp_29_fu_968_p1;
reg ap_sig_cseq_ST_st12_fsm_7;
reg ap_sig_bdd_853;
wire [0:0] tmp_27_fu_973_p2;
reg ap_sig_bdd_859;
reg [7:0] peOver_cnt_fu_224;
wire [7:0] peOver_cnt_1_fu_922_p2;
reg [7:0] j_fu_228;
wire [7:0] j_1_fu_943_p3;
wire [0:0] tmp_25_fu_933_p2;
wire [7:0] j_2_fu_938_p2;
reg [7:0] ap_NS_fsm;
reg ap_sig_bdd_728;
reg ap_sig_bdd_731;
reg ap_sig_bdd_733;
reg ap_sig_bdd_735;
reg ap_sig_bdd_737;
reg ap_sig_bdd_739;
reg ap_sig_bdd_741;
reg ap_sig_bdd_743;
reg ap_sig_bdd_745;
reg ap_sig_bdd_747;
reg ap_sig_bdd_749;
reg ap_sig_bdd_751;
reg ap_sig_bdd_753;
reg ap_sig_bdd_755;
reg ap_sig_bdd_757;
reg ap_sig_bdd_759;
reg ap_sig_bdd_761;
reg ap_sig_bdd_763;
reg ap_sig_bdd_765;
reg ap_sig_bdd_767;
reg ap_sig_bdd_725;
reg ap_sig_bdd_402;
reg ap_sig_bdd_271;
sw_pe_array_receive_match_matchBuf #(
.DataWidth( 32 ),
.AddressRange( 5 ),
.AddressWidth( 3 ))
matchBuf_U(
.clk( ap_clk ),
.reset( ap_rst ),
.address0( matchBuf_address0 ),
.ce0( matchBuf_ce0 ),
.we0( matchBuf_we0 ),
.d0( matchBuf_d0 ),
.q0( matchBuf_q0 )
);
/// the current state (ap_CS_fsm) of the state machine. ///
always @ (posedge ap_clk)
begin : ap_ret_ap_CS_fsm
if (ap_rst == 1'b1) begin
ap_CS_fsm <= ap_ST_st1_fsm_0;
end else begin
ap_CS_fsm <= ap_NS_fsm;
end
end
/// ap_done_reg assign process. ///
always @ (posedge ap_clk)
begin : ap_ret_ap_done_reg
if (ap_rst == 1'b1) begin
ap_done_reg <= ap_const_logic_0;
end else begin
if ((ap_const_logic_1 == ap_continue)) begin
ap_done_reg <= ap_const_logic_0;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_st12_fsm_7) & ~(ap_const_lv1_0 == tmp_27_fu_973_p2) & ~ap_sig_bdd_859)) begin
ap_done_reg <= ap_const_logic_1;
end
end
end
/// ap_reg_ppiten_pp0_it0 assign process. ///
always @ (posedge ap_clk)
begin : ap_ret_ap_reg_ppiten_pp0_it0
if (ap_rst == 1'b1) begin
ap_reg_ppiten_pp0_it0 <= ap_const_logic_0;
end else begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1)) & ~(ap_const_lv1_0 == exitcond_i_fu_893_p2))) begin
ap_reg_ppiten_pp0_it0 <= ap_const_logic_0;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_st4_fsm_3) & (ap_const_lv1_0 == tmp_s_fu_887_p2))) begin
ap_reg_ppiten_pp0_it0 <= ap_const_logic_1;
end
end
end
/// ap_reg_ppiten_pp0_it1 assign process. ///
always @ (posedge ap_clk)
begin : ap_ret_ap_reg_ppiten_pp0_it1
if (ap_rst == 1'b1) begin
ap_reg_ppiten_pp0_it1 <= ap_const_logic_0;
end else begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1)) & (ap_const_lv1_0 == exitcond_i_fu_893_p2))) begin
ap_reg_ppiten_pp0_it1 <= ap_const_logic_1;
end else if ((((ap_const_logic_1 == ap_sig_cseq_ST_st4_fsm_3) & (ap_const_lv1_0 == tmp_s_fu_887_p2)) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1)) & ~(ap_const_lv1_0 == exitcond_i_fu_893_p2)))) begin
ap_reg_ppiten_pp0_it1 <= ap_const_logic_0;
end
end
end
/// ap_reg_ppiten_pp0_it2 assign process. ///
always @ (posedge ap_clk)
begin : ap_ret_ap_reg_ppiten_pp0_it2
if (ap_rst == 1'b1) begin
ap_reg_ppiten_pp0_it2 <= ap_const_logic_0;
end else begin
if (~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))) begin
ap_reg_ppiten_pp0_it2 <= ap_reg_ppiten_pp0_it1;
end
end
end
/// ap_reg_ppiten_pp0_it3 assign process. ///
always @ (posedge ap_clk)
begin : ap_ret_ap_reg_ppiten_pp0_it3
if (ap_rst == 1'b1) begin
ap_reg_ppiten_pp0_it3 <= ap_const_logic_0;
end else begin
if (~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))) begin
ap_reg_ppiten_pp0_it3 <= ap_reg_ppiten_pp0_it2;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_st4_fsm_3) & (ap_const_lv1_0 == tmp_s_fu_887_p2))) begin
ap_reg_ppiten_pp0_it3 <= ap_const_logic_0;
end
end
end
/// ap_reg_ppiten_pp1_it0 assign process. ///
always @ (posedge ap_clk)
begin : ap_ret_ap_reg_ppiten_pp1_it0
if (ap_rst == 1'b1) begin
ap_reg_ppiten_pp1_it0 <= ap_const_logic_0;
end else begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp1_stg0_fsm_6) & ~(ap_sig_bdd_591 & (ap_const_logic_1 == ap_reg_ppiten_pp1_it1)) & ~(ap_const_lv1_0 == exitcond_fu_956_p2))) begin
ap_reg_ppiten_pp1_it0 <= ap_const_logic_0;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_st9_fsm_5) & (ap_const_lv1_0 == tmp_22_fu_910_p2) & ~(ap_const_lv1_0 == tmp_26_fu_916_p2))) begin
ap_reg_ppiten_pp1_it0 <= ap_const_logic_1;
end
end
end
/// ap_reg_ppiten_pp1_it1 assign process. ///
always @ (posedge ap_clk)
begin : ap_ret_ap_reg_ppiten_pp1_it1
if (ap_rst == 1'b1) begin
ap_reg_ppiten_pp1_it1 <= ap_const_logic_0;
end else begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp1_stg0_fsm_6) & ~(ap_sig_bdd_591 & (ap_const_logic_1 == ap_reg_ppiten_pp1_it1)) & (ap_const_lv1_0 == exitcond_fu_956_p2))) begin
ap_reg_ppiten_pp1_it1 <= ap_const_logic_1;
end else if ((((ap_const_logic_1 == ap_sig_cseq_ST_st9_fsm_5) & (ap_const_lv1_0 == tmp_22_fu_910_p2) & ~(ap_const_lv1_0 == tmp_26_fu_916_p2)) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp1_stg0_fsm_6) & ~(ap_sig_bdd_591 & (ap_const_logic_1 == ap_reg_ppiten_pp1_it1)) & ~(ap_const_lv1_0 == exitcond_fu_956_p2)))) begin
ap_reg_ppiten_pp1_it1 <= ap_const_logic_0;
end
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (ap_sig_bdd_725) begin
if (ap_sig_bdd_767) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_858;
end else if (ap_sig_bdd_765) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_852;
end else if (ap_sig_bdd_763) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_846;
end else if (ap_sig_bdd_761) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_840;
end else if (ap_sig_bdd_759) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_834;
end else if (ap_sig_bdd_757) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_828;
end else if (ap_sig_bdd_755) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_822;
end else if (ap_sig_bdd_753) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_816;
end else if (ap_sig_bdd_751) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_810;
end else if (ap_sig_bdd_749) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_804;
end else if (ap_sig_bdd_747) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_798;
end else if (ap_sig_bdd_745) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_792;
end else if (ap_sig_bdd_743) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_786;
end else if (ap_sig_bdd_741) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_780;
end else if (ap_sig_bdd_739) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_774;
end else if (ap_sig_bdd_737) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_768;
end else if (ap_sig_bdd_735) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_762;
end else if (ap_sig_bdd_733) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_756;
end else if (ap_sig_bdd_731) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_750;
end else if (ap_sig_bdd_728) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= reg_864;
end else if ((ap_true == ap_true)) begin
ap_reg_phiprechg_tmp_610_reg_672pp0_it3 <= ap_reg_phiprechg_tmp_610_reg_672pp0_it2;
end
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_logic_1 == ap_reg_ppiten_pp0_it0) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1)) & ~(ap_const_lv1_0 == exitcond_i_fu_893_p2))) begin
getPeMatchFlag_reg_718 <= ap_const_lv2_1;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_st4_fsm_3) & ~(ap_const_lv1_0 == tmp_s_fu_887_p2))) begin
getPeMatchFlag_reg_718 <= ap_const_lv2_2;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & (tmp_phi_fu_553_p40 == ap_const_lv1_0) & ~ap_sig_bdd_292)) begin
getPeMatchFlag_reg_718 <= ap_const_lv2_0;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_st4_fsm_3) & (ap_const_lv1_0 == tmp_s_fu_887_p2))) begin
i_0_i_reg_661 <= ap_const_lv3_0;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1)))) begin
i_0_i_reg_661 <= i_reg_1016;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_st9_fsm_5) & ~(ap_const_lv1_0 == tmp_22_fu_910_p2))) begin
j_fu_228 <= j_1_fu_943_p3;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_st1_fsm_0) & ~ap_sig_bdd_535)) begin
j_fu_228 <= ap_const_lv8_0;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_st9_fsm_5) & (ap_const_lv1_0 == tmp_22_fu_910_p2) & ~(ap_const_lv1_0 == tmp_26_fu_916_p2))) begin
l_reg_735 <= ap_const_lv3_0;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_pp1_stg0_fsm_6) & (ap_const_logic_1 == ap_reg_ppiten_pp1_it0) & ~(ap_sig_bdd_591 & (ap_const_logic_1 == ap_reg_ppiten_pp1_it1)) & (ap_const_lv1_0 == exitcond_fu_956_p2))) begin
l_reg_735 <= l_1_fu_962_p2;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_st9_fsm_5) & (ap_const_lv1_0 == tmp_22_fu_910_p2) & (ap_const_lv1_0 == tmp_26_fu_916_p2))) begin
peOver_cnt_fu_224 <= peOver_cnt_1_fu_922_p2;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_st1_fsm_0) & ~ap_sig_bdd_535)) begin
peOver_cnt_fu_224 <= ap_const_lv8_0;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((ap_const_logic_1 == ap_sig_cseq_ST_st3_fsm_2)) begin
if ((ap_const_lv5_0 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_858;
end else if ((ap_const_lv5_1 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_852;
end else if ((ap_const_lv5_2 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_846;
end else if ((ap_const_lv5_3 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_840;
end else if ((ap_const_lv5_4 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_834;
end else if ((ap_const_lv5_5 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_828;
end else if ((ap_const_lv5_6 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_822;
end else if ((ap_const_lv5_7 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_816;
end else if ((ap_const_lv5_8 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_810;
end else if ((ap_const_lv5_9 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_804;
end else if ((ap_const_lv5_A == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_798;
end else if ((ap_const_lv5_B == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_792;
end else if ((ap_const_lv5_C == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_786;
end else if ((ap_const_lv5_D == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_780;
end else if ((ap_const_lv5_E == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_774;
end else if ((ap_const_lv5_F == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_768;
end else if ((ap_const_lv5_10 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_762;
end else if ((ap_const_lv5_11 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_756;
end else if ((ap_const_lv5_12 == tmp_34_reg_1004)) begin
tmp_55_reg_615 <= reg_750;
end else if (ap_sig_bdd_402) begin
tmp_55_reg_615 <= reg_864;
end
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1)))) begin
ap_reg_ppstg_exitcond_i_reg_1012_pp0_it1 <= exitcond_i_reg_1012;
ap_reg_ppstg_matchBuf_addr_1_reg_1021_pp0_it1 <= matchBuf_addr_1_reg_1021;
exitcond_i_reg_1012 <= exitcond_i_fu_893_p2;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))) begin
ap_reg_ppstg_exitcond_i_reg_1012_pp0_it2 <= ap_reg_ppstg_exitcond_i_reg_1012_pp0_it1;
ap_reg_ppstg_matchBuf_addr_1_reg_1021_pp0_it2 <= ap_reg_ppstg_matchBuf_addr_1_reg_1021_pp0_it1;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp1_stg0_fsm_6) & ~(ap_sig_bdd_591 & (ap_const_logic_1 == ap_reg_ppiten_pp1_it1)))) begin
exitcond_reg_1034 <= exitcond_fu_956_p2;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_logic_1 == ap_reg_ppiten_pp0_it0) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1)))) begin
i_reg_1016 <= i_fu_899_p2;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~ap_sig_bdd_292)) begin
j_load_reg_998 <= j_fu_228;
tmp_34_reg_1004 <= tmp_34_fu_883_p1;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1)) & (ap_const_lv1_0 == exitcond_i_fu_893_p2))) begin
matchBuf_addr_1_reg_1021 <= tmp_24_fu_905_p1;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & (tmp_34_fu_883_p1 == ap_const_lv5_12) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv5_12 == tmp_34_reg_1004) & (ap_const_lv1_0 == exitcond_i_reg_1012) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_750 <= matchs_18_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_11) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_11 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_756 <= matchs_17_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_10) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_10 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_762 <= matchs_16_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_F) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_F == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_768 <= matchs_15_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_E) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_E == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_774 <= matchs_14_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_D) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_D == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_780 <= matchs_13_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_C) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_C == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_786 <= matchs_12_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_B) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_B == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_792 <= matchs_11_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_A) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_A == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_798 <= matchs_10_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_9) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_9 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_804 <= matchs_9_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_8) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_8 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_810 <= matchs_8_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_7) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_7 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_816 <= matchs_7_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_6) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_6 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_822 <= matchs_6_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_5) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_5 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_828 <= matchs_5_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_4) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_4 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_834 <= matchs_4_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_3) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_3 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_840 <= matchs_3_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_2) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_2 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_846 <= matchs_2_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_1) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_1 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_852 <= matchs_1_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & (tmp_34_fu_883_p1 == ap_const_lv5_0) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_lv5_0 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_858 <= matchs_0_V_dout;
end
end
/// assign process. ///
always @(posedge ap_clk)
begin
if ((((ap_const_logic_1 == ap_sig_cseq_ST_st2_fsm_1) & ~(tmp_phi_fu_553_p40 == ap_const_lv1_0) & ~(tmp_34_fu_883_p1 == ap_const_lv5_12) & ~(tmp_34_fu_883_p1 == ap_const_lv5_11) & ~(tmp_34_fu_883_p1 == ap_const_lv5_10) & ~(tmp_34_fu_883_p1 == ap_const_lv5_F) & ~(tmp_34_fu_883_p1 == ap_const_lv5_E) & ~(tmp_34_fu_883_p1 == ap_const_lv5_D) & ~(tmp_34_fu_883_p1 == ap_const_lv5_C) & ~(tmp_34_fu_883_p1 == ap_const_lv5_B) & ~(tmp_34_fu_883_p1 == ap_const_lv5_A) & ~(tmp_34_fu_883_p1 == ap_const_lv5_9) & ~(tmp_34_fu_883_p1 == ap_const_lv5_8) & ~(tmp_34_fu_883_p1 == ap_const_lv5_7) & ~(tmp_34_fu_883_p1 == ap_const_lv5_6) & ~(tmp_34_fu_883_p1 == ap_const_lv5_5) & ~(tmp_34_fu_883_p1 == ap_const_lv5_4) & ~(tmp_34_fu_883_p1 == ap_const_lv5_3) & ~(tmp_34_fu_883_p1 == ap_const_lv5_2) & ~(tmp_34_fu_883_p1 == ap_const_lv5_1) & ~(tmp_34_fu_883_p1 == ap_const_lv5_0) & ~ap_sig_bdd_292) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & ~(ap_const_lv5_12 == tmp_34_reg_1004) & ~(ap_const_lv5_11 == tmp_34_reg_1004) & ~(ap_const_lv5_10 == tmp_34_reg_1004) & ~(ap_const_lv5_F == tmp_34_reg_1004) & ~(ap_const_lv5_E == tmp_34_reg_1004) & ~(ap_const_lv5_D == tmp_34_reg_1004) & ~(ap_const_lv5_C == tmp_34_reg_1004) & ~(ap_const_lv5_B == tmp_34_reg_1004) & ~(ap_const_lv5_A == tmp_34_reg_1004) & ~(ap_const_lv5_9 == tmp_34_reg_1004) & ~(ap_const_lv5_8 == tmp_34_reg_1004) & ~(ap_const_lv5_7 == tmp_34_reg_1004) & ~(ap_const_lv5_6 == tmp_34_reg_1004) & ~(ap_const_lv5_5 == tmp_34_reg_1004) & ~(ap_const_lv5_4 == tmp_34_reg_1004) & ~(ap_const_lv5_3 == tmp_34_reg_1004) & ~(ap_const_lv5_2 == tmp_34_reg_1004) & ~(ap_const_lv5_1 == tmp_34_reg_1004) & ~(ap_const_lv5_0 == tmp_34_reg_1004) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
reg_864 <= matchs_19_V_dout;
end
end
/// ap_done assign process. ///
always @ (ap_done_reg or ap_sig_cseq_ST_st12_fsm_7 or tmp_27_fu_973_p2 or ap_sig_bdd_859)
begin
if (((ap_const_logic_1 == ap_done_reg) | ((ap_const_logic_1 == ap_sig_cseq_ST_st12_fsm_7) & ~(ap_const_lv1_0 == tmp_27_fu_973_p2) & ~ap_sig_bdd_859))) begin
ap_done = ap_const_logic_1;
end else begin
ap_done = ap_const_logic_0;
end
end
/// ap_idle assign process. ///
always @ (ap_start or ap_sig_cseq_ST_st1_fsm_0)
begin
if ((~(ap_const_logic_1 == ap_start) & (ap_const_logic_1 == ap_sig_cseq_ST_st1_fsm_0))) begin
ap_idle = ap_const_logic_1;
end else begin
ap_idle = ap_const_logic_0;
end
end
/// ap_ready assign process. ///
always @ (ap_sig_cseq_ST_st12_fsm_7 or tmp_27_fu_973_p2 or ap_sig_bdd_859)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_st12_fsm_7) & ~(ap_const_lv1_0 == tmp_27_fu_973_p2) & ~ap_sig_bdd_859)) begin
ap_ready = ap_const_logic_1;
end else begin
ap_ready = ap_const_logic_0;
end
end
/// ap_sig_cseq_ST_pp0_stg0_fsm_4 assign process. ///
always @ (ap_sig_bdd_301)
begin
if (ap_sig_bdd_301) begin
ap_sig_cseq_ST_pp0_stg0_fsm_4 = ap_const_logic_1;
end else begin
ap_sig_cseq_ST_pp0_stg0_fsm_4 = ap_const_logic_0;
end
end
/// ap_sig_cseq_ST_pp1_stg0_fsm_6 assign process. ///
always @ (ap_sig_bdd_584)
begin
if (ap_sig_bdd_584) begin
ap_sig_cseq_ST_pp1_stg0_fsm_6 = ap_const_logic_1;
end else begin
ap_sig_cseq_ST_pp1_stg0_fsm_6 = ap_const_logic_0;
end
end
/// ap_sig_cseq_ST_st12_fsm_7 assign process. ///
always @ (ap_sig_bdd_853)
begin
if (ap_sig_bdd_853) begin
ap_sig_cseq_ST_st12_fsm_7 = ap_const_logic_1;
end else begin
ap_sig_cseq_ST_st12_fsm_7 = ap_const_logic_0;
end
end
/// ap_sig_cseq_ST_st1_fsm_0 assign process. ///
always @ (ap_sig_bdd_27)
begin
if (ap_sig_bdd_27) begin
ap_sig_cseq_ST_st1_fsm_0 = ap_const_logic_1;
end else begin
ap_sig_cseq_ST_st1_fsm_0 = ap_const_logic_0;
end
end
/// ap_sig_cseq_ST_st2_fsm_1 assign process. ///
always @ (ap_sig_bdd_131)
begin
if (ap_sig_bdd_131) begin
ap_sig_cseq_ST_st2_fsm_1 = ap_const_logic_1;
end else begin
ap_sig_cseq_ST_st2_fsm_1 = ap_const_logic_0;
end
end
/// ap_sig_cseq_ST_st3_fsm_2 assign process. ///
always @ (ap_sig_bdd_694)
begin
if (ap_sig_bdd_694) begin
ap_sig_cseq_ST_st3_fsm_2 = ap_const_logic_1;
end else begin
ap_sig_cseq_ST_st3_fsm_2 = ap_const_logic_0;
end
end
/// ap_sig_cseq_ST_st4_fsm_3 assign process. ///
always @ (ap_sig_bdd_547)
begin
if (ap_sig_bdd_547) begin
ap_sig_cseq_ST_st4_fsm_3 = ap_const_logic_1;
end else begin
ap_sig_cseq_ST_st4_fsm_3 = ap_const_logic_0;
end
end
/// ap_sig_cseq_ST_st9_fsm_5 assign process. ///
always @ (ap_sig_bdd_571)
begin
if (ap_sig_bdd_571) begin
ap_sig_cseq_ST_st9_fsm_5 = ap_const_logic_1;
end else begin
ap_sig_cseq_ST_st9_fsm_5 = ap_const_logic_0;
end
end
/// i_0_i_phi_fu_665_p4 assign process. ///
always @ (i_0_i_reg_661 or ap_sig_cseq_ST_pp0_stg0_fsm_4 or exitcond_i_reg_1012 or ap_reg_ppiten_pp0_it1 or i_reg_1016)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_pp0_stg0_fsm_4) & (ap_const_lv1_0 == exitcond_i_reg_1012) & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))) begin
i_0_i_phi_fu_665_p4 = i_reg_1016;
end else begin
i_0_i_phi_fu_665_p4 = i_0_i_reg_661;
end
end
/// matchBuf_address0 assign process. ///
always @ (ap_reg_ppiten_pp0_it3 or matchBuf_addr_reg_993 or ap_sig_cseq_ST_st4_fsm_3 or ap_reg_ppstg_matchBuf_addr_1_reg_1021_pp0_it2 or ap_sig_cseq_ST_pp1_stg0_fsm_6 or ap_reg_ppiten_pp1_it0 or tmp_29_fu_968_p1)
begin
if ((ap_const_logic_1 == ap_reg_ppiten_pp0_it3)) begin
matchBuf_address0 = ap_reg_ppstg_matchBuf_addr_1_reg_1021_pp0_it2;
end else if ((ap_const_logic_1 == ap_sig_cseq_ST_st4_fsm_3)) begin
matchBuf_address0 = matchBuf_addr_reg_993;
end else if (((ap_const_logic_1 == ap_sig_cseq_ST_pp1_stg0_fsm_6) & (ap_const_logic_1 == ap_reg_ppiten_pp1_it0))) begin
matchBuf_address0 = tmp_29_fu_968_p1;
end else begin
matchBuf_address0 = 'bx;
end
end
/// matchBuf_ce0 assign process. ///
always @ (ap_sig_bdd_423 or ap_reg_ppiten_pp0_it1 or ap_reg_ppiten_pp0_it3 or ap_sig_cseq_ST_st4_fsm_3 or ap_sig_cseq_ST_pp1_stg0_fsm_6 or ap_reg_ppiten_pp1_it0 or ap_sig_bdd_591 or ap_reg_ppiten_pp1_it1)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_st4_fsm_3) | ((ap_const_logic_1 == ap_sig_cseq_ST_pp1_stg0_fsm_6) & (ap_const_logic_1 == ap_reg_ppiten_pp1_it0) & ~(ap_sig_bdd_591 & (ap_const_logic_1 == ap_reg_ppiten_pp1_it1))) | ((ap_const_logic_1 == ap_reg_ppiten_pp0_it3) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1))))) begin
matchBuf_ce0 = ap_const_logic_1;
end else begin
matchBuf_ce0 = ap_const_logic_0;
end
end
/// matchBuf_d0 assign process. ///
always @ (ap_reg_ppiten_pp0_it3 or ap_sig_cseq_ST_st4_fsm_3 or tmp_55_reg_615 or ap_reg_phiprechg_tmp_610_reg_672pp0_it3)
begin
if ((ap_const_logic_1 == ap_reg_ppiten_pp0_it3)) begin
matchBuf_d0 = ap_reg_phiprechg_tmp_610_reg_672pp0_it3;
end else if ((ap_const_logic_1 == ap_sig_cseq_ST_st4_fsm_3)) begin
matchBuf_d0 = tmp_55_reg_615;
end else begin
matchBuf_d0 = 'bx;
end
end
/// matchBuf_we0 assign process. ///
always @ (ap_sig_bdd_423 or ap_reg_ppiten_pp0_it1 or ap_reg_ppiten_pp0_it3 or ap_sig_cseq_ST_st4_fsm_3 or ap_reg_ppstg_exitcond_i_reg_1012_pp0_it2)
begin
if (((ap_const_logic_1 == ap_sig_cseq_ST_st4_fsm_3) | ((ap_const_logic_1 == ap_reg_ppiten_pp0_it3) & ~(ap_sig_bdd_423 & (ap_const_logic_1 == ap_reg_ppiten_pp0_it1)) & (ap_const_lv1_0 == ap_reg_ppstg_exitcond_i_reg_1012_pp0_it2)))) begin
matchBuf_we0 = ap_const_logic_1;
end else begin
matchBuf_we0 = ap_const_logic_0;
end
end
/// matchs_0_V_read assign process. ///
always @ (ap_sig_cseq_ST_st2_fsm_1 or tmp_34_fu_883_p1 or tmp_phi_fu_553_p40 or ap_sig_bdd_292 or ap_sig_cseq_ST_pp0_stg0_fsm_4 or tmp_34_reg_1004 or exitcond_i_reg_1012 or ap_sig_bdd_423 or ap_reg_ppiten_pp0_it1)