-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmkSMAdapter8B.v
3359 lines (2991 loc) · 114 KB
/
mkSMAdapter8B.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
//
// Generated by Bluespec Compiler, version 2013.01.beta5 (build 30325, 2013-01-23)
//
// On Mon Feb 3 15:05:07 EST 2014
//
//
// Ports:
// Name I/O size props
// wciS0_SResp O 2 reg
// wciS0_SData O 32 reg
// wciS0_SThreadBusy O 1
// wciS0_SFlag O 2
// wmiM0_MCmd O 3
// wmiM0_MReqLast O 1
// wmiM0_MReqInfo O 1
// wmiM0_MAddrSpace O 1
// wmiM0_MAddr O 14
// wmiM0_MBurstLength O 12
// wmiM0_MDataValid O 1
// wmiM0_MDataLast O 1
// wmiM0_MData O 64
// wmiM0_MDataByteEn O 8
// wmiM0_MFlag O 32
// wmiM0_MReset_n O 1
// wsiM0_MCmd O 3
// wsiM0_MReqLast O 1
// wsiM0_MBurstPrecise O 1
// wsiM0_MBurstLength O 12
// wsiM0_MData O 64 reg
// wsiM0_MByteEn O 8 reg
// wsiM0_MReqInfo O 8
// wsiM0_MReset_n O 1
// wsiS0_SThreadBusy O 1
// wsiS0_SReset_n O 1
// wciS0_Clk I 1 clock
// wciS0_MReset_n I 1 reset
// wciS0_MCmd I 3
// wciS0_MAddrSpace I 1
// wciS0_MByteEn I 4
// wciS0_MAddr I 32
// wciS0_MData I 32
// wciS0_MFlag I 2 unused
// wmiM0_SResp I 2
// wmiM0_SData I 64
// wmiM0_SFlag I 32 reg
// wsiS0_MCmd I 3
// wsiS0_MBurstLength I 12
// wsiS0_MData I 64
// wsiS0_MByteEn I 8
// wsiS0_MReqInfo I 8
// wmiM0_SThreadBusy I 1 reg
// wmiM0_SDataThreadBusy I 1 reg
// wmiM0_SRespLast I 1 unused
// wmiM0_SReset_n I 1 reg
// wsiM0_SThreadBusy I 1 reg
// wsiM0_SReset_n I 1 reg
// wsiS0_MReqLast I 1
// wsiS0_MBurstPrecise I 1
// wsiS0_MReset_n I 1 reg
//
// No combinational paths from inputs to outputs
//
//
`ifdef BSV_ASSIGNMENT_DELAY
`else
`define BSV_ASSIGNMENT_DELAY
`endif
`ifdef BSV_POSITIVE_RESET
`define BSV_RESET_VALUE 1'b1
`define BSV_RESET_EDGE posedge
`else
`define BSV_RESET_VALUE 1'b0
`define BSV_RESET_EDGE negedge
`endif
module mkSMAdapter8B(wciS0_Clk,
wciS0_MReset_n,
wciS0_MCmd,
wciS0_MAddrSpace,
wciS0_MByteEn,
wciS0_MAddr,
wciS0_MData,
wciS0_SResp,
wciS0_SData,
wciS0_SThreadBusy,
wciS0_SFlag,
wciS0_MFlag,
wmiM0_MCmd,
wmiM0_MReqLast,
wmiM0_MReqInfo,
wmiM0_MAddrSpace,
wmiM0_MAddr,
wmiM0_MBurstLength,
wmiM0_MDataValid,
wmiM0_MDataLast,
wmiM0_MData,
wmiM0_MDataByteEn,
wmiM0_SResp,
wmiM0_SData,
wmiM0_SThreadBusy,
wmiM0_SDataThreadBusy,
wmiM0_SRespLast,
wmiM0_SFlag,
wmiM0_MFlag,
wmiM0_MReset_n,
wmiM0_SReset_n,
wsiM0_MCmd,
wsiM0_MReqLast,
wsiM0_MBurstPrecise,
wsiM0_MBurstLength,
wsiM0_MData,
wsiM0_MByteEn,
wsiM0_MReqInfo,
wsiM0_SThreadBusy,
wsiM0_MReset_n,
wsiM0_SReset_n,
wsiS0_MCmd,
wsiS0_MReqLast,
wsiS0_MBurstPrecise,
wsiS0_MBurstLength,
wsiS0_MData,
wsiS0_MByteEn,
wsiS0_MReqInfo,
wsiS0_SThreadBusy,
wsiS0_SReset_n,
wsiS0_MReset_n);
parameter [31 : 0] smaCtrlInit = 32'b0;
parameter [0 : 0] hasDebugLogic = 1'b0;
input wciS0_Clk;
input wciS0_MReset_n;
// action method wciS0_mCmd
input [2 : 0] wciS0_MCmd;
// action method wciS0_mAddrSpace
input wciS0_MAddrSpace;
// action method wciS0_mByteEn
input [3 : 0] wciS0_MByteEn;
// action method wciS0_mAddr
input [31 : 0] wciS0_MAddr;
// action method wciS0_mData
input [31 : 0] wciS0_MData;
// value method wciS0_sResp
output [1 : 0] wciS0_SResp;
// value method wciS0_sData
output [31 : 0] wciS0_SData;
// value method wciS0_sThreadBusy
output wciS0_SThreadBusy;
// value method wciS0_sFlag
output [1 : 0] wciS0_SFlag;
// action method wciS0_mFlag
input [1 : 0] wciS0_MFlag;
// value method wmiM0_mCmd
output [2 : 0] wmiM0_MCmd;
// value method wmiM0_mReqLast
output wmiM0_MReqLast;
// value method wmiM0_mReqInfo
output wmiM0_MReqInfo;
// value method wmiM0_mAddrSpace
output wmiM0_MAddrSpace;
// value method wmiM0_mAddr
output [13 : 0] wmiM0_MAddr;
// value method wmiM0_mBurstLength
output [11 : 0] wmiM0_MBurstLength;
// value method wmiM0_mDataValid
output wmiM0_MDataValid;
// value method wmiM0_mDataLast
output wmiM0_MDataLast;
// value method wmiM0_mData
output [63 : 0] wmiM0_MData;
// value method wmiM0_mDataInfo
// value method wmiM0_mDataByteEn
output [7 : 0] wmiM0_MDataByteEn;
// action method wmiM0_sResp
input [1 : 0] wmiM0_SResp;
// action method wmiM0_sData
input [63 : 0] wmiM0_SData;
// action method wmiM0_sThreadBusy
input wmiM0_SThreadBusy;
// action method wmiM0_sDataThreadBusy
input wmiM0_SDataThreadBusy;
// action method wmiM0_sRespLast
input wmiM0_SRespLast;
// action method wmiM0_sFlag
input [31 : 0] wmiM0_SFlag;
// value method wmiM0_mFlag
output [31 : 0] wmiM0_MFlag;
// value method wmiM0_mReset_n
output wmiM0_MReset_n;
// action method wmiM0_sReset_n
input wmiM0_SReset_n;
// value method wsiM0_mCmd
output [2 : 0] wsiM0_MCmd;
// value method wsiM0_mReqLast
output wsiM0_MReqLast;
// value method wsiM0_mBurstPrecise
output wsiM0_MBurstPrecise;
// value method wsiM0_mBurstLength
output [11 : 0] wsiM0_MBurstLength;
// value method wsiM0_mData
output [63 : 0] wsiM0_MData;
// value method wsiM0_mByteEn
output [7 : 0] wsiM0_MByteEn;
// value method wsiM0_mReqInfo
output [7 : 0] wsiM0_MReqInfo;
// value method wsiM0_mDataInfo
// action method wsiM0_sThreadBusy
input wsiM0_SThreadBusy;
// value method wsiM0_mReset_n
output wsiM0_MReset_n;
// action method wsiM0_sReset_n
input wsiM0_SReset_n;
// action method wsiS0_mCmd
input [2 : 0] wsiS0_MCmd;
// action method wsiS0_mReqLast
input wsiS0_MReqLast;
// action method wsiS0_mBurstPrecise
input wsiS0_MBurstPrecise;
// action method wsiS0_mBurstLength
input [11 : 0] wsiS0_MBurstLength;
// action method wsiS0_mData
input [63 : 0] wsiS0_MData;
// action method wsiS0_mByteEn
input [7 : 0] wsiS0_MByteEn;
// action method wsiS0_mReqInfo
input [7 : 0] wsiS0_MReqInfo;
// action method wsiS0_mDataInfo
// value method wsiS0_sThreadBusy
output wsiS0_SThreadBusy;
// value method wsiS0_sReset_n
output wsiS0_SReset_n;
// action method wsiS0_mReset_n
input wsiS0_MReset_n;
// signals for module outputs
wire [63 : 0] wmiM0_MData, wsiM0_MData;
wire [31 : 0] wciS0_SData, wmiM0_MFlag;
wire [13 : 0] wmiM0_MAddr;
wire [11 : 0] wmiM0_MBurstLength, wsiM0_MBurstLength;
wire [7 : 0] wmiM0_MDataByteEn, wsiM0_MByteEn, wsiM0_MReqInfo;
wire [2 : 0] wmiM0_MCmd, wsiM0_MCmd;
wire [1 : 0] wciS0_SFlag, wciS0_SResp;
wire wciS0_SThreadBusy,
wmiM0_MAddrSpace,
wmiM0_MDataLast,
wmiM0_MDataValid,
wmiM0_MReqInfo,
wmiM0_MReqLast,
wmiM0_MReset_n,
wsiM0_MBurstPrecise,
wsiM0_MReqLast,
wsiM0_MReset_n,
wsiS0_SReset_n,
wsiS0_SThreadBusy;
// inlined wires
wire [96 : 0] respF_wDataIn_wget,
respF_wDataOut_wget,
wsiM_reqFifo_x_wire_wget,
wsiS_wsiReq_wget;
wire [95 : 0] wsiM_extStatusW_wget, wsiS_extStatusW_wget;
wire [73 : 0] wmi_dhF_x_wire_wget;
wire [71 : 0] wci_wslv_wciReq_wget;
wire [65 : 0] wmi_wmiResponse_wget;
wire [63 : 0] wmi_Em_sData_w_wget, wsi_Es_mData_w_wget;
wire [33 : 0] wci_wslv_respF_x_wire_wget;
wire [31 : 0] wci_wci_Es_mAddr_w_wget,
wci_wci_Es_mData_w_wget,
wmi_mFlagF_x_wire_wget,
wmi_reqF_x_wire_wget;
wire [11 : 0] fabRespCredit_acc_v1_wget,
fabRespCredit_acc_v2_wget,
wsi_Es_mBurstLength_w_wget;
wire [7 : 0] wsi_Es_mByteEn_w_wget, wsi_Es_mReqInfo_w_wget;
wire [3 : 0] wci_wci_Es_mByteEn_w_wget;
wire [2 : 0] wci_wci_Es_mCmd_w_wget,
wci_wslv_wEdge_wget,
wsi_Es_mCmd_w_wget;
wire [1 : 0] wmi_Em_sResp_w_wget;
wire fabRespCredit_acc_v1_whas,
fabRespCredit_acc_v2_whas,
mesgPreRequest_1_wget,
mesgPreRequest_1_whas,
respF_pwClear_whas,
respF_pwDequeue_whas,
respF_pwEnqueue_whas,
respF_wDataIn_whas,
respF_wDataOut_whas,
wci_wci_Es_mAddrSpace_w_wget,
wci_wci_Es_mAddrSpace_w_whas,
wci_wci_Es_mAddr_w_whas,
wci_wci_Es_mByteEn_w_whas,
wci_wci_Es_mCmd_w_whas,
wci_wci_Es_mData_w_whas,
wci_wslv_ctlAckReg_1_wget,
wci_wslv_ctlAckReg_1_whas,
wci_wslv_reqF_r_clr_whas,
wci_wslv_reqF_r_deq_whas,
wci_wslv_reqF_r_enq_whas,
wci_wslv_respF_dequeueing_whas,
wci_wslv_respF_enqueueing_whas,
wci_wslv_respF_x_wire_whas,
wci_wslv_sFlagReg_1_wget,
wci_wslv_sFlagReg_1_whas,
wci_wslv_sThreadBusy_pw_whas,
wci_wslv_wEdge_whas,
wci_wslv_wciReq_whas,
wci_wslv_wci_cfrd_pw_whas,
wci_wslv_wci_cfwr_pw_whas,
wci_wslv_wci_ctrl_pw_whas,
wmi_Em_sData_w_whas,
wmi_Em_sResp_w_whas,
wmi_dhF_dequeueing_whas,
wmi_dhF_enqueueing_whas,
wmi_dhF_x_wire_whas,
wmi_mFlagF_dequeueing_whas,
wmi_mFlagF_enqueueing_whas,
wmi_mFlagF_x_wire_whas,
wmi_operateD_1_wget,
wmi_operateD_1_whas,
wmi_peerIsReady_1_wget,
wmi_peerIsReady_1_whas,
wmi_reqF_dequeueing_whas,
wmi_reqF_enqueueing_whas,
wmi_reqF_x_wire_whas,
wmi_sDataThreadBusy_d_1_wget,
wmi_sDataThreadBusy_d_1_whas,
wmi_sThreadBusy_d_1_wget,
wmi_sThreadBusy_d_1_whas,
wmi_wmiResponse_whas,
wsiM_operateD_1_wget,
wsiM_operateD_1_whas,
wsiM_peerIsReady_1_wget,
wsiM_peerIsReady_1_whas,
wsiM_reqFifo_dequeueing_whas,
wsiM_reqFifo_enqueueing_whas,
wsiM_reqFifo_x_wire_whas,
wsiM_sThreadBusy_pw_whas,
wsiS_operateD_1_wget,
wsiS_operateD_1_whas,
wsiS_peerIsReady_1_wget,
wsiS_peerIsReady_1_whas,
wsiS_reqFifo_doResetClr_whas,
wsiS_reqFifo_doResetDeq_whas,
wsiS_reqFifo_doResetEnq_whas,
wsiS_reqFifo_r_clr_whas,
wsiS_reqFifo_r_deq_whas,
wsiS_reqFifo_r_enq_whas,
wsiS_sThreadBusy_dw_wget,
wsiS_sThreadBusy_dw_whas,
wsiS_wsiReq_whas,
wsi_Es_mBurstLength_w_whas,
wsi_Es_mBurstPrecise_w_whas,
wsi_Es_mByteEn_w_whas,
wsi_Es_mCmd_w_whas,
wsi_Es_mDataInfo_w_whas,
wsi_Es_mData_w_whas,
wsi_Es_mReqInfo_w_whas,
wsi_Es_mReqLast_w_whas;
// register abortCount
reg [31 : 0] abortCount;
wire [31 : 0] abortCount_D_IN;
wire abortCount_EN;
// register doAbort
reg doAbort;
wire doAbort_D_IN, doAbort_EN;
// register endOfMessage
reg endOfMessage;
wire endOfMessage_D_IN, endOfMessage_EN;
// register errCount
reg [63 : 0] errCount;
wire [63 : 0] errCount_D_IN;
wire errCount_EN;
// register fabRespCredit_value
reg [11 : 0] fabRespCredit_value;
wire [11 : 0] fabRespCredit_value_D_IN;
wire fabRespCredit_value_EN;
// register fabWordsCurReq
reg [13 : 0] fabWordsCurReq;
wire [13 : 0] fabWordsCurReq_D_IN;
wire fabWordsCurReq_EN;
// register fabWordsRemain
reg [13 : 0] fabWordsRemain;
wire [13 : 0] fabWordsRemain_D_IN;
wire fabWordsRemain_EN;
// register firstMsgReq
reg firstMsgReq;
wire firstMsgReq_D_IN, firstMsgReq_EN;
// register lastMesg
reg [31 : 0] lastMesg;
wire [31 : 0] lastMesg_D_IN;
wire lastMesg_EN;
// register mesgCount
reg [31 : 0] mesgCount;
reg [31 : 0] mesgCount_D_IN;
wire mesgCount_EN;
// register mesgLengthSoFar
reg [13 : 0] mesgLengthSoFar;
wire [13 : 0] mesgLengthSoFar_D_IN;
wire mesgLengthSoFar_EN;
// register mesgPreRequest
reg mesgPreRequest;
wire mesgPreRequest_D_IN, mesgPreRequest_EN;
// register mesgReqAddr
reg [13 : 0] mesgReqAddr;
wire [13 : 0] mesgReqAddr_D_IN;
wire mesgReqAddr_EN;
// register mesgReqOK
reg mesgReqOK;
wire mesgReqOK_D_IN, mesgReqOK_EN;
// register opcode
reg [8 : 0] opcode;
wire [8 : 0] opcode_D_IN;
wire opcode_EN;
// register readyToPush
reg readyToPush;
wire readyToPush_D_IN, readyToPush_EN;
// register readyToRequest
reg readyToRequest;
wire readyToRequest_D_IN, readyToRequest_EN;
// register respF_rCache
reg [109 : 0] respF_rCache;
wire [109 : 0] respF_rCache_D_IN;
wire respF_rCache_EN;
// register respF_rRdPtr
reg [11 : 0] respF_rRdPtr;
wire [11 : 0] respF_rRdPtr_D_IN;
wire respF_rRdPtr_EN;
// register respF_rWrPtr
reg [11 : 0] respF_rWrPtr;
wire [11 : 0] respF_rWrPtr_D_IN;
wire respF_rWrPtr_EN;
// register smaCtrl
reg [31 : 0] smaCtrl;
wire [31 : 0] smaCtrl_D_IN;
wire smaCtrl_EN;
// register thisMesg
reg [31 : 0] thisMesg;
reg [31 : 0] thisMesg_D_IN;
wire thisMesg_EN;
// register unrollCnt
reg [15 : 0] unrollCnt;
wire [15 : 0] unrollCnt_D_IN;
wire unrollCnt_EN;
// register valExpect
reg [63 : 0] valExpect;
wire [63 : 0] valExpect_D_IN;
wire valExpect_EN;
// register wci_wslv_cEdge
reg [2 : 0] wci_wslv_cEdge;
wire [2 : 0] wci_wslv_cEdge_D_IN;
wire wci_wslv_cEdge_EN;
// register wci_wslv_cState
reg [2 : 0] wci_wslv_cState;
wire [2 : 0] wci_wslv_cState_D_IN;
wire wci_wslv_cState_EN;
// register wci_wslv_ctlAckReg
reg wci_wslv_ctlAckReg;
wire wci_wslv_ctlAckReg_D_IN, wci_wslv_ctlAckReg_EN;
// register wci_wslv_ctlOpActive
reg wci_wslv_ctlOpActive;
wire wci_wslv_ctlOpActive_D_IN, wci_wslv_ctlOpActive_EN;
// register wci_wslv_illegalEdge
reg wci_wslv_illegalEdge;
wire wci_wslv_illegalEdge_D_IN, wci_wslv_illegalEdge_EN;
// register wci_wslv_isReset_isInReset
reg wci_wslv_isReset_isInReset;
wire wci_wslv_isReset_isInReset_D_IN, wci_wslv_isReset_isInReset_EN;
// register wci_wslv_nState
reg [2 : 0] wci_wslv_nState;
reg [2 : 0] wci_wslv_nState_D_IN;
wire wci_wslv_nState_EN;
// register wci_wslv_reqF_countReg
reg [1 : 0] wci_wslv_reqF_countReg;
wire [1 : 0] wci_wslv_reqF_countReg_D_IN;
wire wci_wslv_reqF_countReg_EN;
// register wci_wslv_respF_cntr_r
reg [1 : 0] wci_wslv_respF_cntr_r;
wire [1 : 0] wci_wslv_respF_cntr_r_D_IN;
wire wci_wslv_respF_cntr_r_EN;
// register wci_wslv_respF_q_0
reg [33 : 0] wci_wslv_respF_q_0;
reg [33 : 0] wci_wslv_respF_q_0_D_IN;
wire wci_wslv_respF_q_0_EN;
// register wci_wslv_respF_q_1
reg [33 : 0] wci_wslv_respF_q_1;
reg [33 : 0] wci_wslv_respF_q_1_D_IN;
wire wci_wslv_respF_q_1_EN;
// register wci_wslv_sFlagReg
reg wci_wslv_sFlagReg;
wire wci_wslv_sFlagReg_D_IN, wci_wslv_sFlagReg_EN;
// register wci_wslv_sThreadBusy_d
reg wci_wslv_sThreadBusy_d;
wire wci_wslv_sThreadBusy_d_D_IN, wci_wslv_sThreadBusy_d_EN;
// register wmi_busyWithMessage
reg wmi_busyWithMessage;
wire wmi_busyWithMessage_D_IN, wmi_busyWithMessage_EN;
// register wmi_dhF_cntr_r
reg [1 : 0] wmi_dhF_cntr_r;
wire [1 : 0] wmi_dhF_cntr_r_D_IN;
wire wmi_dhF_cntr_r_EN;
// register wmi_dhF_q_0
reg [73 : 0] wmi_dhF_q_0;
reg [73 : 0] wmi_dhF_q_0_D_IN;
wire wmi_dhF_q_0_EN;
// register wmi_dhF_q_1
reg [73 : 0] wmi_dhF_q_1;
reg [73 : 0] wmi_dhF_q_1_D_IN;
wire wmi_dhF_q_1_EN;
// register wmi_errorSticky
reg wmi_errorSticky;
wire wmi_errorSticky_D_IN, wmi_errorSticky_EN;
// register wmi_isReset_isInReset
reg wmi_isReset_isInReset;
wire wmi_isReset_isInReset_D_IN, wmi_isReset_isInReset_EN;
// register wmi_mFlagF_cntr_r
reg [1 : 0] wmi_mFlagF_cntr_r;
wire [1 : 0] wmi_mFlagF_cntr_r_D_IN;
wire wmi_mFlagF_cntr_r_EN;
// register wmi_mFlagF_q_0
reg [31 : 0] wmi_mFlagF_q_0;
reg [31 : 0] wmi_mFlagF_q_0_D_IN;
wire wmi_mFlagF_q_0_EN;
// register wmi_mFlagF_q_1
reg [31 : 0] wmi_mFlagF_q_1;
reg [31 : 0] wmi_mFlagF_q_1_D_IN;
wire wmi_mFlagF_q_1_EN;
// register wmi_operateD
reg wmi_operateD;
wire wmi_operateD_D_IN, wmi_operateD_EN;
// register wmi_peerIsReady
reg wmi_peerIsReady;
wire wmi_peerIsReady_D_IN, wmi_peerIsReady_EN;
// register wmi_reqF_cntr_r
reg [1 : 0] wmi_reqF_cntr_r;
wire [1 : 0] wmi_reqF_cntr_r_D_IN;
wire wmi_reqF_cntr_r_EN;
// register wmi_reqF_q_0
reg [31 : 0] wmi_reqF_q_0;
reg [31 : 0] wmi_reqF_q_0_D_IN;
wire wmi_reqF_q_0_EN;
// register wmi_reqF_q_1
reg [31 : 0] wmi_reqF_q_1;
reg [31 : 0] wmi_reqF_q_1_D_IN;
wire wmi_reqF_q_1_EN;
// register wmi_sDataThreadBusy_d
reg wmi_sDataThreadBusy_d;
wire wmi_sDataThreadBusy_d_D_IN, wmi_sDataThreadBusy_d_EN;
// register wmi_sFlagReg
reg [31 : 0] wmi_sFlagReg;
wire [31 : 0] wmi_sFlagReg_D_IN;
wire wmi_sFlagReg_EN;
// register wmi_sThreadBusy_d
reg wmi_sThreadBusy_d;
wire wmi_sThreadBusy_d_D_IN, wmi_sThreadBusy_d_EN;
// register wmi_statusR
reg [7 : 0] wmi_statusR;
wire [7 : 0] wmi_statusR_D_IN;
wire wmi_statusR_EN;
// register wmi_trafficSticky
reg wmi_trafficSticky;
wire wmi_trafficSticky_D_IN, wmi_trafficSticky_EN;
// register wmwtBeginCount
reg [31 : 0] wmwtBeginCount;
wire [31 : 0] wmwtBeginCount_D_IN;
wire wmwtBeginCount_EN;
// register wmwtFinalCount
reg [31 : 0] wmwtFinalCount;
wire [31 : 0] wmwtFinalCount_D_IN;
wire wmwtFinalCount_EN;
// register wmwtPushCount
reg [31 : 0] wmwtPushCount;
wire [31 : 0] wmwtPushCount_D_IN;
wire wmwtPushCount_EN;
// register wsiM_burstKind
reg [1 : 0] wsiM_burstKind;
wire [1 : 0] wsiM_burstKind_D_IN;
wire wsiM_burstKind_EN;
// register wsiM_errorSticky
reg wsiM_errorSticky;
wire wsiM_errorSticky_D_IN, wsiM_errorSticky_EN;
// register wsiM_iMesgCount
reg [31 : 0] wsiM_iMesgCount;
wire [31 : 0] wsiM_iMesgCount_D_IN;
wire wsiM_iMesgCount_EN;
// register wsiM_isReset_isInReset
reg wsiM_isReset_isInReset;
wire wsiM_isReset_isInReset_D_IN, wsiM_isReset_isInReset_EN;
// register wsiM_operateD
reg wsiM_operateD;
wire wsiM_operateD_D_IN, wsiM_operateD_EN;
// register wsiM_pMesgCount
reg [31 : 0] wsiM_pMesgCount;
wire [31 : 0] wsiM_pMesgCount_D_IN;
wire wsiM_pMesgCount_EN;
// register wsiM_peerIsReady
reg wsiM_peerIsReady;
wire wsiM_peerIsReady_D_IN, wsiM_peerIsReady_EN;
// register wsiM_reqFifo_cntr_r
reg [1 : 0] wsiM_reqFifo_cntr_r;
wire [1 : 0] wsiM_reqFifo_cntr_r_D_IN;
wire wsiM_reqFifo_cntr_r_EN;
// register wsiM_reqFifo_q_0
reg [96 : 0] wsiM_reqFifo_q_0;
reg [96 : 0] wsiM_reqFifo_q_0_D_IN;
wire wsiM_reqFifo_q_0_EN;
// register wsiM_reqFifo_q_1
reg [96 : 0] wsiM_reqFifo_q_1;
reg [96 : 0] wsiM_reqFifo_q_1_D_IN;
wire wsiM_reqFifo_q_1_EN;
// register wsiM_sThreadBusy_d
reg wsiM_sThreadBusy_d;
wire wsiM_sThreadBusy_d_D_IN, wsiM_sThreadBusy_d_EN;
// register wsiM_statusR
reg [7 : 0] wsiM_statusR;
wire [7 : 0] wsiM_statusR_D_IN;
wire wsiM_statusR_EN;
// register wsiM_tBusyCount
reg [31 : 0] wsiM_tBusyCount;
wire [31 : 0] wsiM_tBusyCount_D_IN;
wire wsiM_tBusyCount_EN;
// register wsiM_trafficSticky
reg wsiM_trafficSticky;
wire wsiM_trafficSticky_D_IN, wsiM_trafficSticky_EN;
// register wsiS_burstKind
reg [1 : 0] wsiS_burstKind;
wire [1 : 0] wsiS_burstKind_D_IN;
wire wsiS_burstKind_EN;
// register wsiS_errorSticky
reg wsiS_errorSticky;
wire wsiS_errorSticky_D_IN, wsiS_errorSticky_EN;
// register wsiS_iMesgCount
reg [31 : 0] wsiS_iMesgCount;
wire [31 : 0] wsiS_iMesgCount_D_IN;
wire wsiS_iMesgCount_EN;
// register wsiS_isReset_isInReset
reg wsiS_isReset_isInReset;
wire wsiS_isReset_isInReset_D_IN, wsiS_isReset_isInReset_EN;
// register wsiS_mesgWordLength
reg [11 : 0] wsiS_mesgWordLength;
wire [11 : 0] wsiS_mesgWordLength_D_IN;
wire wsiS_mesgWordLength_EN;
// register wsiS_operateD
reg wsiS_operateD;
wire wsiS_operateD_D_IN, wsiS_operateD_EN;
// register wsiS_pMesgCount
reg [31 : 0] wsiS_pMesgCount;
wire [31 : 0] wsiS_pMesgCount_D_IN;
wire wsiS_pMesgCount_EN;
// register wsiS_peerIsReady
reg wsiS_peerIsReady;
wire wsiS_peerIsReady_D_IN, wsiS_peerIsReady_EN;
// register wsiS_reqFifo_countReg
reg [1 : 0] wsiS_reqFifo_countReg;
wire [1 : 0] wsiS_reqFifo_countReg_D_IN;
wire wsiS_reqFifo_countReg_EN;
// register wsiS_reqFifo_levelsValid
reg wsiS_reqFifo_levelsValid;
wire wsiS_reqFifo_levelsValid_D_IN, wsiS_reqFifo_levelsValid_EN;
// register wsiS_statusR
reg [7 : 0] wsiS_statusR;
wire [7 : 0] wsiS_statusR_D_IN;
wire wsiS_statusR_EN;
// register wsiS_tBusyCount
reg [31 : 0] wsiS_tBusyCount;
wire [31 : 0] wsiS_tBusyCount_D_IN;
wire wsiS_tBusyCount_EN;
// register wsiS_trafficSticky
reg wsiS_trafficSticky;
wire wsiS_trafficSticky_D_IN, wsiS_trafficSticky_EN;
// register wsiS_wordCount
reg [11 : 0] wsiS_wordCount;
wire [11 : 0] wsiS_wordCount_D_IN;
wire wsiS_wordCount_EN;
// ports of submodule mesgTokenF
wire mesgTokenF_CLR,
mesgTokenF_DEQ,
mesgTokenF_EMPTY_N,
mesgTokenF_ENQ,
mesgTokenF_FULL_N;
// ports of submodule respF_memory
wire [96 : 0] respF_memory_DIA, respF_memory_DIB, respF_memory_DOB;
wire [10 : 0] respF_memory_ADDRA, respF_memory_ADDRB;
wire respF_memory_ENA, respF_memory_ENB, respF_memory_WEA, respF_memory_WEB;
// ports of submodule wci_wslv_reqF
wire [71 : 0] wci_wslv_reqF_D_IN, wci_wslv_reqF_D_OUT;
wire wci_wslv_reqF_CLR,
wci_wslv_reqF_DEQ,
wci_wslv_reqF_EMPTY_N,
wci_wslv_reqF_ENQ;
// ports of submodule wmi_respF
wire [65 : 0] wmi_respF_D_IN, wmi_respF_D_OUT;
wire wmi_respF_CLR,
wmi_respF_DEQ,
wmi_respF_EMPTY_N,
wmi_respF_ENQ,
wmi_respF_FULL_N;
// ports of submodule wsiS_reqFifo
wire [96 : 0] wsiS_reqFifo_D_IN, wsiS_reqFifo_D_OUT;
wire wsiS_reqFifo_CLR,
wsiS_reqFifo_DEQ,
wsiS_reqFifo_EMPTY_N,
wsiS_reqFifo_ENQ,
wsiS_reqFifo_FULL_N;
// rule scheduling signals
wire CAN_FIRE_RL_wmrd_mesgBodyPreRequest,
CAN_FIRE_RL_wmwt_mesgBegin,
CAN_FIRE_RL_wmwt_messagePush,
WILL_FIRE_RL_wci_cfrd,
WILL_FIRE_RL_wci_cfwr,
WILL_FIRE_RL_wci_ctrl_EiI,
WILL_FIRE_RL_wci_ctrl_IsO,
WILL_FIRE_RL_wci_ctrl_OrE,
WILL_FIRE_RL_wci_wslv_ctl_op_complete,
WILL_FIRE_RL_wci_wslv_ctl_op_start,
WILL_FIRE_RL_wci_wslv_respF_both,
WILL_FIRE_RL_wci_wslv_respF_decCtr,
WILL_FIRE_RL_wci_wslv_respF_incCtr,
WILL_FIRE_RL_wmi_dhF_both,
WILL_FIRE_RL_wmi_dhF_decCtr,
WILL_FIRE_RL_wmi_dhF_incCtr,
WILL_FIRE_RL_wmi_mFlagF_both,
WILL_FIRE_RL_wmi_mFlagF_decCtr,
WILL_FIRE_RL_wmi_mFlagF_incCtr,
WILL_FIRE_RL_wmi_reqF_both,
WILL_FIRE_RL_wmi_reqF_decCtr,
WILL_FIRE_RL_wmi_reqF_deq,
WILL_FIRE_RL_wmi_reqF_incCtr,
WILL_FIRE_RL_wmrd_mesgBodyRequest,
WILL_FIRE_RL_wmrd_mesgResptoWsi,
WILL_FIRE_RL_wmwt_doAbort,
WILL_FIRE_RL_wmwt_mesgBegin,
WILL_FIRE_RL_wmwt_messageFinalize,
WILL_FIRE_RL_wsiM_reqFifo_both,
WILL_FIRE_RL_wsiM_reqFifo_decCtr,
WILL_FIRE_RL_wsiM_reqFifo_deq,
WILL_FIRE_RL_wsiM_reqFifo_incCtr,
WILL_FIRE_RL_wsiS_reqFifo_enq,
WILL_FIRE_RL_wsiS_reqFifo_reset,
WILL_FIRE_RL_wsipass_doMessagePush;
// inputs to muxes for submodule ports
reg [33 : 0] MUX_wci_wslv_respF_q_0_write_1__VAL_2;
wire [96 : 0] MUX_wsiM_reqFifo_q_0_write_1__VAL_1,
MUX_wsiM_reqFifo_q_0_write_1__VAL_2,
MUX_wsiM_reqFifo_q_1_write_1__VAL_1,
MUX_wsiM_reqFifo_x_wire_wset_1__VAL_3;
wire [73 : 0] MUX_wmi_dhF_q_0_write_1__VAL_1,
MUX_wmi_dhF_q_0_write_1__VAL_2,
MUX_wmi_dhF_q_1_write_1__VAL_1;
wire [33 : 0] MUX_wci_wslv_respF_q_0_write_1__VAL_1,
MUX_wci_wslv_respF_q_1_write_1__VAL_1,
MUX_wci_wslv_respF_x_wire_wset_1__VAL_1,
MUX_wci_wslv_respF_x_wire_wset_1__VAL_2;
wire [31 : 0] MUX_mesgCount_write_1__VAL_2,
MUX_thisMesg_write_1__VAL_1,
MUX_thisMesg_write_1__VAL_2,
MUX_wmi_mFlagF_q_0_write_1__VAL_1,
MUX_wmi_mFlagF_q_1_write_1__VAL_1,
MUX_wmi_mFlagF_x_wire_wset_1__VAL_2,
MUX_wmi_reqF_q_0_write_1__VAL_1,
MUX_wmi_reqF_q_0_write_1__VAL_2,
MUX_wmi_reqF_q_1_write_1__VAL_1,
MUX_wmi_reqF_x_wire_wset_1__VAL_1,
MUX_wmi_reqF_x_wire_wset_1__VAL_2;
wire [15 : 0] MUX_unrollCnt_write_1__VAL_1, MUX_unrollCnt_write_1__VAL_2;
wire [13 : 0] MUX_fabWordsRemain_write_1__VAL_1,
MUX_fabWordsRemain_write_1__VAL_2,
MUX_mesgLengthSoFar_write_1__VAL_1,
MUX_mesgReqAddr_write_1__VAL_2;
wire [11 : 0] MUX_fabRespCredit_value_write_1__VAL_2;
wire [8 : 0] MUX_opcode_write_1__VAL_3;
wire [1 : 0] MUX_wci_wslv_respF_cntr_r_write_1__VAL_2,
MUX_wmi_dhF_cntr_r_write_1__VAL_2,
MUX_wmi_mFlagF_cntr_r_write_1__VAL_2,
MUX_wmi_reqF_cntr_r_write_1__VAL_2,
MUX_wsiM_reqFifo_cntr_r_write_1__VAL_1,
MUX_wsiM_reqFifo_cntr_r_write_1__VAL_2;
wire MUX_endOfMessage_write_1__SEL_1,
MUX_mesgCount_write_1__SEL_1,
MUX_mesgReqOK_write_1__SEL_3,
MUX_unrollCnt_write_1__SEL_1,
MUX_unrollCnt_write_1__SEL_2,
MUX_wci_wslv_illegalEdge_write_1__SEL_1,
MUX_wci_wslv_illegalEdge_write_1__VAL_1,
MUX_wci_wslv_respF_q_0_write_1__SEL_1,
MUX_wci_wslv_respF_q_0_write_1__SEL_2,
MUX_wci_wslv_respF_q_1_write_1__SEL_1,
MUX_wci_wslv_respF_q_1_write_1__SEL_2,
MUX_wmi_dhF_q_0_write_1__SEL_1,
MUX_wmi_dhF_q_0_write_1__SEL_2,
MUX_wmi_dhF_q_1_write_1__SEL_1,
MUX_wmi_dhF_q_1_write_1__SEL_2,
MUX_wmi_mFlagF_q_0_write_1__SEL_1,
MUX_wmi_mFlagF_q_0_write_1__SEL_2,
MUX_wmi_mFlagF_q_1_write_1__SEL_1,
MUX_wmi_mFlagF_q_1_write_1__SEL_2,
MUX_wmi_mFlagF_x_wire_wset_1__SEL_1,
MUX_wmi_reqF_q_0_write_1__SEL_1,
MUX_wmi_reqF_q_0_write_1__SEL_2,
MUX_wmi_reqF_q_1_write_1__SEL_1,
MUX_wmi_reqF_q_1_write_1__SEL_2,
MUX_wsiM_reqFifo_q_0_write_1__SEL_1,
MUX_wsiM_reqFifo_q_0_write_1__SEL_2,
MUX_wsiM_reqFifo_q_1_write_1__SEL_1,
MUX_wsiM_reqFifo_q_1_write_1__SEL_2,