OpenCores
URL https://opencores.org/ocsvn/s1_core/s1_core/trunk

Subversion Repositories s1_core

[/] [s1_core/] [trunk/] [tools/] [src/] [sparc.v] - Blame information for rev 107

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 92 fafa1971
// ========== Copyright Header Begin ==========================================
2
// 
3
// OpenSPARC T1 Processor File: sparc.v
4
// Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
5
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
6
// 
7
// The above named program is free software; you can redistribute it and/or
8
// modify it under the terms of the GNU General Public
9
// License version 2 as published by the Free Software Foundation.
10
// 
11
// The above named program is distributed in the hope that it will be 
12
// useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
13
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14
// General Public License for more details.
15
// 
16
// You should have received a copy of the GNU General Public
17
// License along with this work; if not, write to the Free Software
18
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
19
// 
20
// ========== Copyright Header End ============================================
21
/*
22
/* ========== Copyright Header Begin ==========================================
23
*
24
* OpenSPARC T1 Processor File: sys.h
25
* Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
26
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
27
*
28
* The above named program is free software; you can redistribute it and/or
29
* modify it under the terms of the GNU General Public
30
* License version 2 as published by the Free Software Foundation.
31
*
32
* The above named program is distributed in the hope that it will be
33
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
34
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
35
* General Public License for more details.
36
*
37
* You should have received a copy of the GNU General Public
38
* License along with this work; if not, write to the Free Software
39
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
40
*
41
* ========== Copyright Header End ============================================
42
*/
43
// -*- verilog -*-
44
////////////////////////////////////////////////////////////////////////
45
/*
46
//
47
// Description:         Global header file that contain definitions that
48
//                      are common/shared at the systme level
49
*/
50
////////////////////////////////////////////////////////////////////////
51
//
52
// Setting the time scale
53
// If the timescale changes, JP_TIMESCALE may also have to change.
54
`timescale      1ps/1ps
55
 
56
//
57
// JBUS clock
58
// =========
59
//
60
 
61
 
62
 
63
// Afara Link Defines
64
// ==================
65
 
66
// Reliable Link
67
 
68
 
69
 
70
 
71
// Afara Link Objects
72
 
73
 
74
// Afara Link Object Format - Reliable Link
75
 
76
 
77
 
78
 
79
 
80
 
81
 
82
 
83
 
84
 
85
// Afara Link Object Format - Congestion
86
 
87
 
88
 
89
 
90
 
91
 
92
 
93
 
94
 
95
 
96
 
97
// Afara Link Object Format - Acknowledge
98
 
99
 
100
 
101
 
102
 
103
 
104
 
105
 
106
 
107
 
108
 
109
// Afara Link Object Format - Request
110
 
111
 
112
 
113
 
114
 
115
 
116
 
117
 
118
 
119
 
120
 
121
 
122
 
123
 
124
 
125
 
126
 
127
// Afara Link Object Format - Message
128
 
129
 
130
 
131
// Acknowledge Types
132
 
133
 
134
 
135
 
136
// Request Types
137
 
138
 
139
 
140
 
141
 
142
// Afara Link Frame
143
 
144
 
145
 
146
//
147
// UCB Packet Type
148
// ===============
149
//
150
 
151
 
152
 
153
 
154
 
155
 
156
 
157
 
158
 
159
 
160
 
161
 
162
 
163
 
164
 
165
 
166
 
167
//
168
// UCB Data Packet Format
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
// Size encoding for the UCB_SIZE_HI/LO field
202
// 000 - byte
203
// 001 - half-word
204
// 010 - word
205
// 011 - double-word
206
// 111 - quad-word
207
 
208
 
209
 
210
 
211
 
212
 
213
 
214
//
215
// UCB Interrupt Packet Format
216
// ===========================
217
//
218
 
219
 
220
 
221
 
222
 
223
 
224
 
225
 
226
 
227
 
228
//`define UCB_THR_HI             9      // (6) cpu/thread ID shared with
229
//`define UCB_THR_LO             4             data packet format
230
//`define UCB_PKT_HI             3      // (4) packet type shared with
231
//`define UCB_PKT_LO             0      //     data packet format
232
 
233
 
234
 
235
 
236
 
237
 
238
 
239
//
240
// FCRAM Bus Widths
241
// ================
242
//
243
 
244
 
245
 
246
 
247
 
248
 
249
//
250
// ENET clock periods
251
// ==================
252
//
253
 
254
 
255
 
256
 
257
//
258
// JBus Bridge defines
259
// =================
260
//
261
 
262
 
263
 
264
 
265
 
266
 
267
 
268
 
269
 
270
 
271
 
272
//
273
// PCI Device Address Configuration
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
/* ========== Copyright Header Begin ==========================================
301
*
302
* OpenSPARC T1 Processor File: iop.h
303
* Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
304
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
305
*
306
* The above named program is free software; you can redistribute it and/or
307
* modify it under the terms of the GNU General Public
308
* License version 2 as published by the Free Software Foundation.
309
*
310
* The above named program is distributed in the hope that it will be
311
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
312
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
313
* General Public License for more details.
314
*
315
* You should have received a copy of the GNU General Public
316
* License along with this work; if not, write to the Free Software
317
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
318
*
319
* ========== Copyright Header End ============================================
320
*/
321
//-*- verilog -*-
322
////////////////////////////////////////////////////////////////////////
323
/*
324
//
325
//  Description:        Global header file that contain definitions that
326
//                      are common/shared at the IOP chip level
327
*/
328
////////////////////////////////////////////////////////////////////////
329
 
330
 
331
// Address Map Defines
332
// ===================
333
 
334
 
335
 
336
 
337
// CMP space
338
 
339
 
340
 
341
// IOP space
342
 
343
 
344
 
345
 
346
                               //`define ENET_ING_CSR     8'h84
347
                               //`define ENET_EGR_CMD_CSR 8'h85
348
 
349
 
350
 
351
 
352
 
353
 
354
 
355
 
356
 
357
 
358
 
359
 
360
 
361
 
362
 
363
// L2 space
364
 
365
 
366
 
367
// More IOP space
368
 
369
 
370
 
371
 
372
 
373
//Cache Crossbar Width and Field Defines
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
//bits 133:128 are shared by different fields
421
//for different packet types.
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
//End cache crossbar defines
485
 
486
 
487
// Number of COS supported by EECU 
488
 
489
 
490
 
491
// 
492
// BSC bus sizes
493
// =============
494
//
495
 
496
// General
497
 
498
 
499
 
500
 
501
// CTags
502
 
503
 
504
 
505
 
506
 
507
 
508
 
509
 
510
 
511
 
512
 
513
 
514
 
515
// reinstated temporarily
516
 
517
 
518
 
519
 
520
// CoS
521
 
522
 
523
 
524
 
525
 
526
 
527
// L2$ Bank
528
 
529
 
530
 
531
// L2$ Req
532
 
533
 
534
 
535
 
536
 
537
 
538
 
539
 
540
 
541
 
542
 
543
 
544
 
545
// L2$ Ack
546
 
547
 
548
 
549
 
550
 
551
 
552
 
553
 
554
// Enet Egress Command Unit
555
 
556
 
557
 
558
 
559
 
560
 
561
 
562
 
563
 
564
 
565
 
566
 
567
 
568
 
569
// Enet Egress Packet Unit
570
 
571
 
572
 
573
 
574
 
575
 
576
 
577
 
578
 
579
 
580
 
581
 
582
 
583
// This is cleaved in between Egress Datapath Ack's
584
 
585
 
586
 
587
 
588
 
589
 
590
 
591
 
592
// Enet Egress Datapath
593
 
594
 
595
 
596
 
597
 
598
 
599
 
600
 
601
 
602
 
603
 
604
 
605
 
606
 
607
 
608
 
609
// In-Order / Ordered Queue: EEPU
610
// Tag is: TLEN, SOF, EOF, QID = 15
611
 
612
 
613
 
614
 
615
 
616
 
617
// Nack + Tag Info + CTag
618
 
619
 
620
 
621
 
622
// ENET Ingress Queue Management Req
623
 
624
 
625
 
626
 
627
 
628
 
629
 
630
 
631
 
632
 
633
 
634
 
635
// ENET Ingress Queue Management Ack
636
 
637
 
638
 
639
 
640
 
641
 
642
 
643
 
644
// Enet Ingress Packet Unit
645
 
646
 
647
 
648
 
649
 
650
 
651
 
652
 
653
 
654
 
655
 
656
 
657
// ENET Ingress Packet Unit Ack
658
 
659
 
660
 
661
 
662
 
663
 
664
 
665
// In-Order / Ordered Queue: PCI
666
// Tag is: CTAG
667
 
668
 
669
 
670
 
671
 
672
// PCI-X Request
673
 
674
 
675
 
676
 
677
 
678
 
679
 
680
 
681
 
682
 
683
 
684
// PCI_X Acknowledge
685
 
686
 
687
 
688
 
689
 
690
 
691
 
692
 
693
 
694
 
695
 
696
//
697
// BSC array sizes
698
//================
699
//
700
 
701
 
702
 
703
 
704
 
705
 
706
 
707
 
708
 
709
 
710
 
711
 
712
// ECC syndrome bits per memory element
713
 
714
 
715
 
716
 
717
//
718
// BSC Port Definitions
719
// ====================
720
//
721
// Bits 7 to 4 of curr_port_id
722
 
723
 
724
 
725
 
726
 
727
 
728
 
729
 
730
// Number of ports of each type
731
 
732
 
733
// Bits needed to represent above
734
 
735
 
736
// How wide the linked list pointers are
737
// 60b for no payload (2CoS)
738
// 80b for payload (2CoS)
739
 
740
//`define BSC_OBJ_PTR   80
741
//`define BSC_HD1_HI    69
742
//`define BSC_HD1_LO    60
743
//`define BSC_TL1_HI    59
744
//`define BSC_TL1_LO    50
745
//`define BSC_CT1_HI    49
746
//`define BSC_CT1_LO    40
747
//`define BSC_HD0_HI    29
748
//`define BSC_HD0_LO    20
749
//`define BSC_TL0_HI    19
750
//`define BSC_TL0_LO    10
751
//`define BSC_CT0_HI     9
752
//`define BSC_CT0_LO     0
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
// I2C STATES in DRAMctl
788
 
789
 
790
 
791
 
792
 
793
 
794
 
795
//
796
// IOB defines
797
// ===========
798
//
799
 
800
 
801
 
802
 
803
 
804
 
805
 
806
 
807
 
808
 
809
 
810
 
811
 
812
 
813
 
814
 
815
 
816
 
817
 
818
//`define IOB_INT_STAT_WIDTH   32
819
//`define IOB_INT_STAT_HI      31
820
//`define IOB_INT_STAT_LO       0
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
// fixme - double check address mapping
871
// CREG in `IOB_INT_CSR space
872
 
873
 
874
 
875
 
876
 
877
 
878
 
879
 
880
 
881
 
882
// CREG in `IOB_MAN_CSR space
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
// Address map for TAP access of SPARC ASI
921
 
922
 
923
 
924
 
925
 
926
 
927
 
928
 
929
 
930
 
931
 
932
 
933
 
934
//
935
// CIOP UCB Bus Width
936
// ==================
937
//
938
//`define IOB_EECU_WIDTH       16  // ethernet egress command
939
//`define EECU_IOB_WIDTH       16
940
 
941
//`define IOB_NRAM_WIDTH       16  // NRAM (RLDRAM previously)
942
//`define NRAM_IOB_WIDTH        4
943
 
944
 
945
 
946
 
947
//`define IOB_ENET_ING_WIDTH   32  // ethernet ingress
948
//`define ENET_ING_IOB_WIDTH    8
949
 
950
//`define IOB_ENET_EGR_WIDTH    4  // ethernet egress
951
//`define ENET_EGR_IOB_WIDTH    4
952
 
953
//`define IOB_ENET_MAC_WIDTH    4  // ethernet MAC
954
//`define ENET_MAC_IOB_WIDTH    4
955
 
956
 
957
 
958
 
959
//`define IOB_BSC_WIDTH         4  // BSC
960
//`define BSC_IOB_WIDTH         4
961
 
962
 
963
 
964
 
965
 
966
 
967
 
968
//`define IOB_CLSP_WIDTH        4  // clk spine unit
969
//`define CLSP_IOB_WIDTH        4
970
 
971
 
972
 
973
 
974
 
975
//
976
// CIOP UCB Buf ID Type
977
// ====================
978
//
979
 
980
 
981
 
982
//
983
// Interrupt Device ID
984
// ===================
985
//
986
// Caution: DUMMY_DEV_ID has to be 9 bit wide
987
//          for fields to line up properly in the IOB.
988
 
989
 
990
 
991
//
992
// Soft Error related definitions 
993
// ==============================
994
//
995
 
996
 
997
 
998
//
999
// CMP clock
1000
// =========
1001
//
1002
 
1003
 
1004
 
1005
 
1006
//
1007
// NRAM/IO Interface
1008
// =================
1009
//
1010
 
1011
 
1012
 
1013
 
1014
 
1015
 
1016
 
1017
 
1018
 
1019
 
1020
//
1021
// NRAM/ENET Interface
1022
// ===================
1023
//
1024
 
1025
 
1026
 
1027
 
1028
 
1029
 
1030
 
1031
//
1032
// IO/FCRAM Interface
1033
// ==================
1034
//
1035
 
1036
 
1037
 
1038
 
1039
 
1040
 
1041
//
1042
// PCI Interface
1043
// ==================
1044
// Load/store size encodings
1045
// -------------------------
1046
// Size encoding
1047
// 000 - byte
1048
// 001 - half-word
1049
// 010 - word
1050
// 011 - double-word
1051
// 100 - quad
1052
 
1053
 
1054
 
1055
 
1056
 
1057
 
1058
//
1059
// JBI<->SCTAG Interface
1060
// =======================
1061
// Outbound Header Format
1062
 
1063
 
1064
 
1065
 
1066
 
1067
 
1068
 
1069
 
1070
 
1071
 
1072
 
1073
 
1074
 
1075
 
1076
 
1077
 
1078
 
1079
 
1080
 
1081
 
1082
 
1083
 
1084
 
1085
 
1086
 
1087
 
1088
 
1089
// Inbound Header Format
1090
 
1091
 
1092
 
1093
 
1094
 
1095
 
1096
 
1097
 
1098
 
1099
 
1100
 
1101
 
1102
 
1103
 
1104
 
1105
 
1106
 
1107
 
1108
 
1109
 
1110
//
1111
// JBI->IOB Mondo Header Format
1112
// ============================
1113
//
1114
 
1115
 
1116
 
1117
 
1118
 
1119
 
1120
 
1121
 
1122
 
1123
 
1124
 
1125
 
1126
 
1127
 
1128
// JBI->IOB Mondo Bus Width/Cycle
1129
// ==============================
1130
// Cycle  1 Header[15:8]
1131
// Cycle  2 Header[ 7:0]
1132
// Cycle  3 J_AD[127:120]
1133
// Cycle  4 J_AD[119:112]
1134
// .....
1135
// Cycle 18 J_AD[  7:  0]
1136
 
1137
 
1138
/*
1139
/* ========== Copyright Header Begin ==========================================
1140
*
1141
* OpenSPARC T1 Processor File: ifu.h
1142
* Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
1143
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
1144
*
1145
* The above named program is free software; you can redistribute it and/or
1146
* modify it under the terms of the GNU General Public
1147
* License version 2 as published by the Free Software Foundation.
1148
*
1149
* The above named program is distributed in the hope that it will be
1150
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
1151
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1152
* General Public License for more details.
1153
*
1154
* You should have received a copy of the GNU General Public
1155
* License along with this work; if not, write to the Free Software
1156
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
1157
*
1158
* ========== Copyright Header End ============================================
1159
*/
1160
////////////////////////////////////////////////////////////////////////
1161
/*
1162
//
1163
//  Module Name: ifu.h
1164
//  Description:
1165
//  All ifu defines
1166
*/
1167
 
1168
//--------------------------------------------
1169
// Icache Values in IFU::ICD/ICV/ICT/FDP/IFQDP
1170
//--------------------------------------------
1171
// Set Values
1172
 
1173
// IC_IDX_HI = log(icache_size/4ways) - 1
1174
 
1175
 
1176
// !!IMPORTANT!! a change to IC_LINE_SZ will mean a change to the code as
1177
//   well.  Unfortunately this has not been properly parametrized.
1178
//   Changing the IC_LINE_SZ param alone is *not* enough.
1179
 
1180
 
1181
// !!IMPORTANT!! a change to IC_TAG_HI will mean a change to the code as
1182
//   well.  Changing the IC_TAG_HI param alone is *not* enough to
1183
//   change the PA range. 
1184
// highest bit of PA
1185
 
1186
 
1187
 
1188
// Derived Values
1189
// 4095
1190
 
1191
 
1192
// number of entries - 1 = 511
1193
 
1194
 
1195
// 12
1196
 
1197
 
1198
// 28
1199
 
1200
 
1201
// 7
1202
 
1203
 
1204
// tags for all 4 ways + parity
1205
// 116
1206
 
1207
 
1208
// 115
1209
 
1210
 
1211
 
1212
//----------------------------------------------------------------------
1213
// For thread scheduler in IFU::DTU::SWL
1214
//----------------------------------------------------------------------
1215
// thread states:  (thr_state[4:0])
1216
 
1217
 
1218
 
1219
 
1220
 
1221
 
1222
 
1223
 
1224
 
1225
// thread configuration register bit fields
1226
 
1227
 
1228
 
1229
 
1230
 
1231
 
1232
 
1233
//----------------------------------------------------------------------
1234
// For MIL fsm in IFU::IFQ
1235
//----------------------------------------------------------------------
1236
 
1237
 
1238
 
1239
 
1240
 
1241
 
1242
 
1243
 
1244
 
1245
 
1246
 
1247
//---------------------------------------------------
1248
// Interrupt Block
1249
//---------------------------------------------------
1250
 
1251
 
1252
 
1253
 
1254
 
1255
 
1256
 
1257
//-------------------------------------
1258
// IFQ
1259
//-------------------------------------
1260
// valid bit plus ifill
1261
 
1262
 
1263
 
1264
 
1265
 
1266
 
1267
 
1268
 
1269
 
1270
 
1271
 
1272
 
1273
 
1274
//`ifdef SPARC_L2_64B
1275
 
1276
 
1277
//`else
1278
//`define BANK_ID_HI 8
1279
//`define BANK_ID_LO 7
1280
//`endif
1281
 
1282
//`define CPX_INV_PA_HI  116
1283
//`define CPX_INV_PA_LO  112
1284
 
1285
 
1286
 
1287
 
1288
 
1289
 
1290
 
1291
//----------------------------------------
1292
// IFU Traps
1293
//----------------------------------------
1294
// precise
1295
 
1296
 
1297
 
1298
 
1299
 
1300
 
1301
 
1302
 
1303
 
1304
 
1305
 
1306
 
1307
 
1308
 
1309
 
1310
// disrupting
1311
 
1312
 
1313
 
1314
 
1315
 
1316
 
1317
 
1318
/*
1319
/* ========== Copyright Header Begin ==========================================
1320
*
1321
* OpenSPARC T1 Processor File: tlu.h
1322
* Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
1323
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
1324
*
1325
* The above named program is free software; you can redistribute it and/or
1326
* modify it under the terms of the GNU General Public
1327
* License version 2 as published by the Free Software Foundation.
1328
*
1329
* The above named program is distributed in the hope that it will be
1330
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
1331
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1332
* General Public License for more details.
1333
*
1334
* You should have received a copy of the GNU General Public
1335
* License along with this work; if not, write to the Free Software
1336
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
1337
*
1338
* ========== Copyright Header End ============================================
1339
*/
1340
// ifu trap types
1341
 
1342
 
1343
 
1344
 
1345
 
1346
 
1347
 
1348
 
1349
 
1350
 
1351
 
1352
 
1353
 
1354
 
1355
 
1356
 
1357
//
1358
// modified for hypervisor support
1359
//
1360
 
1361
 
1362
 
1363
 
1364
 
1365
 
1366
 
1367
 
1368
 
1369
 
1370
 
1371
 
1372
 
1373
 
1374
 
1375
 
1376
 
1377
 
1378
 
1379
 
1380
 
1381
 
1382
 
1383
 
1384
//
1385
 
1386
 
1387
// modified due to bug 2588
1388
// `define      TSA_PSTATE_VRANGE2_LO 16 
1389
 
1390
 
1391
//
1392
 
1393
 
1394
 
1395
 
1396
 
1397
 
1398
 
1399
 
1400
 
1401
 
1402
 
1403
//
1404
// added due to Niagara SRAMs methodology
1405
// The following defines have been replaced due
1406
// the memory macro replacement from:
1407
// bw_r_rf32x144 -> 2x bw_r_rf32x80
1408
/*
1409
`define TSA_MEM_WIDTH     144
1410
`define TSA_HTSTATE_HI    142 //  3 bits
1411
`define TSA_HTSTATE_LO    140
1412
`define TSA_TPC_HI        138 // 47 bits
1413
`define TSA_TPC_LO         92
1414
`define TSA_TNPC_HI        90 // 47 bits
1415
`define TSA_TNPC_LO        44
1416
`define TSA_TSTATE_HI      40 // 29 bits
1417
`define TSA_TSTATE_LO      12
1418
`define TSA_TTYPE_HI        8 //  9 bits
1419
`define TSA_TTYPE_LO        0
1420
`define TSA_MEM_CWP_LO     12
1421
`define TSA_MEM_CWP_HI     14
1422
`define TSA_MEM_PSTATE_LO  15
1423
`define TSA_MEM_PSTATE_HI  22
1424
`define TSA_MEM_ASI_LO     23
1425
`define TSA_MEM_ASI_HI     30
1426
`define TSA_MEM_CCR_LO     31
1427
`define TSA_MEM_CCR_HI     38
1428
`define TSA_MEM_GL_LO      39
1429
`define TSA_MEM_GL_HI      40
1430
*/
1431
 
1432
 
1433
 
1434
 
1435
 
1436
 
1437
 
1438
 
1439
 
1440
 
1441
 
1442
//
1443
 
1444
 
1445
 
1446
 
1447
 
1448
 
1449
 
1450
 
1451
 
1452
 
1453
 
1454
// HPSTATE position definitions within wsr
1455
 
1456
 
1457
 
1458
 
1459
 
1460
 
1461
// TSTATE postition definitions within wsr
1462
 
1463
 
1464
 
1465
 
1466
 
1467
 
1468
 
1469
// modified due to bug 2588
1470
 
1471
 
1472
// added for bug 2584 
1473
 
1474
 
1475
 
1476
 
1477
//
1478
 
1479
 
1480
 
1481
 
1482
 
1483
 
1484
 
1485
//
1486
// tick_cmp and stick_cmp definitions
1487
 
1488
 
1489
 
1490
 
1491
 
1492
//
1493
// PIB WRAP
1494
 
1495
 
1496
 
1497
// HPSTATE postition definitions
1498
 
1499
 
1500
 
1501
 
1502
 
1503
 
1504
// HTBA definitions
1505
 
1506
 
1507
 
1508
 
1509
// TBA definitions
1510
 
1511
 
1512
 
1513
 
1514
 
1515
 
1516
 
1517
 
1518
 
1519
 
1520
 
1521
 
1522
 
1523
 
1524
 
1525
 
1526
 
1527
 
1528
 
1529
 
1530
//
1531
// added for the hypervisor support
1532
 
1533
 
1534
// modified due to bug 2588
1535
 
1536
 
1537
 
1538
 
1539
 
1540
 
1541
 
1542
 
1543
 
1544
 
1545
 
1546
 
1547
 
1548
 
1549
 
1550
 
1551
//
1552
// compressed PSTATE WSR definitions
1553
 
1554
 
1555
 
1556
 
1557
 
1558
 
1559
 
1560
 
1561
 
1562
 
1563
 
1564
 
1565
 
1566
 
1567
//
1568
// ASI_QUEUE for hypervisor
1569
// Queues are: CPU_MONODO
1570
//             DEV_MONODO
1571
//             RESUMABLE_ERROR
1572
//             NON_RESUMABLE_ERROR
1573
//
1574
 
1575
 
1576
 
1577
 
1578
 
1579
 
1580
 
1581
// for address range checking
1582
 
1583
 
1584
 
1585
 
1586
 
1587
 
1588
 
1589
 
1590
 
1591
 
1592
 
1593
 
1594
 
1595
 
1596
 
1597
 
1598
//
1599
// Niagara scratch-pads
1600
// VA address of 0x20 and 0x28 are exclusive to hypervisor
1601
// 
1602
 
1603
 
1604
 
1605
 
1606
 
1607
 
1608
 
1609
//
1610
// range checking 
1611
 
1612
 
1613
 
1614
 
1615
 
1616
 
1617
 
1618
// PIB related definitions
1619
// Bit definition for events
1620
 
1621
 
1622
 
1623
 
1624
 
1625
 
1626
 
1627
 
1628
 
1629
// 
1630
// PIB related definitions
1631
// PCR and PIC address definitions
1632
 
1633
 
1634
 
1635
// 
1636
// PCR bit definitions
1637
 
1638
 
1639
 
1640
 
1641
 
1642
 
1643
 
1644
//
1645
 
1646
 
1647
 
1648
 
1649
 
1650
 
1651
 
1652
 
1653
 
1654
// PIC definitions
1655
 
1656
 
1657
 
1658
 
1659
 
1660
 
1661
 
1662
 
1663
// PIC  mask bit position definitions
1664
 
1665
 
1666
 
1667
 
1668
 
1669
 
1670
 
1671
 
1672
 
1673
 
1674
// added define from sparc_tlu_int.v 
1675
 
1676
 
1677
 
1678
 
1679
 
1680
 
1681
 
1682
 
1683
 
1684
 
1685
//
1686
// shadow scan related definitions 
1687
 
1688
// modified due to logic redistribution
1689
// `define TCL_SSCAN_WIDTH 12 
1690
 
1691
 
1692
 
1693
 
1694
 
1695
// `define TCL_SSCAN_LO 51 
1696
 
1697
 
1698
 
1699
 
1700
// 
1701
// position definitions - TDP
1702
 
1703
 
1704
 
1705
 
1706
 
1707
 
1708
// 
1709
// position definitions - TCL
1710
 
1711
 
1712
 
1713
 
1714
// 
1715
// To speedup POR for verification purposes
1716
 
1717
/*
1718
/* ========== Copyright Header Begin ==========================================
1719
*
1720
* OpenSPARC T1 Processor File: lsu.h
1721
* Copyright (c) 2006 Sun Microsystems, Inc.  All Rights Reserved.
1722
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
1723
*
1724
* The above named program is free software; you can redistribute it and/or
1725
* modify it under the terms of the GNU General Public
1726
* License version 2 as published by the Free Software Foundation.
1727
*
1728
* The above named program is distributed in the hope that it will be
1729
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
1730
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
1731
* General Public License for more details.
1732
*
1733
* You should have received a copy of the GNU General Public
1734
* License along with this work; if not, write to the Free Software
1735
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
1736
*
1737
* ========== Copyright Header End ============================================
1738
*/
1739
 
1740
 
1741
 
1742
 
1743
 
1744
 
1745
 
1746
 
1747
//`define STB_PCX_WY_HI   107
1748
//`define STB_PCX_WY_LO   106
1749
 
1750
 
1751
 
1752
 
1753
 
1754
 
1755
 
1756
 
1757
 
1758
 
1759
 
1760
 
1761
 
1762
 
1763
 
1764
 
1765
 
1766
 
1767
 
1768
 
1769
 
1770
 
1771
 
1772
 
1773
 
1774
 
1775
 
1776
 
1777
 
1778
 
1779
 
1780
 
1781
 
1782
 
1783
 
1784
 
1785
 
1786
 
1787
 
1788
 
1789
 
1790
 
1791
 
1792
 
1793
 
1794
 
1795
 
1796
 
1797
 
1798
 
1799
 
1800
 
1801
 
1802
 
1803
 
1804
 
1805
 
1806
 
1807
 
1808
 
1809
 
1810
 
1811
 
1812
 
1813
 
1814
 
1815
 
1816
 
1817
 
1818
 
1819
 
1820
 
1821
 
1822
 
1823
 
1824
 
1825
 
1826
 
1827
 
1828
 
1829
 
1830
 
1831
 
1832
// TLB Tag and Data Format
1833
 
1834
 
1835
 
1836
 
1837
 
1838
 
1839
 
1840
 
1841
 
1842
 
1843
 
1844
 
1845
 
1846
 
1847
 
1848
 
1849
 
1850
 
1851
 
1852
 
1853
 
1854
 
1855
 
1856
 
1857
 
1858
 
1859
 
1860
 
1861
 
1862
 
1863
 
1864
 
1865
 
1866
 
1867
 
1868
 
1869
 
1870
 
1871
 
1872
 
1873
 
1874
 
1875
 
1876
 
1877
 
1878
 
1879
 
1880
 
1881
 
1882
 
1883
 
1884
 
1885
 
1886
 
1887
 
1888
 
1889
 
1890
 
1891
 
1892
 
1893
 
1894
// I-TLB version - lsu_tlb only.
1895
 
1896
 
1897
 
1898
 
1899
 
1900
 
1901
 
1902
 
1903
 
1904
 
1905
 
1906
 
1907
 
1908
 
1909
 
1910
 
1911
 
1912
 
1913
 
1914
 
1915
 
1916
 
1917
 
1918
 
1919
// Invalidate Format
1920
//addr<5:4>=00
1921
 
1922
 
1923
 
1924
 
1925
 
1926
 
1927
 
1928
 
1929
 
1930
 
1931
 
1932
 
1933
 
1934
 
1935
 
1936
 
1937
 
1938
//addr<5:4>=01
1939
 
1940
 
1941
 
1942
 
1943
 
1944
 
1945
 
1946
 
1947
 
1948
 
1949
 
1950
 
1951
 
1952
 
1953
 
1954
 
1955
 
1956
//addr<5:4>=10
1957
 
1958
 
1959
 
1960
 
1961
 
1962
 
1963
 
1964
 
1965
 
1966
 
1967
 
1968
 
1969
 
1970
 
1971
 
1972
 
1973
 
1974
//addr<5:4>=11
1975
 
1976
 
1977
 
1978
 
1979
 
1980
 
1981
 
1982
 
1983
 
1984
 
1985
 
1986
 
1987
 
1988
 
1989
 
1990
 
1991
 
1992
// cpuid - 4b
1993
 
1994
 
1995
 
1996
// CPUany, addr<5:4>=00,10
1997
 
1998
 
1999
 
2000
 
2001
 
2002
// CPUany, addr<5:4>=01,11
2003
 
2004
 
2005
 
2006
 
2007
// CPUany, addr<5:4>=01,11
2008
 
2009
 
2010
 
2011
 
2012
// DTAG parity error Invalidate
2013
 
2014
 
2015
 
2016
 
2017
// CPX BINIT STORE
2018
 
2019
 
2020
module sparc (/*AUTOARG*/
2021
   // Outputs
2022
   spc_pcx_req_pq, spc_pcx_atom_pq, spc_pcx_data_pa, spc_sscan_so,
2023
   spc_scanout0, spc_scanout1, tst_ctu_mbist_done,
2024
   tst_ctu_mbist_fail, spc_efc_ifuse_data, spc_efc_dfuse_data,
2025
   // Inputs
2026 100 fafa1971
   pcx_spc_grant_px,wbm_spc_stall,wbm_spc_resume, cpx_spc_data_rdy_cx2, cpx_spc_data_cx2,
2027 92 fafa1971
   const_cpuid, const_maskid, ctu_tck, ctu_sscan_se, ctu_sscan_snap,
2028
   ctu_sscan_tid, ctu_tst_mbist_enable, efc_spc_fuse_clk1,
2029
   efc_spc_fuse_clk2, efc_spc_ifuse_ashift, efc_spc_ifuse_dshift,
2030
   efc_spc_ifuse_data, efc_spc_dfuse_ashift, efc_spc_dfuse_dshift,
2031
   efc_spc_dfuse_data, ctu_tst_macrotest, ctu_tst_scan_disable,
2032
   ctu_tst_short_chain, global_shift_enable, ctu_tst_scanmode,
2033
   spc_scanin0, spc_scanin1, cluster_cken, gclk, cmp_grst_l,
2034
   cmp_arst_l, ctu_tst_pre_grst_l, adbginit_l, gdbginit_l
2035
   );
2036
 
2037
   // these are the only legal IOs
2038
 
2039
   // pcx
2040
   output [4:0]   spc_pcx_req_pq;    // processor to pcx request
2041
   output         spc_pcx_atom_pq;   // processor to pcx atomic request
2042
   output [124-1:0] spc_pcx_data_pa;  // processor to pcx packet
2043
 
2044
   // shadow scan
2045
   output     spc_sscan_so;         // From ifu of sparc_ifu.v
2046
   output     spc_scanout0;         // From test_stub of test_stub_bist.v
2047
   output     spc_scanout1;         // From test_stub of test_stub_bist.v
2048
 
2049
   // bist
2050
   output     tst_ctu_mbist_done;  // From test_stub of test_stub_two_bist.v
2051
   output     tst_ctu_mbist_fail;  // From test_stub of test_stub_two_bist.v
2052
 
2053
   // fuse
2054
   output     spc_efc_ifuse_data;     // From ifu of sparc_ifu.v
2055
   output     spc_efc_dfuse_data;     // From ifu of sparc_ifu.v
2056
 
2057
 
2058
   // cpx interface
2059 100 fafa1971
   input [4:0] pcx_spc_grant_px;input wbm_spc_stall;input wbm_spc_resume; // pcx to processor grant info  
2060 92 fafa1971
   input       cpx_spc_data_rdy_cx2; // cpx data inflight to sparc  
2061
   input [145-1:0] cpx_spc_data_cx2;     // cpx to sparc data packet
2062
 
2063
   input [3:0]  const_cpuid;
2064
   input [7:0]  const_maskid;           // To ifu of sparc_ifu.v
2065
 
2066
   // sscan
2067
   input        ctu_tck;                // To ifu of sparc_ifu.v
2068
   input        ctu_sscan_se;           // To ifu of sparc_ifu.v
2069
   input        ctu_sscan_snap;         // To ifu of sparc_ifu.v
2070
   input [3:0]  ctu_sscan_tid;          // To ifu of sparc_ifu.v
2071
 
2072
   // bist
2073
   input        ctu_tst_mbist_enable;   // To test_stub of test_stub_bist.v
2074
 
2075
   // efuse
2076
   input        efc_spc_fuse_clk1;
2077
   input        efc_spc_fuse_clk2;
2078
   input        efc_spc_ifuse_ashift;
2079
   input        efc_spc_ifuse_dshift;
2080
   input        efc_spc_ifuse_data;
2081
   input        efc_spc_dfuse_ashift;
2082
   input        efc_spc_dfuse_dshift;
2083
   input        efc_spc_dfuse_data;
2084
 
2085
   // scan and macro test
2086
   input        ctu_tst_macrotest;      // To test_stub of test_stub_bist.v
2087
   input        ctu_tst_scan_disable;   // To test_stub of test_stub_bist.v
2088
   input        ctu_tst_short_chain;    // To test_stub of test_stub_bist.v
2089
   input        global_shift_enable;    // To test_stub of test_stub_two_bist.v
2090
   input        ctu_tst_scanmode;       // To test_stub of test_stub_two_bist.v
2091
   input        spc_scanin0;
2092
   input        spc_scanin1;
2093
 
2094
   // clk
2095
   input        cluster_cken;           // To spc_hdr of cluster_header.v
2096
   input        gclk;                   // To spc_hdr of cluster_header.v
2097
 
2098
   // reset
2099
   input        cmp_grst_l;
2100
   input        cmp_arst_l;
2101
   input        ctu_tst_pre_grst_l;     // To test_stub of test_stub_bist.v
2102
 
2103
   input        adbginit_l;             // To spc_hdr of cluster_header.v
2104
   input        gdbginit_l;             // To spc_hdr of cluster_header.v
2105
 
2106
 
2107
   // ----------------- End of IOs -------------------------- //
2108
 
2109
   /* AUTOOUTPUT*/
2110
   /*AUTOINPUT*/
2111
   // Beginning of automatic inputs (from unused autoinst inputs)
2112
   // End of automatics
2113
 
2114
   // not hooked up yet
2115
   wire [3:0]   tlu_dsfsr_flt_vld;      // To lsu of lsu.v
2116
   wire         tlu_lsu_int_ld_ill_va_w2;// To lsu of lsu.v
2117
   wire [9:0]   lsu_tlu_ldst_va_m;// To lsu of lsu.v
2118
   wire [47:0]  lsu_ifu_stxa_data;       // From lsu of lsu.v
2119
 
2120
   wire         lsu_tlu_misalign_addr_ldst_atm_m ;// To tlu of tlu.v
2121
 
2122
   // name change at top level
2123
   wire [3:0]    tlu_ifu_sftint_vld;
2124
   wire [3:0]    tlu_hintp_vld;
2125
   wire [3:0]    tlu_rerr_vld;
2126
   wire         lsu_exu_ldst_miss_g2;   // To exu of sparc_exu.v
2127
   wire         lsu_ifu_ldst_miss_w;    // To exu of sparc_exu.v
2128
   wire         lsu_exu_dfill_vld_g;
2129
   wire [63:0]  lsu_exu_dfill_data_g;    // From lsu of lsu.v
2130
   wire [62:0]  tlu_sscan_test_data;
2131
   wire         lsu_ifu_tlb_data_ue;      // dtlb data asi rd parity error
2132
   wire         lsu_ifu_tlb_tag_ue;       // dtlb tag asi rd parity error
2133
   wire [8:0]   ifu_tlu_imm_asi_d;      // From ifu of sparc_ifu.v
2134
 
2135
   wire        ifu_lsu_wsr_inst_d;     // To lsu of lsu.v, ...
2136
   wire        ifu_exu_wsr_inst_d;
2137
 
2138
   // hypervisor stuff
2139
   wire [3:0]   tlu_hpstate_enb,
2140
                tlu_hpstate_priv,
2141
                tlu_hpstate_ibe;
2142
 
2143
   // scan chain
2144
   wire                    short_scan0_1;
2145
   wire                    short_scan0_2;
2146
   wire                    short_scan0_3;
2147
   wire                    short_scan0_4;
2148
   wire                    short_scan0_5;
2149
   wire                    short_scan0_6;
2150
   wire                    scan0_1;
2151
   wire                    scan0_2;
2152
   wire                    scan0_3;
2153
   wire                    scan0_4;
2154
   wire                    scan0_5;
2155
   wire                    scan0_6;
2156
   wire                    scan0_7;
2157
 
2158
   wire                    short_scan1_1;
2159
   wire                    short_scan1_2;
2160
   wire                    short_scan1_3;
2161
   wire                    short_scan1_4;
2162
   wire                    short_scan1_5;
2163
   wire                    scan1_1;
2164
   wire                    scan1_2;
2165
   wire                    scan1_3;
2166
   wire                    scan1_4;
2167
   wire                    scan1_5;
2168
 
2169
 
2170
   // bus width difference
2171
   wire [12:0]   lsu_t0_pctxt_state;     // From lsu of lsu.v
2172
   wire [12:0]   lsu_t1_pctxt_state;     // From lsu of lsu.v
2173
   wire [12:0]   lsu_t2_pctxt_state;     // From lsu of lsu.v
2174
   wire [12:0]   lsu_t3_pctxt_state;     // From lsu of lsu.v
2175
 
2176
   wire [6:0]  bist_ctl_reg_in;
2177
 
2178
   /*AUTOWIRE*/
2179
   // Beginning of automatic wires (for undeclared instantiated-module outputs)
2180
   wire [10:0]          bist_ctl_reg_out;       // From test_stub of test_stub_bist.v
2181
   wire                 bist_ctl_reg_wr_en;     // From lsu of lsu.v
2182
   wire [145-1:0]cpx_spc_data_cx2_buf;   // From buf_cpx of cpx_spc_buf.v
2183
   wire [145-1:0]cpx_spc_data_cx3;       // From ff_cpx of cpx_spc_rpt.v
2184
   wire                 cpx_spc_data_rdy_cx2_buf;// From buf_cpx of cpx_spc_buf.v
2185
   wire                 cpx_spc_data_rdy_cx3;   // From ff_cpx of cpx_spc_rpt.v
2186
   wire                 exu_ffu_wsr_inst_e;     // From exu of sparc_exu.v
2187
   wire [47:0]          exu_ifu_brpc_e;         // From exu of sparc_exu.v
2188
   wire [7:0]           exu_ifu_cc_d;           // From exu of sparc_exu.v
2189
   wire                 exu_ifu_ecc_ce_m;       // From exu of sparc_exu.v
2190
   wire                 exu_ifu_ecc_ue_m;       // From exu of sparc_exu.v
2191
   wire [7:0]           exu_ifu_err_reg_m;      // From exu of sparc_exu.v
2192
   wire [7:0]           exu_ifu_err_synd_m;     // From exu of sparc_exu.v
2193
   wire                 exu_ifu_inj_ack;        // From exu of sparc_exu.v
2194
   wire [3:0]           exu_ifu_longop_done_g;  // From exu of sparc_exu.v
2195
   wire [3:0]           exu_ifu_oddwin_s;       // From exu of sparc_exu.v
2196
   wire                 exu_ifu_regn_e;         // From exu of sparc_exu.v
2197
   wire                 exu_ifu_regz_e;         // From exu of sparc_exu.v
2198
   wire                 exu_ifu_spill_e;        // From exu of sparc_exu.v
2199
   wire                 exu_ifu_va_oor_m;       // From exu of sparc_exu.v
2200
   wire [10:3]          exu_lsu_early_va_e;     // From exu of sparc_exu.v
2201
   wire [47:0]          exu_lsu_ldst_va_e;      // From exu of sparc_exu.v
2202
   wire                 exu_lsu_priority_trap_m;// From exu of sparc_exu.v
2203
   wire [63:0]          exu_lsu_rs2_data_e;     // From exu of sparc_exu.v
2204
   wire [63:0]          exu_lsu_rs3_data_e;     // From exu of sparc_exu.v
2205
   wire [7:0]           exu_mmu_early_va_e;     // From exu of sparc_exu.v
2206
   wire                 exu_mul_input_vld;      // From exu of sparc_exu.v
2207
   wire [63:0]          exu_mul_rs1_data;       // From exu of sparc_exu.v
2208
   wire [63:0]          exu_mul_rs2_data;       // From exu of sparc_exu.v
2209
   wire [63:0]          exu_spu_rs3_data_e;     // From exu of sparc_exu.v
2210
   wire [7:0]           exu_tlu_ccr0_w;         // From exu of sparc_exu.v
2211
   wire [7:0]           exu_tlu_ccr1_w;         // From exu of sparc_exu.v
2212
   wire [7:0]           exu_tlu_ccr2_w;         // From exu of sparc_exu.v
2213
   wire [7:0]           exu_tlu_ccr3_w;         // From exu of sparc_exu.v
2214
   wire [2:0]           exu_tlu_cwp0_w;         // From exu of sparc_exu.v
2215
   wire [2:0]           exu_tlu_cwp1_w;         // From exu of sparc_exu.v
2216
   wire [2:0]           exu_tlu_cwp2_w;         // From exu of sparc_exu.v
2217
   wire [2:0]           exu_tlu_cwp3_w;         // From exu of sparc_exu.v
2218
   wire                 exu_tlu_cwp_cmplt;      // From exu of sparc_exu.v
2219
   wire [1:0]           exu_tlu_cwp_cmplt_tid;  // From exu of sparc_exu.v
2220
   wire                 exu_tlu_cwp_retry;      // From exu of sparc_exu.v
2221
   wire                 exu_tlu_misalign_addr_jmpl_rtn_m;// From exu of sparc_exu.v
2222
   wire                 exu_tlu_spill;          // From exu of sparc_exu.v
2223
   wire                 exu_tlu_spill_other;    // From exu of sparc_exu.v
2224
   wire [1:0]           exu_tlu_spill_tid;      // From exu of sparc_exu.v
2225
   wire [2:0]           exu_tlu_spill_wtype;    // From exu of sparc_exu.v
2226
   wire [8:0]           exu_tlu_ttype_m;        // From exu of sparc_exu.v
2227
   wire                 exu_tlu_ttype_vld_m;    // From exu of sparc_exu.v
2228
   wire                 exu_tlu_va_oor_jl_ret_m;// From exu of sparc_exu.v
2229
   wire                 exu_tlu_va_oor_m;       // From exu of sparc_exu.v
2230
   wire [63:0]          exu_tlu_wsr_data_m;     // From exu of sparc_exu.v
2231
   wire [63:0]          ffu_exu_rsr_data_m;     // From ffu of sparc_ffu.v
2232
   wire [3:0]           ffu_ifu_cc_vld_w2;      // From ffu of sparc_ffu.v
2233
   wire [7:0]           ffu_ifu_cc_w2;          // From ffu of sparc_ffu.v
2234
   wire                 ffu_ifu_ecc_ce_w2;      // From ffu of sparc_ffu.v
2235
   wire                 ffu_ifu_ecc_ue_w2;      // From ffu of sparc_ffu.v
2236
   wire [5:0]           ffu_ifu_err_reg_w2;     // From ffu of sparc_ffu.v
2237
   wire [13:0]          ffu_ifu_err_synd_w2;    // From ffu of sparc_ffu.v
2238
   wire                 ffu_ifu_fpop_done_w2;   // From ffu of sparc_ffu.v
2239
   wire                 ffu_ifu_fst_ce_w;       // From ffu of sparc_ffu.v
2240
   wire                 ffu_ifu_inj_ack;        // From ffu of sparc_ffu.v
2241
   wire                 ffu_ifu_stallreq;       // From ffu of sparc_ffu.v
2242
   wire [1:0]           ffu_ifu_tid_w2;         // From ffu of sparc_ffu.v
2243
   wire                 ffu_lsu_blk_st_e;       // From ffu of sparc_ffu.v
2244
   wire [5:3]           ffu_lsu_blk_st_va_e;    // From ffu of sparc_ffu.v
2245
   wire [80:0]          ffu_lsu_data;           // From ffu of sparc_ffu.v
2246
   wire                 ffu_lsu_fpop_rq_vld;    // From ffu of sparc_ffu.v
2247
   wire                 ffu_lsu_kill_fst_w;     // From ffu of sparc_ffu.v
2248
   wire                 ffu_tlu_fpu_cmplt;      // From ffu of sparc_ffu.v
2249
   wire [1:0]           ffu_tlu_fpu_tid;        // From ffu of sparc_ffu.v
2250
   wire                 ffu_tlu_ill_inst_m;     // From ffu of sparc_ffu.v
2251
   wire                 ffu_tlu_trap_ieee754;   // From ffu of sparc_ffu.v
2252
   wire                 ffu_tlu_trap_other;     // From ffu of sparc_ffu.v
2253
   wire                 ffu_tlu_trap_ue;        // From ffu of sparc_ffu.v
2254
   wire                 ifu_exu_addr_mask_d;    // From ifu of sparc_ifu.v
2255
   wire [2:0]           ifu_exu_aluop_d;        // From ifu of sparc_ifu.v
2256
   wire                 ifu_exu_casa_d;         // From ifu of sparc_ifu.v
2257
   wire                 ifu_exu_dbrinst_d;      // From ifu of sparc_ifu.v
2258
   wire                 ifu_exu_disable_ce_e;   // From ifu of sparc_ifu.v
2259
   wire                 ifu_exu_dontmv_regz0_e; // From ifu of sparc_ifu.v
2260
   wire                 ifu_exu_dontmv_regz1_e; // From ifu of sparc_ifu.v
2261
   wire [7:0]           ifu_exu_ecc_mask;       // From ifu of sparc_ifu.v
2262
   wire                 ifu_exu_enshift_d;      // From ifu of sparc_ifu.v
2263
   wire                 ifu_exu_flushw_e;       // From ifu of sparc_ifu.v
2264
   wire                 ifu_exu_ialign_d;       // From ifu of sparc_ifu.v
2265
   wire [31:0]          ifu_exu_imm_data_d;     // From ifu of sparc_ifu.v
2266
   wire                 ifu_exu_inj_irferr;     // From ifu of sparc_ifu.v
2267
   wire                 ifu_exu_inst_vld_e;     // From ifu of sparc_ifu.v
2268
   wire                 ifu_exu_inst_vld_w;     // From ifu of sparc_ifu.v
2269
   wire                 ifu_exu_invert_d;       // From ifu of sparc_ifu.v
2270
   wire                 ifu_exu_kill_e;         // From ifu of sparc_ifu.v
2271
   wire [4:0]           ifu_exu_muldivop_d;     // From ifu of sparc_ifu.v
2272
   wire                 ifu_exu_muls_d;         // From ifu of sparc_ifu.v
2273
   wire                 ifu_exu_nceen_e;        // From ifu of sparc_ifu.v
2274
   wire [47:0]          ifu_exu_pc_d;           // From ifu of sparc_ifu.v
2275
   wire [63:0]          ifu_exu_pcver_e;        // From ifu of sparc_ifu.v
2276
   wire                 ifu_exu_range_check_jlret_d;// From ifu of sparc_ifu.v
2277
   wire                 ifu_exu_range_check_other_d;// From ifu of sparc_ifu.v
2278
   wire [4:0]           ifu_exu_rd_d;           // From ifu of sparc_ifu.v
2279
   wire                 ifu_exu_rd_exusr_e;     // From ifu of sparc_ifu.v
2280
   wire                 ifu_exu_rd_ffusr_e;     // From ifu of sparc_ifu.v
2281
   wire                 ifu_exu_rd_ifusr_e;     // From ifu of sparc_ifu.v
2282
   wire                 ifu_exu_ren1_s;         // From ifu of sparc_ifu.v
2283
   wire                 ifu_exu_ren2_s;         // From ifu of sparc_ifu.v
2284
   wire                 ifu_exu_ren3_s;         // From ifu of sparc_ifu.v
2285
   wire                 ifu_exu_restore_d;      // From ifu of sparc_ifu.v
2286
   wire                 ifu_exu_restored_e;     // From ifu of sparc_ifu.v
2287
   wire                 ifu_exu_return_d;       // From ifu of sparc_ifu.v
2288
   wire [4:0]           ifu_exu_rs1_s;          // From ifu of sparc_ifu.v
2289
   wire                 ifu_exu_rs1_vld_d;      // From ifu of sparc_ifu.v
2290
   wire [4:0]           ifu_exu_rs2_s;          // From ifu of sparc_ifu.v
2291
   wire                 ifu_exu_rs2_vld_d;      // From ifu of sparc_ifu.v
2292
   wire [4:0]           ifu_exu_rs3_s;          // From ifu of sparc_ifu.v
2293
   wire                 ifu_exu_rs3e_vld_d;     // From ifu of sparc_ifu.v
2294
   wire                 ifu_exu_rs3o_vld_d;     // From ifu of sparc_ifu.v
2295
   wire                 ifu_exu_save_d;         // From ifu of sparc_ifu.v
2296
   wire                 ifu_exu_saved_e;        // From ifu of sparc_ifu.v
2297
   wire                 ifu_exu_setcc_d;        // From ifu of sparc_ifu.v
2298
   wire                 ifu_exu_sethi_inst_d;   // From ifu of sparc_ifu.v
2299
   wire [2:0]           ifu_exu_shiftop_d;      // From ifu of sparc_ifu.v
2300
   wire                 ifu_exu_tagop_d;        // From ifu of sparc_ifu.v
2301
   wire                 ifu_exu_tcc_e;          // From ifu of sparc_ifu.v
2302
   wire [1:0]           ifu_exu_tid_s2;         // From ifu of sparc_ifu.v
2303
   wire                 ifu_exu_ttype_vld_m;    // From ifu of sparc_ifu.v
2304
   wire                 ifu_exu_tv_d;           // From ifu of sparc_ifu.v
2305
   wire                 ifu_exu_use_rsr_e_l;    // From ifu of sparc_ifu.v
2306
   wire                 ifu_exu_usecin_d;       // From ifu of sparc_ifu.v
2307
   wire                 ifu_exu_useimm_d;       // From ifu of sparc_ifu.v
2308
   wire                 ifu_exu_wen_d;          // From ifu of sparc_ifu.v
2309
   wire [1:0]           ifu_ffu_fcc_num_d;      // From ifu of sparc_ifu.v
2310
   wire                 ifu_ffu_fld_d;          // From ifu of sparc_ifu.v
2311
   wire                 ifu_ffu_fpop1_d;        // From ifu of sparc_ifu.v
2312
   wire                 ifu_ffu_fpop2_d;        // From ifu of sparc_ifu.v
2313
   wire [8:0]           ifu_ffu_fpopcode_d;     // From ifu of sparc_ifu.v
2314
   wire [4:0]           ifu_ffu_frd_d;          // From ifu of sparc_ifu.v
2315
   wire [4:0]           ifu_ffu_frs1_d;         // From ifu of sparc_ifu.v
2316
   wire [4:0]           ifu_ffu_frs2_d;         // From ifu of sparc_ifu.v
2317
   wire                 ifu_ffu_fst_d;          // From ifu of sparc_ifu.v
2318
   wire                 ifu_ffu_inj_frferr;     // From ifu of sparc_ifu.v
2319
   wire                 ifu_ffu_ldfsr_d;        // From ifu of sparc_ifu.v
2320
   wire                 ifu_ffu_ldst_size_d;    // From ifu of sparc_ifu.v
2321
   wire                 ifu_ffu_ldxfsr_d;       // From ifu of sparc_ifu.v
2322
   wire                 ifu_ffu_mvcnd_m;        // From ifu of sparc_ifu.v
2323
   wire                 ifu_ffu_quad_op_e;      // From ifu of sparc_ifu.v
2324
   wire                 ifu_ffu_stfsr_d;        // From ifu of sparc_ifu.v
2325
   wire                 ifu_ffu_visop_d;        // From ifu of sparc_ifu.v
2326
   wire                 ifu_lsu_alt_space_d;    // From ifu of sparc_ifu.v
2327
   wire                 ifu_lsu_alt_space_e;    // From ifu of sparc_ifu.v
2328
   wire                 ifu_lsu_asi_ack;        // From ifu of sparc_ifu.v
2329
   wire                 ifu_lsu_asi_rd_unc;     // From ifu of sparc_ifu.v
2330
   wire                 ifu_lsu_casa_e;         // From ifu of sparc_ifu.v
2331
   wire [2:0]           ifu_lsu_destid_s;       // From ifu of sparc_ifu.v
2332
   wire [3:0]           ifu_lsu_error_inj;      // From ifu of sparc_ifu.v
2333
   wire                 ifu_lsu_fwd_data_vld;   // From ifu of sparc_ifu.v
2334
   wire                 ifu_lsu_fwd_wr_ack;     // From ifu of sparc_ifu.v
2335
   wire                 ifu_lsu_ibuf_busy;      // From ifu of sparc_ifu.v
2336
   wire [7:0]           ifu_lsu_imm_asi_d;      // From ifu of sparc_ifu.v
2337
   wire                 ifu_lsu_imm_asi_vld_d;  // From ifu of sparc_ifu.v
2338
   wire                 ifu_lsu_inv_clear;      // From ifu of sparc_ifu.v
2339
   wire                 ifu_lsu_ld_inst_e;      // From ifu of sparc_ifu.v
2340
   wire                 ifu_lsu_ldst_dbl_e;     // From ifu of sparc_ifu.v
2341
   wire                 ifu_lsu_ldst_fp_e;      // From ifu of sparc_ifu.v
2342
   wire [1:0]           ifu_lsu_ldst_size_e;    // From ifu of sparc_ifu.v
2343
   wire                 ifu_lsu_ldstub_e;       // From ifu of sparc_ifu.v
2344
   wire                 ifu_lsu_ldxa_data_vld_w2;// From ifu of sparc_ifu.v
2345
   wire [63:0]          ifu_lsu_ldxa_data_w2;   // From ifu of sparc_ifu.v
2346
   wire                 ifu_lsu_ldxa_illgl_va_w2;// From ifu of sparc_ifu.v
2347
   wire [1:0]           ifu_lsu_ldxa_tid_w2;    // From ifu of sparc_ifu.v
2348
   wire                 ifu_lsu_memref_d;       // From ifu of sparc_ifu.v
2349
   wire [3:0]           ifu_lsu_nceen;          // From ifu of sparc_ifu.v
2350
   wire [51:0]          ifu_lsu_pcxpkt_e;       // From ifu of sparc_ifu.v
2351
   wire                 ifu_lsu_pcxreq_d;       // From ifu of sparc_ifu.v
2352
   wire                 ifu_lsu_pref_inst_e;    // From ifu of sparc_ifu.v
2353
   wire [4:0]           ifu_lsu_rd_e;           // From ifu of sparc_ifu.v
2354
   wire                 ifu_lsu_sign_ext_e;     // From ifu of sparc_ifu.v
2355
   wire                 ifu_lsu_st_inst_e;      // From ifu of sparc_ifu.v
2356
   wire                 ifu_lsu_swap_e;         // From ifu of sparc_ifu.v
2357
   wire [1:0]           ifu_lsu_thrid_s;        // From ifu of sparc_ifu.v
2358
   wire                 ifu_mmu_trap_m;         // From ifu of sparc_ifu.v
2359
   wire                 ifu_spu_inst_vld_w;     // From ifu of sparc_ifu.v
2360
   wire [3:0]           ifu_spu_nceen;          // From ifu of sparc_ifu.v
2361
   wire                 ifu_spu_trap_ack;       // From ifu of sparc_ifu.v
2362
   wire                 ifu_tlu_alt_space_d;    // From ifu of sparc_ifu.v
2363
   wire                 ifu_tlu_done_inst_d;    // From ifu of sparc_ifu.v
2364
   wire                 ifu_tlu_flsh_inst_e;    // From ifu of sparc_ifu.v
2365
   wire                 ifu_tlu_flush_fd2_w;    // From lsu of lsu.v
2366
   wire                 ifu_tlu_flush_fd3_w;    // From lsu of lsu.v
2367
   wire                 ifu_tlu_flush_fd_w;     // From lsu of lsu.v
2368
   wire                 ifu_tlu_flush_m;        // From ifu of sparc_ifu.v
2369
   wire                 ifu_tlu_flush_w;        // From ifu of sparc_ifu.v
2370
   wire                 ifu_tlu_hwint_m;        // From ifu of sparc_ifu.v
2371
   wire                 ifu_tlu_icmiss_e;       // From ifu of sparc_ifu.v
2372
   wire                 ifu_tlu_immu_miss_m;    // From ifu of sparc_ifu.v
2373
   wire                 ifu_tlu_inst_vld_m;     // From ifu of sparc_ifu.v
2374
   wire                 ifu_tlu_inst_vld_m_bf1; // From lsu of lsu.v
2375
   wire                 ifu_tlu_inst_vld_w;     // From ifu of sparc_ifu.v
2376
   wire                 ifu_tlu_itlb_done;      // From ifu of sparc_ifu.v
2377
   wire [3:0]           ifu_tlu_l2imiss;        // From ifu of sparc_ifu.v
2378
   wire                 ifu_tlu_mb_inst_e;      // From ifu of sparc_ifu.v
2379
   wire [48:0]          ifu_tlu_npc_m;          // From ifu of sparc_ifu.v
2380
   wire [48:0]          ifu_tlu_pc_m;           // From ifu of sparc_ifu.v
2381
   wire                 ifu_tlu_pc_oor_e;       // From ifu of sparc_ifu.v
2382
   wire                 ifu_tlu_priv_violtn_m;  // From ifu of sparc_ifu.v
2383
   wire                 ifu_tlu_retry_inst_d;   // From ifu of sparc_ifu.v
2384
   wire                 ifu_tlu_rsr_inst_d;     // From ifu of sparc_ifu.v
2385
   wire                 ifu_tlu_rstint_m;       // From ifu of sparc_ifu.v
2386
   wire                 ifu_tlu_sftint_m;       // From ifu of sparc_ifu.v
2387
   wire                 ifu_tlu_sir_inst_m;     // From ifu of sparc_ifu.v
2388
   wire [6:0]           ifu_tlu_sraddr_d;       // From ifu of sparc_ifu.v
2389
   wire [6:0]           ifu_tlu_sraddr_d_v2;    // From ifu of sparc_ifu.v
2390
   wire [1:0]           ifu_tlu_thrid_d;        // From ifu of sparc_ifu.v
2391
   wire [1:0]           ifu_tlu_thrid_e;        // From ifu of sparc_ifu.v
2392
   wire                 ifu_tlu_trap_m;         // From ifu of sparc_ifu.v
2393
   wire [8:0]           ifu_tlu_ttype_m;        // From ifu of sparc_ifu.v
2394
   wire                 ifu_tlu_ttype_vld_m;    // From ifu of sparc_ifu.v
2395
   wire [7:0]           lsu_asi_reg0;           // From lsu of lsu.v
2396
   wire [7:0]           lsu_asi_reg1;           // From lsu of lsu.v
2397
   wire [7:0]           lsu_asi_reg2;           // From lsu of lsu.v
2398
   wire [7:0]           lsu_asi_reg3;           // From lsu of lsu.v
2399
   wire [7:0]           lsu_asi_state;          // From lsu of lsu.v
2400
   wire [3:0]           lsu_dmmu_sfsr_trp_wr;   // From lsu of lsu.v
2401
   wire [23:0]          lsu_dsfsr_din_g;        // From lsu of lsu.v
2402
   wire                 lsu_exu_flush_pipe_w;   // From lsu of lsu.v
2403
   wire [63:0]          lsu_exu_ldxa_data_g;    // From tlu of tlu.v
2404
   wire                 lsu_exu_ldxa_m;         // From tlu of tlu.v
2405
   wire [4:0]           lsu_exu_rd_m;           // From lsu of lsu.v
2406
   wire                 lsu_exu_st_dtlb_perr_g; // From lsu of lsu.v
2407
   wire [1:0]           lsu_exu_thr_m;          // From lsu of lsu.v
2408
   wire                 lsu_ffu_ack;            // From lsu of lsu.v
2409
   wire [2:0]           lsu_ffu_bld_cnt_w;      // From lsu of lsu.v
2410
   wire                 lsu_ffu_blk_asi_e;      // From lsu of lsu.v
2411
   wire                 lsu_ffu_flush_pipe_w;   // From lsu of lsu.v
2412
   wire [63:0]          lsu_ffu_ld_data;        // From lsu of lsu.v
2413
   wire                 lsu_ffu_ld_vld;         // From lsu of lsu.v
2414
   wire                 lsu_ffu_stb_full0;      // From lsu of lsu.v
2415
   wire                 lsu_ffu_stb_full1;      // From lsu of lsu.v
2416
   wire                 lsu_ffu_stb_full2;      // From lsu of lsu.v
2417
   wire                 lsu_ffu_stb_full3;      // From lsu of lsu.v
2418
   wire [3:0]           lsu_ictag_mrgn;         // From lsu of lsu.v
2419
   wire [17:0]          lsu_ifu_asi_addr;       // From lsu of lsu.v
2420
   wire                 lsu_ifu_asi_load;       // From lsu of lsu.v
2421
   wire [7:0]           lsu_ifu_asi_state;      // From lsu of lsu.v
2422
   wire [1:0]           lsu_ifu_asi_thrid;      // From lsu of lsu.v
2423
   wire                 lsu_ifu_asi_vld;        // From lsu of lsu.v
2424
   wire [144-1:0]  lsu_ifu_cpxpkt_i1;      // From lsu of lsu.v
2425
   wire                 lsu_ifu_cpxpkt_vld_i1;  // From lsu of lsu.v
2426
   wire                 lsu_ifu_dc_parity_error_w2;// From lsu of lsu.v
2427
   wire                 lsu_ifu_dcache_data_perror;// From lsu of lsu.v
2428
   wire                 lsu_ifu_dcache_tag_perror;// From lsu of lsu.v
2429
   wire                 lsu_ifu_direct_map_l1;  // From lsu of lsu.v
2430
   wire [47:4]          lsu_ifu_err_addr;       // From lsu of lsu.v
2431
   wire [1:0]           lsu_ifu_error_tid;      // From lsu of lsu.v
2432
   wire                 lsu_ifu_flush_pipe_w;   // From lsu of lsu.v
2433
   wire [3:0]           lsu_ifu_icache_en;      // From lsu of lsu.v
2434
   wire [3:0]           lsu_ifu_inj_ack;        // From tlu of tlu.v
2435
   wire                 lsu_ifu_io_error;       // From lsu of lsu.v
2436
   wire [3:0]           lsu_ifu_itlb_en;        // From lsu of lsu.v
2437
   wire                 lsu_ifu_l2_corr_error;  // From lsu of lsu.v
2438
   wire                 lsu_ifu_l2_unc_error;   // From lsu of lsu.v
2439
   wire [11:5]          lsu_ifu_ld_icache_index;// From lsu of lsu.v
2440
   wire [1:0]           lsu_ifu_ld_pcxpkt_tid;  // From lsu of lsu.v
2441
   wire                 lsu_ifu_ld_pcxpkt_vld;  // From lsu of lsu.v
2442
   wire [3:0]           lsu_ifu_ldst_cmplt;     // From lsu of lsu.v
2443
   wire                 lsu_ifu_ldsta_internal_e;// From lsu of lsu.v
2444
   wire                 lsu_ifu_pcxpkt_ack_d;   // From lsu of lsu.v
2445
   wire                 lsu_ifu_stallreq;       // From lsu of lsu.v
2446
   wire [3:0]           lsu_ifu_stbcnt0;        // From lsu of lsu.v
2447
   wire [3:0]           lsu_ifu_stbcnt1;        // From lsu of lsu.v
2448
   wire [3:0]           lsu_ifu_stbcnt2;        // From lsu of lsu.v
2449
   wire [3:0]           lsu_ifu_stbcnt3;        // From lsu of lsu.v
2450
   wire                 lsu_ifu_tlb_data_su;    // From lsu of lsu.v
2451
   wire [7:0]           lsu_itlb_mrgn;          // From lsu of lsu.v
2452
   wire [3:0]           lsu_mamem_mrgn;         // From lsu of lsu.v
2453
   wire                 lsu_mmu_defr_trp_taken_g;// From lsu of lsu.v
2454
   wire                 lsu_mmu_flush_pipe_w;   // From lsu of lsu.v
2455
   wire [63:0]          lsu_mmu_rs3_data_g;     // From lsu of lsu.v
2456
   wire [2:0]           lsu_pid_state0;         // From lsu of lsu.v
2457
   wire [2:0]           lsu_pid_state1;         // From lsu of lsu.v
2458
   wire [2:0]           lsu_pid_state2;         // From lsu of lsu.v
2459
   wire [2:0]           lsu_pid_state3;         // From lsu of lsu.v
2460
   wire [7:0]           lsu_spu_asi_state_e;    // From lsu of lsu.v
2461
   wire                 lsu_spu_early_flush_g;  // From lsu of lsu.v
2462
   wire                 lsu_spu_ldst_ack;       // From lsu of lsu.v
2463
   wire [3:0]           lsu_spu_stb_empty;      // From lsu of lsu.v
2464
   wire [1:0]           lsu_spu_strm_ack_cmplt; // From lsu of lsu.v
2465
   wire [15:0]          lsu_sscan_data;         // From lsu of lsu.v
2466
   wire [1:0]           lsu_tlu_async_tid_w2;   // From lsu of lsu.v
2467
   wire                 lsu_tlu_async_ttype_vld_w2;// From lsu of lsu.v
2468
   wire [6:0]           lsu_tlu_async_ttype_w2; // From lsu of lsu.v
2469
   wire [3:0]           lsu_tlu_cpx_req;        // From lsu of lsu.v
2470
   wire                 lsu_tlu_cpx_vld;        // From lsu of lsu.v
2471
   wire                 lsu_tlu_daccess_excptn_g;// From lsu of lsu.v
2472
   wire                 lsu_tlu_daccess_prot_g; // From lsu of lsu.v
2473
   wire [3:0]           lsu_tlu_dcache_miss_w2; // From lsu of lsu.v
2474
   wire                 lsu_tlu_defr_trp_taken_g;// From lsu of lsu.v
2475
   wire                 lsu_tlu_dmmu_miss_g;    // From lsu of lsu.v
2476
   wire [12:0]          lsu_tlu_dside_ctxt_m;   // From lsu of lsu.v
2477
   wire                 lsu_tlu_dtlb_done;      // From lsu of lsu.v
2478
   wire                 lsu_tlu_early_flush2_w; // From lsu of lsu.v
2479
   wire                 lsu_tlu_early_flush_w;  // From lsu of lsu.v
2480
   wire [17:0]          lsu_tlu_intpkt;         // From lsu of lsu.v
2481
   wire [3:0]           lsu_tlu_l2_dmiss;       // From lsu of lsu.v
2482
   wire                 lsu_tlu_nucleus_ctxt_m; // From lsu of lsu.v
2483
   wire [12:0]          lsu_tlu_pctxt_m;        // From lsu of lsu.v
2484
   wire                 lsu_tlu_pcxpkt_ack;     // From lsu of lsu.v
2485
   wire                 lsu_tlu_priv_action_g;  // From lsu of lsu.v
2486
   wire [63:0]          lsu_tlu_rs3_data_g;     // From lsu of lsu.v
2487
   wire [7:0]           lsu_tlu_rsr_data_e;     // From lsu of lsu.v
2488
   wire                 lsu_tlu_squash_va_oor_m;// From lsu of lsu.v
2489
   wire [3:0]           lsu_tlu_stb_full_w2;    // From lsu of lsu.v
2490
   wire [1:0]           lsu_tlu_thrid_d;        // From lsu of lsu.v
2491
   wire [1:0]           lsu_tlu_tlb_access_tid_m;// From lsu of lsu.v
2492
   wire [7:0]           lsu_tlu_tlb_asi_state_m;// From lsu of lsu.v
2493
   wire [47:13]         lsu_tlu_tlb_dmp_va_m;   // From lsu of lsu.v
2494
   wire                 lsu_tlu_tlb_ld_inst_m;  // From lsu of lsu.v
2495
   wire [10:0]          lsu_tlu_tlb_ldst_va_m;  // From lsu of lsu.v
2496
   wire                 lsu_tlu_tlb_st_inst_m;  // From lsu of lsu.v
2497
   wire [2:0]           lsu_tlu_tte_pg_sz_g;    // From lsu of lsu.v
2498
   wire [8:0]           lsu_tlu_ttype_m2;       // From lsu of lsu.v
2499
   wire                 lsu_tlu_ttype_vld_m2;   // From lsu of lsu.v
2500
   wire                 lsu_tlu_wsr_inst_e;     // From lsu of lsu.v
2501
   wire                 lsu_tlu_wtchpt_trp_g;   // From lsu of lsu.v
2502
   wire                 mbist_bisi_mode;        // From test_stub of test_stub_bist.v
2503
   wire [71:0]          mbist_dcache_data_in;   // From lsu of lsu.v
2504
   wire                 mbist_dcache_fail;      // From ifu of sparc_ifu.v
2505
   wire [6:0]           mbist_dcache_index;     // From ifu of sparc_ifu.v
2506
   wire                 mbist_dcache_read;      // From ifu of sparc_ifu.v
2507
   wire [1:0]           mbist_dcache_way;       // From ifu of sparc_ifu.v
2508
   wire                 mbist_dcache_word;      // From ifu of sparc_ifu.v
2509
   wire                 mbist_dcache_write;     // From ifu of sparc_ifu.v
2510
   wire                 mbist_done;             // From ifu of sparc_ifu.v
2511
   wire                 mbist_icache_fail;      // From ifu of sparc_ifu.v
2512
   wire                 mbist_loop_mode;        // From test_stub of test_stub_bist.v
2513
   wire                 mbist_loop_on_addr;     // From test_stub of test_stub_bist.v
2514
   wire                 mbist_start;            // From test_stub of test_stub_bist.v
2515
   wire                 mbist_stop_on_fail;     // From test_stub of test_stub_bist.v
2516
   wire                 mbist_stop_on_next_fail;// From test_stub of test_stub_bist.v
2517
   wire                 mbist_userdata_mode;    // From test_stub of test_stub_bist.v
2518
   wire [7:0]           mbist_write_data;       // From ifu of sparc_ifu.v
2519
   wire                 mem_bypass;             // From test_stub of test_stub_bist.v
2520
   wire                 mem_write_disable;      // From test_stub of test_stub_bist.v
2521
   wire [63:0]          mul_data_out;           // From mul of sparc_mul_top.v
2522
   wire                 mul_exu_ack;            // From mul of sparc_mul_top.v
2523
   wire                 mul_spu_ack;            // From mul of sparc_mul_top.v
2524
   wire                 mul_spu_shf_ack;        // From mul of sparc_mul_top.v
2525
   wire                 mux_drive_disable;      // From test_stub of test_stub_bist.v
2526
   wire                 rclk;                   // From spc_hdr of bw_clk_cl_sparc_cmp.v
2527
   wire                 se;                     // From test_stub of test_stub_bist.v
2528
   wire                 sehold;                 // From test_stub of test_stub_bist.v
2529
   wire                 spc_dbginit_l;          // From spc_hdr of bw_clk_cl_sparc_cmp.v
2530
   wire                 spc_grst_l;             // From spc_hdr of bw_clk_cl_sparc_cmp.v
2531
   wire                 spu_ifu_corr_err_w2;    // From spu of spu.v
2532
   wire [39:4]          spu_ifu_err_addr_w2;    // From spu of spu.v
2533
   wire                 spu_ifu_int_w2;         // From spu of spu.v
2534
   wire                 spu_ifu_mamem_err_w1;   // From spu of spu.v
2535
   wire [1:0]           spu_ifu_ttype_tid_w2;   // From spu of spu.v
2536
   wire                 spu_ifu_ttype_vld_w2;   // From spu of spu.v
2537
   wire                 spu_ifu_ttype_w2;       // From spu of spu.v
2538
   wire                 spu_ifu_unc_err_w1;     // From spu of spu.v
2539
   wire [123:0]         spu_lsu_ldst_pckt;      // From spu of spu.v
2540
   wire                 spu_lsu_ldxa_data_vld_w2;// From spu of spu.v
2541
   wire [63:0]          spu_lsu_ldxa_data_w2;   // From spu of spu.v
2542
   wire                 spu_lsu_ldxa_illgl_va_w2;// From spu of spu.v
2543
   wire [1:0]           spu_lsu_ldxa_tid_w2;    // From spu of spu.v
2544
   wire                 spu_lsu_stxa_ack;       // From spu of spu.v
2545
   wire [1:0]           spu_lsu_stxa_ack_tid;   // From spu of spu.v
2546
   wire                 spu_lsu_unc_error_w2;   // From spu of spu.v
2547
   wire                 spu_mul_acc;            // From spu of spu.v
2548
   wire                 spu_mul_areg_rst;       // From spu of spu.v
2549
   wire                 spu_mul_areg_shf;       // From spu of spu.v
2550
   wire                 spu_mul_mulres_lshft;   // From spu of spu.v
2551
   wire [63:0]          spu_mul_op1_data;       // From spu of spu.v
2552
   wire [63:0]          spu_mul_op2_data;       // From spu of spu.v
2553
   wire                 spu_mul_req_vld;        // From spu of spu.v
2554
   wire                 testmode_l;             // From test_stub of test_stub_bist.v
2555
   wire                 tlu_dtlb_data_rd_g;     // From tlu of tlu.v
2556
   wire                 tlu_dtlb_dmp_actxt_g;   // From tlu of tlu.v
2557
   wire                 tlu_dtlb_dmp_all_g;     // From tlu of tlu.v
2558
   wire                 tlu_dtlb_dmp_nctxt_g;   // From tlu of tlu.v
2559
   wire                 tlu_dtlb_dmp_pctxt_g;   // From tlu of tlu.v
2560
   wire                 tlu_dtlb_dmp_sctxt_g;   // From tlu of tlu.v
2561
   wire                 tlu_dtlb_dmp_vld_g;     // From tlu of tlu.v
2562
   wire                 tlu_dtlb_invalidate_all_g;// From tlu of tlu.v
2563
   wire [5:0]           tlu_dtlb_rw_index_g;    // From tlu of tlu.v
2564
   wire                 tlu_dtlb_rw_index_vld_g;// From tlu of tlu.v
2565
   wire                 tlu_dtlb_tag_rd_g;      // From tlu of tlu.v
2566
   wire [42:0]          tlu_dtlb_tte_data_w2;   // From tlu of tlu.v
2567
   wire [58:0]          tlu_dtlb_tte_tag_w2;    // From tlu of tlu.v
2568
   wire                 tlu_early_flush_pipe2_w;// From tlu of tlu.v
2569
   wire                 tlu_early_flush_pipe_w; // From tlu of tlu.v
2570
   wire [2-1:0]tlu_exu_agp;     // From tlu of tlu.v
2571
   wire                 tlu_exu_agp_swap;       // From tlu of tlu.v
2572
   wire [1:0]           tlu_exu_agp_tid;        // From tlu of tlu.v
2573
   wire [7:0]           tlu_exu_ccr_m;          // From tlu of tlu.v
2574
   wire [2:0]           tlu_exu_cwp_m;          // From tlu of tlu.v
2575
   wire                 tlu_exu_cwp_retry_m;    // From tlu of tlu.v
2576
   wire                 tlu_exu_cwpccr_update_m;// From tlu of tlu.v
2577
   wire                 tlu_exu_early_flush_pipe_w;// From tlu of tlu.v
2578
   wire                 tlu_exu_pic_onebelow_m; // From tlu of tlu.v
2579
   wire                 tlu_exu_pic_twobelow_m; // From tlu of tlu.v
2580
   wire                 tlu_exu_priv_trap_m;    // From tlu of tlu.v
2581
   wire [64-1:0]tlu_exu_rsr_data_m;// From tlu of tlu.v
2582
   wire [40:0]          tlu_idtlb_dmp_key_g;    // From tlu of tlu.v
2583
   wire [1:0]           tlu_idtlb_dmp_thrid_g;  // From tlu of tlu.v
2584
   wire [3:0]           tlu_ifu_hwint_i3;       // From tlu of tlu.v
2585
   wire                 tlu_ifu_nukeint_i2;     // From tlu of tlu.v
2586
   wire [3:0]           tlu_ifu_pstate_ie;      // From tlu of tlu.v
2587
   wire [3:0]           tlu_ifu_pstate_pef;     // From tlu of tlu.v
2588
   wire                 tlu_ifu_resumint_i2;    // From tlu of tlu.v
2589
   wire                 tlu_ifu_rstint_i2;      // From tlu of tlu.v
2590
   wire [3:0]           tlu_ifu_rstthr_i2;      // From tlu of tlu.v
2591
   wire [1:0]           tlu_ifu_trap_tid_w1;    // From tlu of tlu.v
2592
   wire                 tlu_ifu_trapnpc_vld_w1; // From tlu of tlu.v
2593
   wire [48:0]          tlu_ifu_trapnpc_w2;     // From tlu of tlu.v
2594
   wire                 tlu_ifu_trappc_vld_w1;  // From tlu of tlu.v
2595
   wire [48:0]          tlu_ifu_trappc_w2;      // From tlu of tlu.v
2596
   wire                 tlu_itlb_data_rd_g;     // From tlu of tlu.v
2597
   wire                 tlu_itlb_dmp_actxt_g;   // From tlu of tlu.v
2598
   wire                 tlu_itlb_dmp_all_g;     // From tlu of tlu.v
2599
   wire                 tlu_itlb_dmp_nctxt_g;   // From tlu of tlu.v
2600
   wire                 tlu_itlb_dmp_vld_g;     // From tlu of tlu.v
2601
   wire                 tlu_itlb_invalidate_all_g;// From tlu of tlu.v
2602
   wire [5:0]           tlu_itlb_rw_index_g;    // From tlu of tlu.v
2603
   wire                 tlu_itlb_rw_index_vld_g;// From tlu of tlu.v
2604
   wire                 tlu_itlb_tag_rd_g;      // From tlu of tlu.v
2605
   wire [42:0]          tlu_itlb_tte_data_w2;   // From tlu of tlu.v
2606
   wire [58:0]          tlu_itlb_tte_tag_w2;    // From tlu of tlu.v
2607
   wire                 tlu_itlb_wr_vld_g;      // From tlu of tlu.v
2608
   wire [7:0]           tlu_lsu_asi_m;          // From tlu of tlu.v
2609
   wire                 tlu_lsu_asi_update_m;   // From tlu of tlu.v
2610
   wire [63:0]          tlu_lsu_int_ldxa_data_w2;// From tlu of tlu.v
2611
   wire                 tlu_lsu_int_ldxa_vld_w2;// From tlu of tlu.v
2612
   wire                 tlu_lsu_ldxa_async_data_vld;// From tlu of tlu.v
2613
   wire [1:0]           tlu_lsu_ldxa_tid_w2;    // From tlu of tlu.v
2614
   wire [25:0]          tlu_lsu_pcxpkt;         // From tlu of tlu.v
2615
   wire                 tlu_lsu_priv_trap_m;    // From tlu of tlu.v
2616
   wire [3:0]           tlu_lsu_pstate_am;      // From tlu of tlu.v
2617
   wire [3:0]           tlu_lsu_pstate_cle;     // From tlu of tlu.v
2618
   wire [3:0]           tlu_lsu_pstate_priv;    // From tlu of tlu.v
2619
   wire [3:0]           tlu_lsu_redmode;        // From tlu of tlu.v
2620
   wire [3:0]           tlu_lsu_redmode_rst_d1; // From tlu of tlu.v
2621
   wire                 tlu_lsu_stxa_ack;       // From tlu of tlu.v
2622
   wire [1:0]           tlu_lsu_stxa_ack_tid;   // From tlu of tlu.v
2623
   wire [1:0]           tlu_lsu_tid_m;          // From tlu of tlu.v
2624
   wire [4-1:0]tlu_lsu_tl_zero;     // From tlu of tlu.v
2625
   // End of automatics
2626
 
2627
   wire                 cpx_spc_data_cx3_b0;    // From ff_cpx of cpx_spc_rpt.v
2628
   wire                 cpx_spc_data_cx3_b100;  // From ff_cpx of cpx_spc_rpt.v
2629
   wire                 cpx_spc_data_cx3_b103;  // From ff_cpx of cpx_spc_rpt.v
2630
   wire                 cpx_spc_data_cx3_b106;  // From ff_cpx of cpx_spc_rpt.v
2631
   wire                 cpx_spc_data_cx3_b109;  // From ff_cpx of cpx_spc_rpt.v
2632
   wire                 cpx_spc_data_cx3_b12;   // From ff_cpx of cpx_spc_rpt.v
2633
   wire [120:118]cpx_spc_data_cx3_b120to118;// From ff_cpx of cpx_spc_rpt.v
2634
   wire [145-1:140]cpx_spc_data_cx3_b144to140;// From ff_cpx of cpx_spc_rpt.v
2635
   wire                 cpx_spc_data_cx3_b16;   // From ff_cpx of cpx_spc_rpt.v
2636
   wire                 cpx_spc_data_cx3_b20;   // From ff_cpx of cpx_spc_rpt.v
2637
   wire                 cpx_spc_data_cx3_b24;   // From ff_cpx of cpx_spc_rpt.v
2638
   wire                 cpx_spc_data_cx3_b28;   // From ff_cpx of cpx_spc_rpt.v
2639
   wire                 cpx_spc_data_cx3_b32;   // From ff_cpx of cpx_spc_rpt.v
2640
   wire                 cpx_spc_data_cx3_b35;   // From ff_cpx of cpx_spc_rpt.v
2641
   wire                 cpx_spc_data_cx3_b38;   // From ff_cpx of cpx_spc_rpt.v
2642
   wire                 cpx_spc_data_cx3_b4;    // From ff_cpx of cpx_spc_rpt.v
2643
   wire                 cpx_spc_data_cx3_b41;   // From ff_cpx of cpx_spc_rpt.v
2644
   wire                 cpx_spc_data_cx3_b44;   // From ff_cpx of cpx_spc_rpt.v
2645
   wire                 cpx_spc_data_cx3_b47;   // From ff_cpx of cpx_spc_rpt.v
2646
   wire                 cpx_spc_data_cx3_b50;   // From ff_cpx of cpx_spc_rpt.v
2647
   wire                 cpx_spc_data_cx3_b53;   // From ff_cpx of cpx_spc_rpt.v
2648
   wire                 cpx_spc_data_cx3_b56;   // From ff_cpx of cpx_spc_rpt.v
2649
   wire                 cpx_spc_data_cx3_b60;   // From ff_cpx of cpx_spc_rpt.v
2650
   wire                 cpx_spc_data_cx3_b64;   // From ff_cpx of cpx_spc_rpt.v
2651
   wire                 cpx_spc_data_cx3_b68;   // From ff_cpx of cpx_spc_rpt.v
2652
   wire                 cpx_spc_data_cx3_b72;   // From ff_cpx of cpx_spc_rpt.v
2653
   wire                 cpx_spc_data_cx3_b76;   // From ff_cpx of cpx_spc_rpt.v
2654
   wire                 cpx_spc_data_cx3_b8;    // From ff_cpx of cpx_spc_rpt.v
2655
   wire                 cpx_spc_data_cx3_b80;   // From ff_cpx of cpx_spc_rpt.v
2656
   wire                 cpx_spc_data_cx3_b84;   // From ff_cpx of cpx_spc_rpt.v
2657
   wire                 cpx_spc_data_cx3_b88;   // From ff_cpx of cpx_spc_rpt.v
2658
   wire                 cpx_spc_data_cx3_b91;   // From ff_cpx of cpx_spc_rpt.v
2659
   wire                 cpx_spc_data_cx3_b94;   // From ff_cpx of cpx_spc_rpt.v
2660
   wire                 cpx_spc_data_cx3_b97;   // From ff_cpx of cpx_spc_rpt.v
2661
   wire                 lsu_ffu_st_dtlb_perr_g;
2662
   wire                 spu_tlu_rsrv_illgl_m;
2663
 
2664
 
2665
 
2666
   cpx_spc_buf buf_cpx (/*AUTOINST*/
2667
                        // Outputs
2668
                        .cpx_spc_data_cx2_buf(cpx_spc_data_cx2_buf[145-1:0]),
2669
                        .cpx_spc_data_rdy_cx2_buf(cpx_spc_data_rdy_cx2_buf),
2670
                        // Inputs
2671
                        .cpx_spc_data_cx2(cpx_spc_data_cx2[145-1:0]),
2672
                        .cpx_spc_data_rdy_cx2(cpx_spc_data_rdy_cx2));
2673
 
2674
/*   cpx_spc_rpt AUTO_TEMPLATE  (
2675
                       .cpx_spc_data_cx2(cpx_spc_data_cx2_buf[`CPX_WIDTH-1:0]),
2676
                       .cpx_spc_data_rdy_cx2(cpx_spc_data_rdy_cx2_buf),
2677
                        .si             (short_scan0_6),
2678
                        .so             (scan0_1));
2679
*/
2680
 
2681
   cpx_spc_rpt ff_cpx  (
2682
                         .cpx_spc_data_cx3_b144to140(cpx_spc_data_cx3_b144to140[145-1:140]),
2683
                         .cpx_spc_data_cx3_b120to118(cpx_spc_data_cx3_b120to118[120:118]),
2684
                         .cpx_spc_data_cx3_b0(cpx_spc_data_cx3_b0),
2685
                         .cpx_spc_data_cx3_b4(cpx_spc_data_cx3_b4),
2686
                         .cpx_spc_data_cx3_b8(cpx_spc_data_cx3_b8),
2687
                         .cpx_spc_data_cx3_b12(cpx_spc_data_cx3_b12),
2688
                         .cpx_spc_data_cx3_b16(cpx_spc_data_cx3_b16),
2689
                         .cpx_spc_data_cx3_b20(cpx_spc_data_cx3_b20),
2690
                         .cpx_spc_data_cx3_b24(cpx_spc_data_cx3_b24),
2691
                         .cpx_spc_data_cx3_b28(cpx_spc_data_cx3_b28),
2692
                         .cpx_spc_data_cx3_b32(cpx_spc_data_cx3_b32),
2693
                         .cpx_spc_data_cx3_b35(cpx_spc_data_cx3_b35),
2694
                         .cpx_spc_data_cx3_b38(cpx_spc_data_cx3_b38),
2695
                         .cpx_spc_data_cx3_b41(cpx_spc_data_cx3_b41),
2696
                         .cpx_spc_data_cx3_b44(cpx_spc_data_cx3_b44),
2697
                         .cpx_spc_data_cx3_b47(cpx_spc_data_cx3_b47),
2698
                         .cpx_spc_data_cx3_b50(cpx_spc_data_cx3_b50),
2699
                         .cpx_spc_data_cx3_b53(cpx_spc_data_cx3_b53),
2700
                         .cpx_spc_data_cx3_b56(cpx_spc_data_cx3_b56),
2701
                         .cpx_spc_data_cx3_b60(cpx_spc_data_cx3_b60),
2702
                         .cpx_spc_data_cx3_b64(cpx_spc_data_cx3_b64),
2703
                         .cpx_spc_data_cx3_b68(cpx_spc_data_cx3_b68),
2704
                         .cpx_spc_data_cx3_b72(cpx_spc_data_cx3_b72),
2705
                         .cpx_spc_data_cx3_b76(cpx_spc_data_cx3_b76),
2706
                         .cpx_spc_data_cx3_b80(cpx_spc_data_cx3_b80),
2707
                         .cpx_spc_data_cx3_b84(cpx_spc_data_cx3_b84),
2708
                         .cpx_spc_data_cx3_b88(cpx_spc_data_cx3_b88),
2709
                         .cpx_spc_data_cx3_b91(cpx_spc_data_cx3_b91),
2710
                         .cpx_spc_data_cx3_b94(cpx_spc_data_cx3_b94),
2711
                         .cpx_spc_data_cx3_b97(cpx_spc_data_cx3_b97),
2712
                         .cpx_spc_data_cx3_b100(cpx_spc_data_cx3_b100),
2713
                         .cpx_spc_data_cx3_b103(cpx_spc_data_cx3_b103),
2714
                         .cpx_spc_data_cx3_b106(cpx_spc_data_cx3_b106),
2715
                         .cpx_spc_data_cx3_b109(cpx_spc_data_cx3_b109),
2716
 
2717
                         /*AUTOINST*/
2718
                        // Outputs
2719
                        .so             (scan0_1),               // Templated
2720
                        .cpx_spc_data_cx3(cpx_spc_data_cx3[145-1:0]),
2721
                        .cpx_spc_data_rdy_cx3(cpx_spc_data_rdy_cx3),
2722
                        // Inputs
2723
                        .rclk           (rclk),
2724
                        .si             (short_scan0_6),         // Templated
2725
                        .se             (se),
2726
                        .cpx_spc_data_cx2(cpx_spc_data_cx2_buf[145-1:0]), // Templated
2727
                        .cpx_spc_data_rdy_cx2(cpx_spc_data_rdy_cx2_buf)); // Templated
2728
 
2729
 
2730
 
2731 100 fafa1971
      sparc_ifu ifu(.wbm_spc_stall(wbm_spc_stall),.wbm_spc_resume(wbm_spc_resume),
2732 92 fafa1971
                 // scan
2733
                 .short_si0              (spc_scanin0),
2734
                 .short_si1              (spc_scanin1),
2735
                 .short_so0              (short_scan0_1),
2736
                 .short_so1              (short_scan1_1),
2737
                 .si0                    (scan0_1),
2738
                 .so0                    (scan0_2),
2739
                 // reset stuff and clk 
2740
                 .grst_l                 (spc_grst_l),
2741
                 .arst_l                 (cmp_arst_l),
2742
                 .gdbginit_l             (spc_dbginit_l),
2743
 
2744
                 // quad ldst disabled
2745
                 .lsu_ifu_quad_asi_e    (1'b0),
2746
 
2747
                 // tlb on condition changes with hypervisor
2748
                 // itlb_en is the bit from the lsu control register
2749
                 // with no additional logic
2750
                 .lsu_ifu_addr_real_l  (lsu_ifu_itlb_en[3:0]),
2751
 
2752
                 // name change
2753
                             .lsu_ifu_dtlb_data_ue      (lsu_ifu_tlb_data_ue),
2754
                             .lsu_ifu_dtlb_tag_ue       (lsu_ifu_tlb_tag_ue),
2755
                 .lsu_ifu_dtlb_data_su  (lsu_ifu_tlb_data_su),
2756
 
2757
                       .tlu_ifu_hintp_vld           (tlu_hintp_vld[3:0]),
2758
                       .tlu_ifu_rerr_vld            (tlu_rerr_vld[3:0]),
2759
 
2760
                             .lsu_ifu_t0_tlz            (tlu_lsu_tl_zero[0]),
2761
                             .lsu_ifu_t1_tlz            (tlu_lsu_tl_zero[1]),
2762
                             .lsu_ifu_t2_tlz        (tlu_lsu_tl_zero[2]),
2763
                             .lsu_ifu_t3_tlz        (tlu_lsu_tl_zero[3]),
2764
 
2765
                 .lsu_ifu_ldst_miss_g   (lsu_ifu_ldst_miss_w),
2766
                 .tlu_ifu_flush_pipe_w  (lsu_ifu_flush_pipe_w),
2767
 
2768
                 .lsu_idtlb_mrgn        (lsu_itlb_mrgn[7:0]),
2769
 
2770
                 .mbist_loop_on_address (mbist_loop_on_addr),
2771
 
2772
                 .tlu_sscan_data        (tlu_sscan_test_data[62:0]),
2773
                 .sparc_sscan_so        (spc_sscan_so),
2774
                 .ifu_tlu_imm_asi_d     (ifu_tlu_imm_asi_d[8:0]),
2775
 
2776
                 // bus width difference
2777
                 .lsu_ifu_cpxpkt_i1     ({lsu_ifu_cpxpkt_vld_i1,
2778
                                          lsu_ifu_cpxpkt_i1[144-1:0]}),
2779
 
2780
                             /*AUTOINST*/
2781
                 // Outputs
2782
                 .ifu_exu_addr_mask_d   (ifu_exu_addr_mask_d),
2783
                 .ifu_tlu_inst_vld_w    (ifu_tlu_inst_vld_w),
2784
                 .ifu_tlu_flush_w       (ifu_tlu_flush_w),
2785
                 .ifu_lsu_alt_space_e   (ifu_lsu_alt_space_e),
2786
                 .ifu_tlu_ttype_vld_m   (ifu_tlu_ttype_vld_m),
2787
                 .ifu_exu_muldivop_d    (ifu_exu_muldivop_d[4:0]),
2788
                 .ifu_lsu_thrid_s       (ifu_lsu_thrid_s[1:0]),
2789
                 .mbist_write_data      (mbist_write_data[7:0]),
2790
                 .ifu_exu_aluop_d       (ifu_exu_aluop_d[2:0]),
2791
                 .ifu_exu_casa_d        (ifu_exu_casa_d),
2792
                 .ifu_exu_dbrinst_d     (ifu_exu_dbrinst_d),
2793
                 .ifu_exu_disable_ce_e  (ifu_exu_disable_ce_e),
2794
                 .ifu_exu_dontmv_regz0_e(ifu_exu_dontmv_regz0_e),
2795
                 .ifu_exu_dontmv_regz1_e(ifu_exu_dontmv_regz1_e),
2796
                 .ifu_exu_ecc_mask      (ifu_exu_ecc_mask[7:0]),
2797
                 .ifu_exu_enshift_d     (ifu_exu_enshift_d),
2798
                 .ifu_exu_flushw_e      (ifu_exu_flushw_e),
2799
                 .ifu_exu_ialign_d      (ifu_exu_ialign_d),
2800
                 .ifu_exu_imm_data_d    (ifu_exu_imm_data_d[31:0]),
2801
                 .ifu_exu_inj_irferr    (ifu_exu_inj_irferr),
2802
                 .ifu_exu_inst_vld_e    (ifu_exu_inst_vld_e),
2803
                 .ifu_exu_inst_vld_w    (ifu_exu_inst_vld_w),
2804
                 .ifu_exu_invert_d      (ifu_exu_invert_d),
2805
                 .ifu_exu_kill_e        (ifu_exu_kill_e),
2806
                 .ifu_exu_muls_d        (ifu_exu_muls_d),
2807
                 .ifu_exu_nceen_e       (ifu_exu_nceen_e),
2808
                 .ifu_exu_pc_d          (ifu_exu_pc_d[47:0]),
2809
                 .ifu_exu_pcver_e       (ifu_exu_pcver_e[63:0]),
2810
                 .ifu_exu_range_check_jlret_d(ifu_exu_range_check_jlret_d),
2811
                 .ifu_exu_range_check_other_d(ifu_exu_range_check_other_d),
2812
                 .ifu_exu_rd_d          (ifu_exu_rd_d[4:0]),
2813
                 .ifu_exu_rd_exusr_e    (ifu_exu_rd_exusr_e),
2814
                 .ifu_exu_rd_ffusr_e    (ifu_exu_rd_ffusr_e),
2815
                 .ifu_exu_rd_ifusr_e    (ifu_exu_rd_ifusr_e),
2816
                 .ifu_exu_ren1_s        (ifu_exu_ren1_s),
2817
                 .ifu_exu_ren2_s        (ifu_exu_ren2_s),
2818
                 .ifu_exu_ren3_s        (ifu_exu_ren3_s),
2819
                 .ifu_exu_restore_d     (ifu_exu_restore_d),
2820
                 .ifu_exu_restored_e    (ifu_exu_restored_e),
2821
                 .ifu_exu_return_d      (ifu_exu_return_d),
2822
                 .ifu_exu_rs1_s         (ifu_exu_rs1_s[4:0]),
2823
                 .ifu_exu_rs1_vld_d     (ifu_exu_rs1_vld_d),
2824
                 .ifu_exu_rs2_s         (ifu_exu_rs2_s[4:0]),
2825
                 .ifu_exu_rs2_vld_d     (ifu_exu_rs2_vld_d),
2826
                 .ifu_exu_rs3_s         (ifu_exu_rs3_s[4:0]),
2827
                 .ifu_exu_rs3e_vld_d    (ifu_exu_rs3e_vld_d),
2828
                 .ifu_exu_rs3o_vld_d    (ifu_exu_rs3o_vld_d),
2829
                 .ifu_exu_save_d        (ifu_exu_save_d),
2830
                 .ifu_exu_saved_e       (ifu_exu_saved_e),
2831
                 .ifu_exu_setcc_d       (ifu_exu_setcc_d),
2832
                 .ifu_exu_sethi_inst_d  (ifu_exu_sethi_inst_d),
2833
                 .ifu_exu_shiftop_d     (ifu_exu_shiftop_d[2:0]),
2834
                 .ifu_exu_tagop_d       (ifu_exu_tagop_d),
2835
                 .ifu_exu_tcc_e         (ifu_exu_tcc_e),
2836
                 .ifu_exu_tid_s2        (ifu_exu_tid_s2[1:0]),
2837
                 .ifu_exu_ttype_vld_m   (ifu_exu_ttype_vld_m),
2838
                 .ifu_exu_tv_d          (ifu_exu_tv_d),
2839
                 .ifu_exu_use_rsr_e_l   (ifu_exu_use_rsr_e_l),
2840
                 .ifu_exu_usecin_d      (ifu_exu_usecin_d),
2841
                 .ifu_exu_useimm_d      (ifu_exu_useimm_d),
2842
                 .ifu_exu_wen_d         (ifu_exu_wen_d),
2843
                 .ifu_exu_wsr_inst_d    (ifu_exu_wsr_inst_d),
2844
                 .ifu_ffu_fcc_num_d     (ifu_ffu_fcc_num_d[1:0]),
2845
                 .ifu_ffu_fld_d         (ifu_ffu_fld_d),
2846
                 .ifu_ffu_fpop1_d       (ifu_ffu_fpop1_d),
2847
                 .ifu_ffu_fpop2_d       (ifu_ffu_fpop2_d),
2848
                 .ifu_ffu_fpopcode_d    (ifu_ffu_fpopcode_d[8:0]),
2849
                 .ifu_ffu_frd_d         (ifu_ffu_frd_d[4:0]),
2850
                 .ifu_ffu_frs1_d        (ifu_ffu_frs1_d[4:0]),
2851
                 .ifu_ffu_frs2_d        (ifu_ffu_frs2_d[4:0]),
2852
                 .ifu_ffu_fst_d         (ifu_ffu_fst_d),
2853
                 .ifu_ffu_inj_frferr    (ifu_ffu_inj_frferr),
2854
                 .ifu_ffu_ldfsr_d       (ifu_ffu_ldfsr_d),
2855
                 .ifu_ffu_ldst_size_d   (ifu_ffu_ldst_size_d),
2856
                 .ifu_ffu_ldxfsr_d      (ifu_ffu_ldxfsr_d),
2857
                 .ifu_ffu_mvcnd_m       (ifu_ffu_mvcnd_m),
2858
                 .ifu_ffu_quad_op_e     (ifu_ffu_quad_op_e),
2859
                 .ifu_ffu_stfsr_d       (ifu_ffu_stfsr_d),
2860
                 .ifu_ffu_visop_d       (ifu_ffu_visop_d),
2861
                 .ifu_lsu_alt_space_d   (ifu_lsu_alt_space_d),
2862
                 .ifu_lsu_asi_ack       (ifu_lsu_asi_ack),
2863
                 .ifu_lsu_asi_rd_unc    (ifu_lsu_asi_rd_unc),
2864
                 .ifu_lsu_casa_e        (ifu_lsu_casa_e),
2865
                 .ifu_lsu_destid_s      (ifu_lsu_destid_s[2:0]),
2866
                 .ifu_lsu_error_inj     (ifu_lsu_error_inj[3:0]),
2867
                 .ifu_lsu_fwd_data_vld  (ifu_lsu_fwd_data_vld),
2868
                 .ifu_lsu_fwd_wr_ack    (ifu_lsu_fwd_wr_ack),
2869
                 .ifu_lsu_ibuf_busy     (ifu_lsu_ibuf_busy),
2870
                 .ifu_lsu_imm_asi_d     (ifu_lsu_imm_asi_d[7:0]),
2871
                 .ifu_lsu_imm_asi_vld_d (ifu_lsu_imm_asi_vld_d),
2872
                 .ifu_lsu_inv_clear     (ifu_lsu_inv_clear),
2873
                 .ifu_lsu_ld_inst_e     (ifu_lsu_ld_inst_e),
2874
                 .ifu_lsu_ldst_dbl_e    (ifu_lsu_ldst_dbl_e),
2875
                 .ifu_lsu_ldst_fp_e     (ifu_lsu_ldst_fp_e),
2876
                 .ifu_lsu_ldst_size_e   (ifu_lsu_ldst_size_e[1:0]),
2877
                 .ifu_lsu_ldstub_e      (ifu_lsu_ldstub_e),
2878
                 .ifu_lsu_ldxa_data_vld_w2(ifu_lsu_ldxa_data_vld_w2),
2879
                 .ifu_lsu_ldxa_data_w2  (ifu_lsu_ldxa_data_w2[63:0]),
2880
                 .ifu_lsu_ldxa_illgl_va_w2(ifu_lsu_ldxa_illgl_va_w2),
2881
                 .ifu_lsu_ldxa_tid_w2   (ifu_lsu_ldxa_tid_w2[1:0]),
2882
                 .ifu_lsu_memref_d      (ifu_lsu_memref_d),
2883
                 .ifu_lsu_nceen         (ifu_lsu_nceen[3:0]),
2884
                 .ifu_lsu_pcxpkt_e      (ifu_lsu_pcxpkt_e[51:0]),
2885
                 .ifu_lsu_pcxreq_d      (ifu_lsu_pcxreq_d),
2886
                 .ifu_lsu_pref_inst_e   (ifu_lsu_pref_inst_e),
2887
                 .ifu_lsu_rd_e          (ifu_lsu_rd_e[4:0]),
2888
                 .ifu_lsu_sign_ext_e    (ifu_lsu_sign_ext_e),
2889
                 .ifu_lsu_st_inst_e     (ifu_lsu_st_inst_e),
2890
                 .ifu_lsu_swap_e        (ifu_lsu_swap_e),
2891
                 .ifu_lsu_wsr_inst_d    (ifu_lsu_wsr_inst_d),
2892
                 .ifu_mmu_trap_m        (ifu_mmu_trap_m),
2893
                 .ifu_spu_inst_vld_w    (),
2894
                 .ifu_spu_nceen         (),
2895
                 .ifu_spu_trap_ack      (),
2896
                 .ifu_tlu_alt_space_d   (ifu_tlu_alt_space_d),
2897
                 .ifu_tlu_done_inst_d   (ifu_tlu_done_inst_d),
2898
                 .ifu_tlu_flsh_inst_e   (ifu_tlu_flsh_inst_e),
2899
                 .ifu_tlu_flush_m       (ifu_tlu_flush_m),
2900
                 .ifu_tlu_hwint_m       (ifu_tlu_hwint_m),
2901
                 .ifu_tlu_icmiss_e      (ifu_tlu_icmiss_e),
2902
                 .ifu_tlu_immu_miss_m   (ifu_tlu_immu_miss_m),
2903
                 .ifu_tlu_inst_vld_m    (ifu_tlu_inst_vld_m),
2904
                 .ifu_tlu_itlb_done     (ifu_tlu_itlb_done),
2905
                 .ifu_tlu_l2imiss       (ifu_tlu_l2imiss[3:0]),
2906
                 .ifu_tlu_mb_inst_e     (ifu_tlu_mb_inst_e),
2907
                 .ifu_tlu_npc_m         (ifu_tlu_npc_m[48:0]),
2908
                 .ifu_tlu_pc_m          (ifu_tlu_pc_m[48:0]),
2909
                 .ifu_tlu_pc_oor_e      (ifu_tlu_pc_oor_e),
2910
                 .ifu_tlu_priv_violtn_m (ifu_tlu_priv_violtn_m),
2911
                 .ifu_tlu_retry_inst_d  (ifu_tlu_retry_inst_d),
2912
                 .ifu_tlu_rsr_inst_d    (ifu_tlu_rsr_inst_d),
2913
                 .ifu_tlu_rstint_m      (ifu_tlu_rstint_m),
2914
                 .ifu_tlu_sftint_m      (ifu_tlu_sftint_m),
2915
                 .ifu_tlu_sir_inst_m    (ifu_tlu_sir_inst_m),
2916
                 .ifu_tlu_sraddr_d      (ifu_tlu_sraddr_d[6:0]),
2917
                 .ifu_tlu_sraddr_d_v2   (ifu_tlu_sraddr_d_v2[6:0]),
2918
                 .ifu_tlu_thrid_d       (ifu_tlu_thrid_d[1:0]),
2919
                 .ifu_tlu_thrid_e       (ifu_tlu_thrid_e[1:0]),
2920
                 .ifu_tlu_trap_m        (ifu_tlu_trap_m),
2921
                 .ifu_tlu_ttype_m       (ifu_tlu_ttype_m[8:0]),
2922
                 .mbist_dcache_fail     (mbist_dcache_fail),
2923
                 .mbist_dcache_index    (mbist_dcache_index[6:0]),
2924
                 .mbist_dcache_read     (mbist_dcache_read),
2925
                 .mbist_dcache_way      (mbist_dcache_way[1:0]),
2926
                 .mbist_dcache_word     (mbist_dcache_word),
2927
                 .mbist_dcache_write    (mbist_dcache_write),
2928
                 .mbist_done            (mbist_done),
2929
                 .mbist_icache_fail     (mbist_icache_fail),
2930
                 .spc_efc_ifuse_data    (spc_efc_ifuse_data),
2931
                 // Inputs
2932
                 .mem_write_disable     (mem_write_disable),
2933
                 .mux_drive_disable     (mux_drive_disable),
2934
                 .exu_tlu_wsr_data_m    (exu_tlu_wsr_data_m[2:0]),
2935
                 .lsu_ictag_mrgn        (lsu_ictag_mrgn[3:0]),
2936
                 .tlu_itlb_tte_tag_w2   (tlu_itlb_tte_tag_w2[58:0]),
2937
                 .tlu_itlb_tte_data_w2  (tlu_itlb_tte_data_w2[42:0]),
2938
                 .tlu_itlb_rw_index_vld_g(tlu_itlb_rw_index_vld_g),
2939
                 .tlu_itlb_rw_index_g   (tlu_itlb_rw_index_g[5:0]),
2940
                 .tlu_idtlb_dmp_key_g   (tlu_idtlb_dmp_key_g[40:0]),
2941
                 .tlu_itlb_dmp_all_g    (tlu_itlb_dmp_all_g),
2942
                 .lsu_sscan_data        (lsu_sscan_data[15:0]),
2943
                 .const_cpuid           (const_cpuid[3:0]),
2944
                 .const_maskid          (const_maskid[7:0]),
2945
                 .ctu_sscan_se          (ctu_sscan_se),
2946
                 .ctu_sscan_snap        (ctu_sscan_snap),
2947
                 .ctu_sscan_tid         (ctu_sscan_tid[3:0]),
2948
                 .ctu_tck               (ctu_tck),
2949
                 .efc_spc_fuse_clk1     (efc_spc_fuse_clk1),
2950
                 .efc_spc_fuse_clk2     (efc_spc_fuse_clk2),
2951
                 .efc_spc_ifuse_ashift  (efc_spc_ifuse_ashift),
2952
                 .efc_spc_ifuse_data    (efc_spc_ifuse_data),
2953
                 .efc_spc_ifuse_dshift  (efc_spc_ifuse_dshift),
2954
                 .exu_ifu_brpc_e        (exu_ifu_brpc_e[47:0]),
2955
                 .exu_ifu_cc_d          (exu_ifu_cc_d[7:0]),
2956
                 .exu_ifu_ecc_ce_m      (exu_ifu_ecc_ce_m),
2957
                 .exu_ifu_ecc_ue_m      (exu_ifu_ecc_ue_m),
2958
                 .exu_ifu_err_reg_m     (exu_ifu_err_reg_m[7:0]),
2959
                 .exu_ifu_err_synd_m    (exu_ifu_err_synd_m[7:0]),
2960
                 .exu_ifu_inj_ack       (exu_ifu_inj_ack),
2961
                 .exu_ifu_longop_done_g (exu_ifu_longop_done_g[3:0]),
2962
                 .exu_ifu_oddwin_s      (exu_ifu_oddwin_s[3:0]),
2963
                 .exu_ifu_regn_e        (exu_ifu_regn_e),
2964
                 .exu_ifu_regz_e        (exu_ifu_regz_e),
2965
                 .exu_ifu_spill_e       (exu_ifu_spill_e),
2966
                 .exu_ifu_va_oor_m      (exu_ifu_va_oor_m),
2967
                 .ffu_ifu_cc_vld_w2     (ffu_ifu_cc_vld_w2[3:0]),
2968
                 .ffu_ifu_cc_w2         (ffu_ifu_cc_w2[7:0]),
2969
                 .ffu_ifu_ecc_ce_w2     (ffu_ifu_ecc_ce_w2),
2970
                 .ffu_ifu_ecc_ue_w2     (ffu_ifu_ecc_ue_w2),
2971
                 .ffu_ifu_err_reg_w2    (ffu_ifu_err_reg_w2[5:0]),
2972
                 .ffu_ifu_err_synd_w2   (ffu_ifu_err_synd_w2[13:0]),
2973
                 .ffu_ifu_fpop_done_w2  (ffu_ifu_fpop_done_w2),
2974
                 .ffu_ifu_fst_ce_w      (ffu_ifu_fst_ce_w),
2975
                 .ffu_ifu_inj_ack       (ffu_ifu_inj_ack),
2976
                 .ffu_ifu_stallreq      (ffu_ifu_stallreq),
2977
                 .ffu_ifu_tid_w2        (ffu_ifu_tid_w2[1:0]),
2978
                 .lsu_ifu_asi_addr      (lsu_ifu_asi_addr[17:0]),
2979
                 .lsu_ifu_asi_load      (lsu_ifu_asi_load),
2980
                 .lsu_ifu_asi_state     (lsu_ifu_asi_state[7:0]),
2981
                 .lsu_ifu_asi_thrid     (lsu_ifu_asi_thrid[1:0]),
2982
                 .lsu_ifu_asi_vld       (lsu_ifu_asi_vld),
2983
                 .lsu_ifu_dc_parity_error_w2(lsu_ifu_dc_parity_error_w2),
2984
                 .lsu_ifu_dcache_data_perror(lsu_ifu_dcache_data_perror),
2985
                 .lsu_ifu_dcache_tag_perror(lsu_ifu_dcache_tag_perror),
2986
                 .lsu_ifu_direct_map_l1 (lsu_ifu_direct_map_l1),
2987
                 .lsu_ifu_err_addr      (lsu_ifu_err_addr[47:4]),
2988
                 .lsu_ifu_error_tid     (lsu_ifu_error_tid[1:0]),
2989
                 .lsu_ifu_icache_en     (lsu_ifu_icache_en[3:0]),
2990
                 .lsu_ifu_inj_ack       (lsu_ifu_inj_ack[3:0]),
2991
                 .lsu_ifu_io_error      (lsu_ifu_io_error),
2992
                 .lsu_ifu_l2_corr_error (lsu_ifu_l2_corr_error),
2993
                 .lsu_ifu_l2_unc_error  (lsu_ifu_l2_unc_error),
2994
                 .lsu_ifu_ld_icache_index(lsu_ifu_ld_icache_index[11:5]),
2995
                 .lsu_ifu_ld_pcxpkt_tid (lsu_ifu_ld_pcxpkt_tid[1:0]),
2996
                 .lsu_ifu_ld_pcxpkt_vld (lsu_ifu_ld_pcxpkt_vld),
2997
                 .lsu_ifu_ldst_cmplt    (lsu_ifu_ldst_cmplt[3:0]),
2998
                 .lsu_ifu_ldsta_internal_e(lsu_ifu_ldsta_internal_e),
2999
                 .lsu_ifu_pcxpkt_ack_d  (lsu_ifu_pcxpkt_ack_d),
3000
                 .lsu_ifu_stallreq      (lsu_ifu_stallreq),
3001
                 .lsu_ifu_stbcnt0       (lsu_ifu_stbcnt0[3:0]),
3002
                 .lsu_ifu_stbcnt1       (lsu_ifu_stbcnt1[3:0]),
3003
                 .lsu_ifu_stbcnt2       (lsu_ifu_stbcnt2[3:0]),
3004
                 .lsu_ifu_stbcnt3       (lsu_ifu_stbcnt3[3:0]),
3005
                 .lsu_ifu_stxa_data     (lsu_ifu_stxa_data[47:0]),
3006
                 .lsu_pid_state0        (lsu_pid_state0[2:0]),
3007
                 .lsu_pid_state1        (lsu_pid_state1[2:0]),
3008
                 .lsu_pid_state2        (lsu_pid_state2[2:0]),
3009
                 .lsu_pid_state3        (lsu_pid_state3[2:0]),
3010
                 .lsu_t0_pctxt_state    (lsu_t0_pctxt_state[12:0]),
3011
                 .lsu_t1_pctxt_state    (lsu_t1_pctxt_state[12:0]),
3012
                 .lsu_t2_pctxt_state    (lsu_t2_pctxt_state[12:0]),
3013
                 .lsu_t3_pctxt_state    (lsu_t3_pctxt_state[12:0]),
3014
                 .mbist_bisi_mode       (mbist_bisi_mode),
3015
                 .mbist_dcache_data_in  (mbist_dcache_data_in[71:0]),
3016
                 .mbist_loop_mode       (mbist_loop_mode),
3017
                 .mbist_start           (mbist_start),
3018
                 .mbist_stop_on_fail    (mbist_stop_on_fail),
3019
                 .mbist_stop_on_next_fail(mbist_stop_on_next_fail),
3020
                 .mbist_userdata_mode   (mbist_userdata_mode),
3021
                 .rclk                  (rclk),
3022
                 .se                    (se),
3023
                 .sehold                (sehold),
3024
                 .spu_ifu_corr_err_w2   (1'b0),
3025
                 .spu_ifu_err_addr_w2   (36'h000000000),
3026
                 .spu_ifu_int_w2        (1'b0),
3027
                 .spu_ifu_mamem_err_w1  (1'b0),
3028
                 .spu_ifu_ttype_tid_w2  (2'b00),
3029
                 .spu_ifu_ttype_vld_w2  (1'b0),
3030
                 .spu_ifu_ttype_w2      (1'b0),
3031
                 .spu_ifu_unc_err_w1    (1'b0),
3032
                 .testmode_l            (testmode_l),
3033
                 .tlu_hpstate_enb       (tlu_hpstate_enb[3:0]),
3034
                 .tlu_hpstate_ibe       (tlu_hpstate_ibe[3:0]),
3035
                 .tlu_hpstate_priv      (tlu_hpstate_priv[3:0]),
3036
                 .tlu_idtlb_dmp_thrid_g (tlu_idtlb_dmp_thrid_g[1:0]),
3037
                 .tlu_ifu_hwint_i3      (tlu_ifu_hwint_i3[3:0]),
3038
                 .tlu_ifu_nukeint_i2    (tlu_ifu_nukeint_i2),
3039
                 .tlu_ifu_pstate_ie     (tlu_ifu_pstate_ie[3:0]),
3040
                 .tlu_ifu_pstate_pef    (tlu_ifu_pstate_pef[3:0]),
3041
                 .tlu_ifu_resumint_i2   (tlu_ifu_resumint_i2),
3042
                 .tlu_ifu_rstint_i2     (tlu_ifu_rstint_i2),
3043
                 .tlu_ifu_rstthr_i2     (tlu_ifu_rstthr_i2[3:0]),
3044
                 .tlu_ifu_sftint_vld    (tlu_ifu_sftint_vld[3:0]),
3045
                 .tlu_ifu_trap_tid_w1   (tlu_ifu_trap_tid_w1[1:0]),
3046
                 .tlu_ifu_trapnpc_vld_w1(tlu_ifu_trapnpc_vld_w1),
3047
                 .tlu_ifu_trapnpc_w2    (tlu_ifu_trapnpc_w2[48:0]),
3048
                 .tlu_ifu_trappc_vld_w1 (tlu_ifu_trappc_vld_w1),
3049
                 .tlu_ifu_trappc_w2     (tlu_ifu_trappc_w2[48:0]),
3050
                 .tlu_itlb_data_rd_g    (tlu_itlb_data_rd_g),
3051
                 .tlu_itlb_dmp_actxt_g  (tlu_itlb_dmp_actxt_g),
3052
                 .tlu_itlb_dmp_nctxt_g  (tlu_itlb_dmp_nctxt_g),
3053
                 .tlu_itlb_dmp_vld_g    (tlu_itlb_dmp_vld_g),
3054
                 .tlu_itlb_invalidate_all_g(tlu_itlb_invalidate_all_g),
3055
                 .tlu_itlb_tag_rd_g     (tlu_itlb_tag_rd_g),
3056
                 .tlu_itlb_wr_vld_g     (tlu_itlb_wr_vld_g),
3057
                 .tlu_lsu_pstate_am     (tlu_lsu_pstate_am[3:0]),
3058
                 .tlu_lsu_pstate_priv   (tlu_lsu_pstate_priv[3:0]),
3059
                 .tlu_lsu_redmode       (tlu_lsu_redmode[3:0]));
3060
 
3061
 
3062
 
3063
 
3064
 
3065
 
3066
 
3067
 
3068
 
3069
 
3070
 
3071
 
3072
 
3073
 
3074
 
3075
 
3076
 
3077
 
3078
 
3079
 
3080
 
3081
 
3082
 
3083
 
3084
 
3085
 
3086
 
3087
 
3088
 
3089
 
3090
 
3091
 
3092
 
3093
 
3094
 
3095
 
3096
 
3097
 
3098
 
3099
 
3100
 
3101
 
3102
 
3103
 
3104
 
3105
 
3106
 
3107
 
3108
 
3109
 
3110
 
3111
 
3112
 
3113
 
3114
 
3115
 
3116
 
3117
 
3118
 
3119
 
3120
 
3121
 
3122
 
3123
 
3124
 
3125
 
3126
 
3127
 
3128
 
3129
 
3130
 
3131
 
3132
 
3133
 
3134
 
3135
 
3136
 
3137
 
3138
 
3139
 
3140
 
3141
 
3142
 
3143
 
3144
 
3145
 
3146
 
3147
 
3148
 
3149
 
3150
 
3151
 
3152
 
3153
 
3154
 
3155
 
3156
 
3157
 
3158
 
3159
 
3160
 
3161
 
3162
 
3163
 
3164
 
3165
 
3166
 
3167
 
3168
 
3169
 
3170
 
3171
 
3172
 
3173
 
3174
 
3175
 
3176
 
3177
 
3178
 
3179
 
3180
 
3181
 
3182
 
3183
 
3184
 
3185
 
3186
 
3187
 
3188
 
3189
 
3190
 
3191
 
3192
 
3193
 
3194
 
3195
 
3196
 
3197
 
3198
 
3199
 
3200
 
3201
 
3202
 
3203
 
3204
 
3205
 
3206
 
3207
 
3208
 
3209
 
3210
 
3211
 
3212
 
3213
 
3214
 
3215
 
3216
 
3217
 
3218
 
3219
 
3220
 
3221
 
3222
 
3223
 
3224
 
3225
 
3226
 
3227
 
3228
 
3229
 
3230
 
3231
 
3232
 
3233
 
3234
 
3235
 
3236
 
3237
 
3238
 
3239
 
3240
 
3241
 
3242
 
3243
 
3244
 
3245
 
3246
 
3247
 
3248
 
3249
 
3250
 
3251
 
3252
 
3253
 
3254
 
3255
 
3256
 
3257
 
3258
 
3259
 
3260
 
3261
 
3262
 
3263
 
3264
 
3265
 
3266
 
3267
 
3268
 
3269
 
3270
 
3271
 
3272
 
3273
 
3274
 
3275
 
3276
 
3277
 
3278
 
3279
 
3280
 
3281
 
3282
 
3283
 
3284
 
3285
 
3286
 
3287
 
3288
 
3289
 
3290
 
3291
 
3292
 
3293
 
3294
 
3295
 
3296
 
3297
 
3298
 
3299
 
3300
 
3301
 
3302
 
3303
 
3304
 
3305
 
3306
 
3307
 
3308
 
3309
 
3310
 
3311
 
3312
 
3313
 
3314
 
3315
 
3316
 
3317
 
3318
 
3319
 
3320
 
3321
 
3322
 
3323
 
3324
 
3325
 
3326
 
3327
 
3328
 
3329
 
3330
 
3331
 
3332
 
3333
 
3334
 
3335
 
3336
 
3337
 
3338
 
3339
 
3340
 
3341
 
3342
 
3343
 
3344
 
3345
 
3346
 
3347
 
3348
 
3349
 
3350
 
3351
 
3352
 
3353
 
3354
 
3355
 
3356
 
3357
 
3358
 
3359
 
3360
 
3361
 
3362
 
3363
 
3364
 
3365
 
3366
 
3367
 
3368
 
3369
 
3370
 
3371
 
3372
 
3373
 
3374
 
3375
 
3376
 
3377
 
3378
 
3379
 
3380
 
3381
 
3382
 
3383
 
3384
 
3385
 
3386
 
3387
 
3388
 
3389
 
3390
 
3391
 
3392
 
3393
 //  `ifdef FPGA_SYN_NO_SPU
3394
 
3395
 
3396
 
3397
 
3398
      lsu lsu(
3399
           // temp - name change
3400
           .ifu_tlu_wsr_inst_d          (ifu_lsu_wsr_inst_d),
3401
           // eco 6529 .
3402
           .lsu_ffu_st_dtlb_perr_g              (lsu_ffu_st_dtlb_perr_g),
3403
           // Bug 4799.
3404
           .tlu_lsu_priv_trap_m         (tlu_lsu_priv_trap_m),
3405
 
3406
           .short_si0              (short_scan0_1),
3407
           .short_si1              (short_scan1_1),
3408
           .short_so0              (short_scan0_2),
3409
           .short_so1              (short_scan1_2),
3410
           .si0                          (scan0_3),
3411
           .si1                          (short_scan1_4),
3412
           .so0                          (scan0_4),
3413
           .so1                          (scan1_1),
3414
           // reset stuff
3415
           .grst_l                       (spc_grst_l),
3416
           .arst_l                       (cmp_arst_l),
3417
           .clk                          (rclk),
3418
                 .lsu_exu_dfill_data_w2 (lsu_exu_dfill_data_g[63:0]),
3419
                 .lsu_exu_dfill_vld_w2  (lsu_exu_dfill_vld_g),
3420
                 .lsu_exu_ldst_miss_w2  (lsu_exu_ldst_miss_g2),
3421
           //.cpx_spc_data_cx             (cpx_spc_data_cx3[`CPX_WIDTH-1:0]),
3422
           .cpx_spc_data_cx             ({cpx_spc_data_cx3_b144to140[145-1:140],
3423
                                          cpx_spc_data_cx3[139:121],
3424
                                          cpx_spc_data_cx3_b120to118[120:118],
3425
                                          cpx_spc_data_cx3[117:110],
3426
                                          cpx_spc_data_cx3_b109,
3427
                                          cpx_spc_data_cx3[108:107],
3428
                                          cpx_spc_data_cx3_b106,
3429
                                          cpx_spc_data_cx3[105:104],
3430
                                          cpx_spc_data_cx3_b103,
3431
                                          cpx_spc_data_cx3[102:101],
3432
                                          cpx_spc_data_cx3_b100,
3433
                                          cpx_spc_data_cx3[99:98],
3434
                                          cpx_spc_data_cx3_b97,
3435
                                          cpx_spc_data_cx3[96:95],
3436
                                          cpx_spc_data_cx3_b94,
3437
                                          cpx_spc_data_cx3[93:92],
3438
                                          cpx_spc_data_cx3_b91,
3439
                                          cpx_spc_data_cx3[90:89],
3440
                                          cpx_spc_data_cx3_b88,
3441
                                          cpx_spc_data_cx3[87:85],
3442
                                          cpx_spc_data_cx3_b84,
3443
                                          cpx_spc_data_cx3[83:81],
3444
                                          cpx_spc_data_cx3_b80,
3445
                                          cpx_spc_data_cx3[79:77],
3446
                                          cpx_spc_data_cx3_b76,
3447
                                          cpx_spc_data_cx3[75:73],
3448
                                          cpx_spc_data_cx3_b72,
3449
                                          cpx_spc_data_cx3[71:69],
3450
                                          cpx_spc_data_cx3_b68,
3451
                                          cpx_spc_data_cx3[67:65],
3452
                                          cpx_spc_data_cx3_b64,
3453
                                          cpx_spc_data_cx3[63:61],
3454
                                          cpx_spc_data_cx3_b60,
3455
                                          cpx_spc_data_cx3[59:57],
3456
                                          cpx_spc_data_cx3_b56,
3457
                                          cpx_spc_data_cx3[55:54],
3458
                                          cpx_spc_data_cx3_b53,
3459
                                          cpx_spc_data_cx3[52:51],
3460
                                          cpx_spc_data_cx3_b50,
3461
                                          cpx_spc_data_cx3[49:48],
3462
                                          cpx_spc_data_cx3_b47,
3463
                                          cpx_spc_data_cx3[46:45],
3464
                                          cpx_spc_data_cx3_b44,
3465
                                          cpx_spc_data_cx3[43:42],
3466
                                          cpx_spc_data_cx3_b41,
3467
                                          cpx_spc_data_cx3[40:39],
3468
                                          cpx_spc_data_cx3_b38,
3469
                                          cpx_spc_data_cx3[37:36],
3470
                                          cpx_spc_data_cx3_b35,
3471
                                          cpx_spc_data_cx3[34:33],
3472
                                          cpx_spc_data_cx3_b32,
3473
                                          cpx_spc_data_cx3[31:29],
3474
                                          cpx_spc_data_cx3_b28,
3475
                                          cpx_spc_data_cx3[27:25],
3476
                                          cpx_spc_data_cx3_b24,
3477
                                          cpx_spc_data_cx3[23:21],
3478
                                          cpx_spc_data_cx3_b20,
3479
                                          cpx_spc_data_cx3[19:17],
3480
                                          cpx_spc_data_cx3_b16,
3481
                                          cpx_spc_data_cx3[15:13],
3482
                                          cpx_spc_data_cx3_b12,
3483
                                          cpx_spc_data_cx3[11:9],
3484
                                          cpx_spc_data_cx3_b8,
3485
                                          cpx_spc_data_cx3[7:5],
3486
                                          cpx_spc_data_cx3_b4,
3487
                                          cpx_spc_data_cx3[3:1],
3488
                                          cpx_spc_data_cx3_b0}),
3489
           .exu_tlu_wsr_data_m          (exu_tlu_wsr_data_m[7:0]),
3490
 
3491
           // Hypervisor related
3492
           .tlu_lsu_hpv_priv            (tlu_hpstate_priv[3:0]),
3493
           .tlu_lsu_hpstate_en          (tlu_hpstate_enb[3:0]),
3494
 
3495
                 .spu_lsu_int_w2                (1'b0),
3496
           .gdbginit_l                  (spc_dbginit_l),
3497
           /*AUTOINST*/
3498
           // Outputs
3499
           .bist_ctl_reg_in             (bist_ctl_reg_in[6:0]),
3500
           .bist_ctl_reg_wr_en          (bist_ctl_reg_wr_en),
3501
           .ifu_tlu_flush_fd2_w         (ifu_tlu_flush_fd2_w),
3502
           .ifu_tlu_flush_fd3_w         (ifu_tlu_flush_fd3_w),
3503
           .ifu_tlu_flush_fd_w          (ifu_tlu_flush_fd_w),
3504
           .lsu_asi_reg0                (lsu_asi_reg0[7:0]),
3505
           .lsu_asi_reg1                (lsu_asi_reg1[7:0]),
3506
           .lsu_asi_reg2                (lsu_asi_reg2[7:0]),
3507
           .lsu_asi_reg3                (lsu_asi_reg3[7:0]),
3508
           .lsu_dmmu_sfsr_trp_wr        (lsu_dmmu_sfsr_trp_wr[3:0]),
3509
           .lsu_dsfsr_din_g             (lsu_dsfsr_din_g[23:0]),
3510
           .lsu_exu_flush_pipe_w        (lsu_exu_flush_pipe_w),
3511
           .lsu_exu_rd_m                (lsu_exu_rd_m[4:0]),
3512
           .lsu_exu_st_dtlb_perr_g      (lsu_exu_st_dtlb_perr_g),
3513
           .lsu_exu_thr_m               (lsu_exu_thr_m[1:0]),
3514
           .lsu_ffu_ack                 (lsu_ffu_ack),
3515
           .lsu_ffu_blk_asi_e           (lsu_ffu_blk_asi_e),
3516
           .lsu_ffu_flush_pipe_w        (lsu_ffu_flush_pipe_w),
3517
           .lsu_ffu_ld_data             (lsu_ffu_ld_data[63:0]),
3518
           .lsu_ffu_ld_vld              (lsu_ffu_ld_vld),
3519
           .lsu_ffu_stb_full0           (lsu_ffu_stb_full0),
3520
           .lsu_ffu_stb_full1           (lsu_ffu_stb_full1),
3521
           .lsu_ffu_stb_full2           (lsu_ffu_stb_full2),
3522
           .lsu_ffu_stb_full3           (lsu_ffu_stb_full3),
3523
           .lsu_ictag_mrgn              (lsu_ictag_mrgn[3:0]),
3524
           .lsu_ifu_asi_addr            (lsu_ifu_asi_addr[17:0]),
3525
           .lsu_ifu_asi_load            (lsu_ifu_asi_load),
3526
           .lsu_ifu_asi_state           (lsu_ifu_asi_state[7:0]),
3527
           .lsu_ifu_asi_thrid           (lsu_ifu_asi_thrid[1:0]),
3528
           .lsu_ifu_asi_vld             (lsu_ifu_asi_vld),
3529
           .lsu_ifu_cpxpkt_i1           (lsu_ifu_cpxpkt_i1[144-1:0]),
3530
           .lsu_ifu_cpxpkt_vld_i1       (lsu_ifu_cpxpkt_vld_i1),
3531
           .lsu_ifu_dc_parity_error_w2  (lsu_ifu_dc_parity_error_w2),
3532
           .lsu_ifu_dcache_data_perror  (lsu_ifu_dcache_data_perror),
3533
           .lsu_ifu_dcache_tag_perror   (lsu_ifu_dcache_tag_perror),
3534
           .lsu_ifu_direct_map_l1       (lsu_ifu_direct_map_l1),
3535
           .lsu_ifu_error_tid           (lsu_ifu_error_tid[1:0]),
3536
           .lsu_ifu_flush_pipe_w        (lsu_ifu_flush_pipe_w),
3537
           .lsu_ifu_icache_en           (lsu_ifu_icache_en[3:0]),
3538
           .lsu_ifu_io_error            (lsu_ifu_io_error),
3539
           .lsu_ifu_itlb_en             (lsu_ifu_itlb_en[3:0]),
3540
           .lsu_ifu_l2_corr_error       (lsu_ifu_l2_corr_error),
3541
           .lsu_ifu_l2_unc_error        (lsu_ifu_l2_unc_error),
3542
           .lsu_ifu_ld_icache_index     (lsu_ifu_ld_icache_index[11:5]),
3543
           .lsu_ifu_ld_pcxpkt_tid       (lsu_ifu_ld_pcxpkt_tid[1:0]),
3544
           .lsu_ifu_ld_pcxpkt_vld       (lsu_ifu_ld_pcxpkt_vld),
3545
           .lsu_ifu_ldst_cmplt          (lsu_ifu_ldst_cmplt[3:0]),
3546
           .lsu_ifu_ldst_miss_w         (lsu_ifu_ldst_miss_w),
3547
           .lsu_ifu_ldsta_internal_e    (lsu_ifu_ldsta_internal_e),
3548
           .lsu_ifu_pcxpkt_ack_d        (lsu_ifu_pcxpkt_ack_d),
3549
           .lsu_ifu_stallreq            (lsu_ifu_stallreq),
3550
           .lsu_ifu_stbcnt0             (lsu_ifu_stbcnt0[3:0]),
3551
           .lsu_ifu_stbcnt1             (lsu_ifu_stbcnt1[3:0]),
3552
           .lsu_ifu_stbcnt2             (lsu_ifu_stbcnt2[3:0]),
3553
           .lsu_ifu_stbcnt3             (lsu_ifu_stbcnt3[3:0]),
3554
           .lsu_ifu_stxa_data           (lsu_ifu_stxa_data[47:0]),
3555
           .lsu_ifu_tlb_data_su         (lsu_ifu_tlb_data_su),
3556
           .lsu_ifu_tlb_data_ue         (lsu_ifu_tlb_data_ue),
3557
           .lsu_ifu_tlb_tag_ue          (lsu_ifu_tlb_tag_ue),
3558
           .lsu_itlb_mrgn               (lsu_itlb_mrgn[7:0]),
3559
           .lsu_mamem_mrgn              (),
3560
           .lsu_mmu_defr_trp_taken_g    (lsu_mmu_defr_trp_taken_g),
3561
           .lsu_mmu_flush_pipe_w        (lsu_mmu_flush_pipe_w),
3562
           .lsu_mmu_rs3_data_g          (lsu_mmu_rs3_data_g[63:0]),
3563
           .lsu_pid_state0              (lsu_pid_state0[2:0]),
3564
           .lsu_pid_state1              (lsu_pid_state1[2:0]),
3565
           .lsu_pid_state2              (lsu_pid_state2[2:0]),
3566
           .lsu_pid_state3              (lsu_pid_state3[2:0]),
3567
           .lsu_spu_asi_state_e         (),
3568
           .lsu_spu_early_flush_g       (),
3569
           .lsu_spu_ldst_ack            (),
3570
           .lsu_spu_stb_empty           (),
3571
           .lsu_spu_strm_ack_cmplt      (),
3572
           .lsu_t0_pctxt_state          (lsu_t0_pctxt_state[12:0]),
3573
           .lsu_t1_pctxt_state          (lsu_t1_pctxt_state[12:0]),
3574
           .lsu_t2_pctxt_state          (lsu_t2_pctxt_state[12:0]),
3575
           .lsu_t3_pctxt_state          (lsu_t3_pctxt_state[12:0]),
3576
           .lsu_tlu_async_tid_w2        (lsu_tlu_async_tid_w2[1:0]),
3577
           .lsu_tlu_async_ttype_vld_w2  (lsu_tlu_async_ttype_vld_w2),
3578
           .lsu_tlu_async_ttype_w2      (lsu_tlu_async_ttype_w2[6:0]),
3579
           .lsu_tlu_cpx_req             (lsu_tlu_cpx_req[3:0]),
3580
           .lsu_tlu_cpx_vld             (lsu_tlu_cpx_vld),
3581
           .lsu_tlu_daccess_excptn_g    (lsu_tlu_daccess_excptn_g),
3582
           .lsu_tlu_dcache_miss_w2      (lsu_tlu_dcache_miss_w2[3:0]),
3583
           .lsu_tlu_defr_trp_taken_g    (lsu_tlu_defr_trp_taken_g),
3584
           .lsu_tlu_dmmu_miss_g         (lsu_tlu_dmmu_miss_g),
3585
           .lsu_tlu_dside_ctxt_m        (lsu_tlu_dside_ctxt_m[12:0]),
3586
           .lsu_tlu_dtlb_done           (lsu_tlu_dtlb_done),
3587
           .lsu_tlu_early_flush2_w      (lsu_tlu_early_flush2_w),
3588
           .lsu_tlu_early_flush_w       (lsu_tlu_early_flush_w),
3589
           .lsu_tlu_intpkt              (lsu_tlu_intpkt[17:0]),
3590
           .lsu_tlu_l2_dmiss            (lsu_tlu_l2_dmiss[3:0]),
3591
           .lsu_tlu_ldst_va_m           (lsu_tlu_ldst_va_m[9:0]),
3592
           .lsu_tlu_misalign_addr_ldst_atm_m(lsu_tlu_misalign_addr_ldst_atm_m),
3593
           .lsu_tlu_pctxt_m             (lsu_tlu_pctxt_m[12:0]),
3594
           .lsu_tlu_pcxpkt_ack          (lsu_tlu_pcxpkt_ack),
3595
           .lsu_tlu_rs3_data_g          (lsu_tlu_rs3_data_g[63:0]),
3596
           .lsu_tlu_rsr_data_e          (lsu_tlu_rsr_data_e[7:0]),
3597
           .lsu_tlu_stb_full_w2         (lsu_tlu_stb_full_w2[3:0]),
3598
           .lsu_tlu_thrid_d             (lsu_tlu_thrid_d[1:0]),
3599
           .lsu_tlu_tlb_access_tid_m    (lsu_tlu_tlb_access_tid_m[1:0]),
3600
           .lsu_tlu_tlb_asi_state_m     (lsu_tlu_tlb_asi_state_m[7:0]),
3601
           .lsu_tlu_tlb_dmp_va_m        (lsu_tlu_tlb_dmp_va_m[47:13]),
3602
           .lsu_tlu_tlb_ld_inst_m       (lsu_tlu_tlb_ld_inst_m),
3603
           .lsu_tlu_tlb_ldst_va_m       (lsu_tlu_tlb_ldst_va_m[10:0]),
3604
           .lsu_tlu_tlb_st_inst_m       (lsu_tlu_tlb_st_inst_m),
3605
           .lsu_tlu_ttype_m2            (lsu_tlu_ttype_m2[8:0]),
3606
           .lsu_tlu_ttype_vld_m2        (lsu_tlu_ttype_vld_m2),
3607
           .lsu_tlu_wsr_inst_e          (lsu_tlu_wsr_inst_e),
3608
           .mbist_dcache_data_in        (mbist_dcache_data_in[71:0]),
3609
           .spc_efc_dfuse_data          (spc_efc_dfuse_data),
3610
           .spc_pcx_atom_pq             (spc_pcx_atom_pq),
3611
           .spc_pcx_data_pa             (spc_pcx_data_pa[124-1:0]),
3612
           .spc_pcx_req_pq              (spc_pcx_req_pq[4:0]),
3613
           .lsu_asi_state               (lsu_asi_state[7:0]),
3614
           .lsu_ifu_err_addr            (lsu_ifu_err_addr[47:4]),
3615
           .lsu_sscan_data              (lsu_sscan_data[15:0]),
3616
           .ifu_tlu_inst_vld_m_bf1      (ifu_tlu_inst_vld_m_bf1),
3617
           .lsu_ffu_bld_cnt_w           (lsu_ffu_bld_cnt_w[2:0]),
3618
           .lsu_tlu_nucleus_ctxt_m      (lsu_tlu_nucleus_ctxt_m),
3619
           .lsu_tlu_tte_pg_sz_g         (lsu_tlu_tte_pg_sz_g[2:0]),
3620
           .lsu_tlu_squash_va_oor_m     (lsu_tlu_squash_va_oor_m),
3621
           .lsu_tlu_wtchpt_trp_g        (lsu_tlu_wtchpt_trp_g),
3622
           .lsu_tlu_daccess_prot_g      (lsu_tlu_daccess_prot_g),
3623
           .lsu_tlu_priv_action_g       (lsu_tlu_priv_action_g),
3624
           // Inputs
3625
           .bist_ctl_reg_out            (bist_ctl_reg_out[10:0]),
3626
           .const_cpuid                 (const_cpuid[2:0]),
3627
           .ctu_sscan_tid               (ctu_sscan_tid[3:0]),
3628
           .efc_spc_dfuse_ashift        (efc_spc_dfuse_ashift),
3629
           .efc_spc_dfuse_data          (efc_spc_dfuse_data),
3630
           .efc_spc_dfuse_dshift        (efc_spc_dfuse_dshift),
3631
           .efc_spc_fuse_clk1           (efc_spc_fuse_clk1),
3632
           .efc_spc_fuse_clk2           (efc_spc_fuse_clk2),
3633
           .exu_lsu_rs2_data_e          (exu_lsu_rs2_data_e[63:0]),
3634
           .exu_lsu_rs3_data_e          (exu_lsu_rs3_data_e[63:0]),
3635
           .exu_tlu_misalign_addr_jmpl_rtn_m(exu_tlu_misalign_addr_jmpl_rtn_m),
3636
           .exu_tlu_va_oor_m            (exu_tlu_va_oor_m),
3637
           .ffu_lsu_blk_st_e            (ffu_lsu_blk_st_e),
3638
           .ffu_lsu_blk_st_va_e         (ffu_lsu_blk_st_va_e[5:3]),
3639
           .ffu_lsu_fpop_rq_vld         (ffu_lsu_fpop_rq_vld),
3640
           .ffu_lsu_kill_fst_w          (ffu_lsu_kill_fst_w),
3641
           .ifu_lsu_alt_space_d         (ifu_lsu_alt_space_d),
3642
           .ifu_lsu_alt_space_e         (ifu_lsu_alt_space_e),
3643
           .ifu_lsu_asi_ack             (ifu_lsu_asi_ack),
3644
           .ifu_lsu_asi_rd_unc          (ifu_lsu_asi_rd_unc),
3645
           .ifu_lsu_casa_e              (ifu_lsu_casa_e),
3646
           .ifu_lsu_destid_s            (ifu_lsu_destid_s[2:0]),
3647
           .ifu_lsu_fwd_data_vld        (ifu_lsu_fwd_data_vld),
3648
           .ifu_lsu_fwd_wr_ack          (ifu_lsu_fwd_wr_ack),
3649
           .ifu_lsu_ibuf_busy           (ifu_lsu_ibuf_busy),
3650
           .ifu_lsu_imm_asi_d           (ifu_lsu_imm_asi_d[7:0]),
3651
           .ifu_lsu_imm_asi_vld_d       (ifu_lsu_imm_asi_vld_d),
3652
           .ifu_lsu_inv_clear           (ifu_lsu_inv_clear),
3653
           .ifu_lsu_ld_inst_e           (ifu_lsu_ld_inst_e),
3654
           .ifu_lsu_ldst_dbl_e          (ifu_lsu_ldst_dbl_e),
3655
           .ifu_lsu_ldst_fp_e           (ifu_lsu_ldst_fp_e),
3656
           .ifu_lsu_ldst_size_e         (ifu_lsu_ldst_size_e[1:0]),
3657
           .ifu_lsu_ldstub_e            (ifu_lsu_ldstub_e),
3658
           .ifu_lsu_ldxa_data_vld_w2    (ifu_lsu_ldxa_data_vld_w2),
3659
           .ifu_lsu_ldxa_data_w2        (ifu_lsu_ldxa_data_w2[63:0]),
3660
           .ifu_lsu_ldxa_illgl_va_w2    (ifu_lsu_ldxa_illgl_va_w2),
3661
           .ifu_lsu_ldxa_tid_w2         (ifu_lsu_ldxa_tid_w2[1:0]),
3662
           .ifu_lsu_memref_d            (ifu_lsu_memref_d),
3663
           .ifu_lsu_nceen               (ifu_lsu_nceen[3:0]),
3664
           .ifu_lsu_pcxpkt_e            (ifu_lsu_pcxpkt_e[51:0]),
3665
           .ifu_lsu_pcxreq_d            (ifu_lsu_pcxreq_d),
3666
           .ifu_lsu_pref_inst_e         (ifu_lsu_pref_inst_e),
3667
           .ifu_lsu_rd_e                (ifu_lsu_rd_e[4:0]),
3668
           .ifu_lsu_sign_ext_e          (ifu_lsu_sign_ext_e),
3669
           .ifu_lsu_st_inst_e           (ifu_lsu_st_inst_e),
3670
           .ifu_lsu_swap_e              (ifu_lsu_swap_e),
3671
           .ifu_lsu_thrid_s             (ifu_lsu_thrid_s[1:0]),
3672
           .ifu_tlu_flsh_inst_e         (ifu_tlu_flsh_inst_e),
3673
           .ifu_tlu_flush_m             (ifu_tlu_flush_m),
3674
           .ifu_tlu_inst_vld_m          (ifu_tlu_inst_vld_m),
3675
           .ifu_tlu_mb_inst_e           (ifu_tlu_mb_inst_e),
3676
           .ifu_tlu_sraddr_d            (ifu_tlu_sraddr_d[6:0]),
3677
           .ifu_tlu_thrid_e             (ifu_tlu_thrid_e[1:0]),
3678
           .mbist_dcache_index          (mbist_dcache_index[6:0]),
3679
           .mbist_dcache_read           (mbist_dcache_read),
3680
           .mbist_dcache_way            (mbist_dcache_way[1:0]),
3681
           .mbist_dcache_word           (mbist_dcache_word),
3682
           .mbist_dcache_write          (mbist_dcache_write),
3683
           .mbist_write_data            (mbist_write_data[7:0]),
3684
           .mem_write_disable           (mem_write_disable),
3685
           .mux_drive_disable           (mux_drive_disable),
3686
           .pcx_spc_grant_px            (pcx_spc_grant_px[4:0]),
3687
           .se                          (se),
3688
           .sehold                      (sehold),
3689
           .spu_lsu_ldxa_data_vld_w2    (1'b0),
3690
           .spu_lsu_ldxa_data_w2        (64'h0000000000000000),
3691
           .spu_lsu_ldxa_illgl_va_w2    (1'b0),
3692
           .spu_lsu_ldxa_tid_w2         (2'b00),
3693
           .spu_lsu_stxa_ack            (1'b0),
3694
           .spu_lsu_stxa_ack_tid        (2'b00),
3695
           .spu_lsu_unc_error_w2        (1'b0),
3696
           .testmode_l                  (testmode_l),
3697
           .tlu_dsfsr_flt_vld           (tlu_dsfsr_flt_vld[3:0]),
3698
           .tlu_dtlb_data_rd_g          (tlu_dtlb_data_rd_g),
3699
           .tlu_dtlb_dmp_actxt_g        (tlu_dtlb_dmp_actxt_g),
3700
           .tlu_dtlb_dmp_all_g          (tlu_dtlb_dmp_all_g),
3701
           .tlu_dtlb_dmp_nctxt_g        (tlu_dtlb_dmp_nctxt_g),
3702
           .tlu_dtlb_dmp_pctxt_g        (tlu_dtlb_dmp_pctxt_g),
3703
           .tlu_dtlb_dmp_sctxt_g        (tlu_dtlb_dmp_sctxt_g),
3704
           .tlu_dtlb_dmp_vld_g          (tlu_dtlb_dmp_vld_g),
3705
           .tlu_dtlb_invalidate_all_g   (tlu_dtlb_invalidate_all_g),
3706
           .tlu_dtlb_rw_index_g         (tlu_dtlb_rw_index_g[5:0]),
3707
           .tlu_dtlb_rw_index_vld_g     (tlu_dtlb_rw_index_vld_g),
3708
           .tlu_dtlb_tag_rd_g           (tlu_dtlb_tag_rd_g),
3709
           .tlu_dtlb_tte_data_w2        (tlu_dtlb_tte_data_w2[42:0]),
3710
           .tlu_dtlb_tte_tag_w2         (tlu_dtlb_tte_tag_w2[58:0]),
3711
           .tlu_early_flush_pipe2_w     (tlu_early_flush_pipe2_w),
3712
           .tlu_early_flush_pipe_w      (tlu_early_flush_pipe_w),
3713
           .tlu_exu_early_flush_pipe_w  (tlu_exu_early_flush_pipe_w),
3714
           .tlu_idtlb_dmp_key_g         (tlu_idtlb_dmp_key_g[40:0]),
3715
           .tlu_idtlb_dmp_thrid_g       (tlu_idtlb_dmp_thrid_g[1:0]),
3716
           .tlu_lsu_asi_m               (tlu_lsu_asi_m[7:0]),
3717
           .tlu_lsu_asi_update_m        (tlu_lsu_asi_update_m),
3718
           .tlu_lsu_int_ld_ill_va_w2    (tlu_lsu_int_ld_ill_va_w2),
3719
           .tlu_lsu_int_ldxa_data_w2    (tlu_lsu_int_ldxa_data_w2[63:0]),
3720
           .tlu_lsu_int_ldxa_vld_w2     (tlu_lsu_int_ldxa_vld_w2),
3721
           .tlu_lsu_ldxa_async_data_vld (tlu_lsu_ldxa_async_data_vld),
3722
           .tlu_lsu_ldxa_tid_w2         (tlu_lsu_ldxa_tid_w2[1:0]),
3723
           .tlu_lsu_pcxpkt              (tlu_lsu_pcxpkt[25:0]),
3724
           .tlu_lsu_pstate_am           (tlu_lsu_pstate_am[3:0]),
3725
           .tlu_lsu_pstate_cle          (tlu_lsu_pstate_cle[3:0]),
3726
           .tlu_lsu_pstate_priv         (tlu_lsu_pstate_priv[3:0]),
3727
           .tlu_lsu_redmode             (tlu_lsu_redmode[3:0]),
3728
           .tlu_lsu_redmode_rst_d1      (tlu_lsu_redmode_rst_d1[3:0]),
3729
           .tlu_lsu_stxa_ack            (tlu_lsu_stxa_ack),
3730
           .tlu_lsu_stxa_ack_tid        (tlu_lsu_stxa_ack_tid[1:0]),
3731
           .tlu_lsu_tid_m               (tlu_lsu_tid_m[1:0]),
3732
           .tlu_lsu_tl_zero             (tlu_lsu_tl_zero[3:0]),
3733
           .spu_lsu_ldst_pckt           (124'h0000000000000000000000000000000),
3734
           .exu_lsu_ldst_va_e           (exu_lsu_ldst_va_e[47:0]),
3735
           .exu_lsu_early_va_e          (exu_lsu_early_va_e[10:3]),
3736
           .ffu_lsu_data                (ffu_lsu_data[80:0]));
3737
 
3738
 
3739
 
3740
 
3741
 
3742
 
3743
 
3744
 
3745
 
3746
 
3747
 
3748
 
3749
 
3750
 
3751
 
3752
 
3753
 
3754
 
3755
 
3756
 
3757
 
3758
 
3759
 
3760
 
3761
 
3762
 
3763
 
3764
 
3765
 
3766
 
3767
 
3768
 
3769
 
3770
 
3771
 
3772
 
3773
 
3774
 
3775
 
3776
 
3777
 
3778
 
3779
 
3780
 
3781
 
3782
 
3783
 
3784
 
3785
 
3786
 
3787
 
3788
 
3789
 
3790
 
3791
 
3792
 
3793
 
3794
 
3795
 
3796
 
3797
 
3798
 
3799
 
3800
 
3801
 
3802
 
3803
 
3804
 
3805
 
3806
 
3807
 
3808
 
3809
 
3810
 
3811
 
3812
 
3813
 
3814
 
3815
 
3816
 
3817
 
3818
 
3819
 
3820
 
3821
 
3822
 
3823
 
3824
 
3825
 
3826
 
3827
 
3828
 
3829
 
3830
 
3831
 
3832
 
3833
 
3834
 
3835
 
3836
 
3837
 
3838
 
3839
 
3840
 
3841
 
3842
 
3843
 
3844
 
3845
 
3846
 
3847
 
3848
 
3849
 
3850
 
3851
 
3852
 
3853
 
3854
 
3855
 
3856
 
3857
 
3858
 
3859
 
3860
 
3861
 
3862
 
3863
 
3864
 
3865
 
3866
 
3867
 
3868
 
3869
 
3870
 
3871
 
3872
 
3873
 
3874
 
3875
 
3876
 
3877
 
3878
 
3879
 
3880
 
3881
 
3882
 
3883
 
3884
 
3885
 
3886
 
3887
 
3888
 
3889
 
3890
 
3891
 
3892
 
3893
 
3894
 
3895
 
3896
 
3897
 
3898
 
3899
 
3900
 
3901
 
3902
 
3903
 
3904
 
3905
 
3906
 
3907
 
3908
 
3909
 
3910
 
3911
 
3912
 
3913
 
3914
 
3915
 
3916
 
3917
 
3918
 
3919
 
3920
 
3921
 
3922
 
3923
 
3924
 
3925
 
3926
 
3927
 
3928
 
3929
 
3930
 
3931
 
3932
 
3933
 
3934
 
3935
 
3936
 
3937
 
3938
 
3939
 
3940
 
3941
 
3942
 
3943
 
3944
 
3945
 
3946
 
3947
 
3948
 
3949
 
3950
 
3951
 
3952
 
3953
 
3954
 
3955
 
3956
 
3957
 
3958
 
3959
 
3960
 
3961
 
3962
 
3963
 
3964
 
3965
 
3966
 
3967
 
3968
 
3969
 
3970
 
3971
 
3972
 
3973
 
3974
 
3975
 
3976
 
3977
 
3978
 
3979
 
3980
 
3981
 
3982
 
3983
 
3984
 
3985
 
3986
 
3987
 
3988
 
3989
 
3990
 
3991
 
3992
 
3993
 
3994
 
3995
 
3996
 
3997
 
3998
 
3999
 
4000
 
4001
 
4002
 
4003
 
4004
 
4005
 
4006
 
4007
 
4008
 
4009
 
4010
 
4011
 
4012
 
4013
 
4014
 
4015
 
4016
 
4017
 
4018
 
4019
 
4020
 
4021
 
4022
 
4023
 
4024
 
4025
 
4026
 
4027
 
4028
 
4029
 
4030
 
4031
 
4032
 
4033
 
4034
 
4035
 
4036
 
4037
 
4038
 
4039
 
4040
 
4041
 
4042
 
4043
 
4044
 
4045
 
4046
 
4047
 
4048
 
4049
 
4050
 
4051
 
4052
 
4053
 
4054
 
4055
 
4056
 
4057
 
4058
 
4059
 
4060
 
4061
 
4062
 
4063
 
4064
 
4065
 
4066
 
4067
 
4068
 
4069
 
4070
 
4071
 
4072
 
4073
 
4074
 
4075
 
4076
 
4077
 
4078
 
4079
 
4080
 //  `ifdef FPGA_SYN_NO_SPU
4081
 
4082
 
4083
 
4084
   sparc_exu exu   (
4085
                 .short_si0              (short_scan0_2),
4086
                 .short_so0              (short_scan0_3),
4087
                 .short_si1 (short_scan1_2),
4088
                 .short_so1 (short_scan1_3),
4089
                 .si0 (scan0_2),
4090
                 .so0 (scan0_3),
4091
                 // reset stuff
4092
                 .grst_l                (spc_grst_l),
4093
                 .arst_l                (cmp_arst_l),
4094
                 .mul_exu_data_g (mul_data_out[63:0]),
4095
                 .ifu_tlu_wsr_inst_d (ifu_exu_wsr_inst_d),
4096
                 //
4097
                 .exu_tlu_ue_trap_m     (),
4098
 
4099
                             /*AUTOINST*/
4100
                 // Outputs
4101
                 .exu_ffu_wsr_inst_e    (exu_ffu_wsr_inst_e),
4102
                 .exu_ifu_brpc_e        (exu_ifu_brpc_e[47:0]),
4103
                 .exu_ifu_cc_d          (exu_ifu_cc_d[7:0]),
4104
                 .exu_ifu_ecc_ce_m      (exu_ifu_ecc_ce_m),
4105
                 .exu_ifu_ecc_ue_m      (exu_ifu_ecc_ue_m),
4106
                 .exu_ifu_err_reg_m     (exu_ifu_err_reg_m[7:0]),
4107
                 .exu_ifu_inj_ack       (exu_ifu_inj_ack),
4108
                 .exu_ifu_longop_done_g (exu_ifu_longop_done_g[3:0]),
4109
                 .exu_ifu_oddwin_s      (exu_ifu_oddwin_s[3:0]),
4110
                 .exu_ifu_regn_e        (exu_ifu_regn_e),
4111
                 .exu_ifu_regz_e        (exu_ifu_regz_e),
4112
                 .exu_ifu_spill_e       (exu_ifu_spill_e),
4113
                 .exu_ifu_va_oor_m      (exu_ifu_va_oor_m),
4114
                 .exu_lsu_early_va_e    (exu_lsu_early_va_e[10:3]),
4115
                 .exu_lsu_ldst_va_e     (exu_lsu_ldst_va_e[47:0]),
4116
                 .exu_lsu_priority_trap_m(exu_lsu_priority_trap_m),
4117
                 .exu_lsu_rs2_data_e    (exu_lsu_rs2_data_e[63:0]),
4118
                 .exu_lsu_rs3_data_e    (exu_lsu_rs3_data_e[63:0]),
4119
                 .exu_mmu_early_va_e    (exu_mmu_early_va_e[7:0]),
4120
                 .exu_mul_input_vld     (exu_mul_input_vld),
4121
                 .exu_mul_rs1_data      (exu_mul_rs1_data[63:0]),
4122
                 .exu_mul_rs2_data      (exu_mul_rs2_data[63:0]),
4123
                 .exu_spu_rs3_data_e    (),
4124
                 .exu_tlu_ccr0_w        (exu_tlu_ccr0_w[7:0]),
4125
                 .exu_tlu_ccr1_w        (exu_tlu_ccr1_w[7:0]),
4126
                 .exu_tlu_ccr2_w        (exu_tlu_ccr2_w[7:0]),
4127
                 .exu_tlu_ccr3_w        (exu_tlu_ccr3_w[7:0]),
4128
                 .exu_tlu_cwp0_w        (exu_tlu_cwp0_w[2:0]),
4129
                 .exu_tlu_cwp1_w        (exu_tlu_cwp1_w[2:0]),
4130
                 .exu_tlu_cwp2_w        (exu_tlu_cwp2_w[2:0]),
4131
                 .exu_tlu_cwp3_w        (exu_tlu_cwp3_w[2:0]),
4132
                 .exu_tlu_cwp_cmplt     (exu_tlu_cwp_cmplt),
4133
                 .exu_tlu_cwp_cmplt_tid (exu_tlu_cwp_cmplt_tid[1:0]),
4134
                 .exu_tlu_cwp_retry     (exu_tlu_cwp_retry),
4135
                 .exu_tlu_misalign_addr_jmpl_rtn_m(exu_tlu_misalign_addr_jmpl_rtn_m),
4136
                 .exu_tlu_spill         (exu_tlu_spill),
4137
                 .exu_tlu_spill_other   (exu_tlu_spill_other),
4138
                 .exu_tlu_spill_tid     (exu_tlu_spill_tid[1:0]),
4139
                 .exu_tlu_spill_wtype   (exu_tlu_spill_wtype[2:0]),
4140
                 .exu_tlu_ttype_m       (exu_tlu_ttype_m[8:0]),
4141
                 .exu_tlu_ttype_vld_m   (exu_tlu_ttype_vld_m),
4142
                 .exu_tlu_va_oor_jl_ret_m(exu_tlu_va_oor_jl_ret_m),
4143
                 .exu_tlu_va_oor_m      (exu_tlu_va_oor_m),
4144
                 .exu_tlu_wsr_data_m    (exu_tlu_wsr_data_m[63:0]),
4145
                 .exu_ifu_err_synd_m    (exu_ifu_err_synd_m[7:0]),
4146
                 // Inputs
4147
                 .mux_drive_disable     (mux_drive_disable),
4148
                 .mem_write_disable     (mem_write_disable),
4149
                 .ffu_exu_rsr_data_m    (ffu_exu_rsr_data_m[63:0]),
4150
                 .ifu_exu_addr_mask_d   (ifu_exu_addr_mask_d),
4151
                 .ifu_exu_aluop_d       (ifu_exu_aluop_d[2:0]),
4152
                 .ifu_exu_casa_d        (ifu_exu_casa_d),
4153
                 .ifu_exu_dbrinst_d     (ifu_exu_dbrinst_d),
4154
                 .ifu_exu_disable_ce_e  (ifu_exu_disable_ce_e),
4155
                 .ifu_exu_dontmv_regz0_e(ifu_exu_dontmv_regz0_e),
4156
                 .ifu_exu_dontmv_regz1_e(ifu_exu_dontmv_regz1_e),
4157
                 .ifu_exu_ecc_mask      (ifu_exu_ecc_mask[7:0]),
4158
                 .ifu_exu_enshift_d     (ifu_exu_enshift_d),
4159
                 .ifu_exu_flushw_e      (ifu_exu_flushw_e),
4160
                 .ifu_exu_ialign_d      (ifu_exu_ialign_d),
4161
                 .ifu_exu_imm_data_d    (ifu_exu_imm_data_d[31:0]),
4162
                 .ifu_exu_inj_irferr    (ifu_exu_inj_irferr),
4163
                 .ifu_exu_inst_vld_e    (ifu_exu_inst_vld_e),
4164
                 .ifu_exu_inst_vld_w    (ifu_exu_inst_vld_w),
4165
                 .ifu_exu_invert_d      (ifu_exu_invert_d),
4166
                 .ifu_exu_kill_e        (ifu_exu_kill_e),
4167
                 .ifu_exu_muldivop_d    (ifu_exu_muldivop_d[4:0]),
4168
                 .ifu_exu_muls_d        (ifu_exu_muls_d),
4169
                 .ifu_exu_nceen_e       (ifu_exu_nceen_e),
4170
                 .ifu_exu_pc_d          (ifu_exu_pc_d[47:0]),
4171
                 .ifu_exu_pcver_e       (ifu_exu_pcver_e[63:0]),
4172
                 .ifu_exu_range_check_jlret_d(ifu_exu_range_check_jlret_d),
4173
                 .ifu_exu_range_check_other_d(ifu_exu_range_check_other_d),
4174
                 .ifu_exu_rd_d          (ifu_exu_rd_d[4:0]),
4175
                 .ifu_exu_rd_exusr_e    (ifu_exu_rd_exusr_e),
4176
                 .ifu_exu_rd_ffusr_e    (ifu_exu_rd_ffusr_e),
4177
                 .ifu_exu_rd_ifusr_e    (ifu_exu_rd_ifusr_e),
4178
                 .ifu_exu_ren1_s        (ifu_exu_ren1_s),
4179
                 .ifu_exu_ren2_s        (ifu_exu_ren2_s),
4180
                 .ifu_exu_ren3_s        (ifu_exu_ren3_s),
4181
                 .ifu_exu_restore_d     (ifu_exu_restore_d),
4182
                 .ifu_exu_restored_e    (ifu_exu_restored_e),
4183
                 .ifu_exu_return_d      (ifu_exu_return_d),
4184
                 .ifu_exu_rs1_s         (ifu_exu_rs1_s[4:0]),
4185
                 .ifu_exu_rs1_vld_d     (ifu_exu_rs1_vld_d),
4186
                 .ifu_exu_rs2_s         (ifu_exu_rs2_s[4:0]),
4187
                 .ifu_exu_rs2_vld_d     (ifu_exu_rs2_vld_d),
4188
                 .ifu_exu_rs3_s         (ifu_exu_rs3_s[4:0]),
4189
                 .ifu_exu_rs3e_vld_d    (ifu_exu_rs3e_vld_d),
4190
                 .ifu_exu_rs3o_vld_d    (ifu_exu_rs3o_vld_d),
4191
                 .ifu_exu_save_d        (ifu_exu_save_d),
4192
                 .ifu_exu_saved_e       (ifu_exu_saved_e),
4193
                 .ifu_exu_setcc_d       (ifu_exu_setcc_d),
4194
                 .ifu_exu_sethi_inst_d  (ifu_exu_sethi_inst_d),
4195
                 .ifu_exu_shiftop_d     (ifu_exu_shiftop_d[2:0]),
4196
                 .ifu_exu_tagop_d       (ifu_exu_tagop_d),
4197
                 .ifu_exu_tcc_e         (ifu_exu_tcc_e),
4198
                 .ifu_exu_tid_s2        (ifu_exu_tid_s2[1:0]),
4199
                 .ifu_exu_ttype_vld_m   (ifu_exu_ttype_vld_m),
4200
                 .ifu_exu_tv_d          (ifu_exu_tv_d),
4201
                 .ifu_exu_use_rsr_e_l   (ifu_exu_use_rsr_e_l),
4202
                 .ifu_exu_usecin_d      (ifu_exu_usecin_d),
4203
                 .ifu_exu_useimm_d      (ifu_exu_useimm_d),
4204
                 .ifu_exu_wen_d         (ifu_exu_wen_d),
4205
                 .ifu_tlu_flush_m       (ifu_tlu_flush_m),
4206
                 .ifu_tlu_sraddr_d      (ifu_tlu_sraddr_d[6:0]),
4207
                 .lsu_exu_dfill_data_g  (lsu_exu_dfill_data_g[63:0]),
4208
                 .lsu_exu_dfill_vld_g   (lsu_exu_dfill_vld_g),
4209
                 .lsu_exu_flush_pipe_w  (lsu_exu_flush_pipe_w),
4210
                 .lsu_exu_ldst_miss_g2  (lsu_exu_ldst_miss_g2),
4211
                 .lsu_exu_ldxa_data_g   (lsu_exu_ldxa_data_g[63:0]),
4212
                 .lsu_exu_ldxa_m        (lsu_exu_ldxa_m),
4213
                 .lsu_exu_rd_m          (lsu_exu_rd_m[4:0]),
4214
                 .lsu_exu_st_dtlb_perr_g(lsu_exu_st_dtlb_perr_g),
4215
                 .lsu_exu_thr_m         (lsu_exu_thr_m[1:0]),
4216
                 .mul_exu_ack           (mul_exu_ack),
4217
                 .rclk                  (rclk),
4218
                 .se                    (se),
4219
                 .sehold                (sehold),
4220
                 .tlu_exu_agp           (tlu_exu_agp[1:0]),
4221
                 .tlu_exu_agp_swap      (tlu_exu_agp_swap),
4222
                 .tlu_exu_agp_tid       (tlu_exu_agp_tid[1:0]),
4223
                 .tlu_exu_ccr_m         (tlu_exu_ccr_m[7:0]),
4224
                 .tlu_exu_cwp_m         (tlu_exu_cwp_m[2:0]),
4225
                 .tlu_exu_cwp_retry_m   (tlu_exu_cwp_retry_m),
4226
                 .tlu_exu_cwpccr_update_m(tlu_exu_cwpccr_update_m),
4227
                 .tlu_exu_pic_onebelow_m(tlu_exu_pic_onebelow_m),
4228
                 .tlu_exu_pic_twobelow_m(tlu_exu_pic_twobelow_m),
4229
                 .tlu_exu_priv_trap_m   (tlu_exu_priv_trap_m),
4230
                 .tlu_exu_rsr_data_m    (tlu_exu_rsr_data_m[63:0]));
4231
 
4232
 
4233
 
4234
 
4235
 
4236
 
4237
 
4238
 
4239
 
4240
 
4241
 
4242
 
4243
 
4244
 
4245
 
4246
 
4247
 
4248
 
4249
 
4250
 
4251
 
4252
 
4253
 
4254
 
4255
 
4256
 
4257
 
4258
 
4259
 
4260
 
4261
 
4262
 
4263
 
4264
 
4265
 
4266
 
4267
 
4268
 
4269
 
4270
 
4271
 
4272
 
4273
 
4274
 
4275
 
4276
 
4277
 
4278
 
4279
 
4280
 
4281
 
4282
 
4283
 
4284
 
4285
 
4286
 
4287
 
4288
 
4289
 
4290
 
4291
 
4292
 
4293
 
4294
 
4295
 
4296
 
4297
 
4298
 
4299
 
4300
 
4301
 
4302
 
4303
 
4304
 
4305
 
4306
 
4307
 
4308
 
4309
 
4310
 
4311
 
4312
 
4313
 
4314
 
4315
 
4316
 
4317
 
4318
 
4319
 
4320
 
4321
 
4322
 
4323
 
4324
 
4325
 
4326
 
4327
 
4328
 
4329
 
4330
 
4331
 
4332
 
4333
 
4334
 
4335
 
4336
 
4337
 
4338
 
4339
 
4340
 
4341
 
4342
 
4343
 
4344
 
4345
 
4346
 
4347
 
4348
 
4349
 
4350
 
4351
 
4352
 
4353
 
4354
 
4355
 
4356
 
4357
 
4358
 
4359
 
4360
 
4361
 
4362
 
4363
 
4364
 
4365
 
4366
 
4367
 
4368
 
4369
 
4370
 
4371
 
4372
 
4373
 
4374
 
4375
 
4376
 
4377
 
4378
 
4379
 
4380
 
4381
 
4382
 
4383
 
4384
 
4385
 
4386
      tlu tlu(
4387
           .short_si0              (short_scan0_3),
4388
           .short_si1              (short_scan1_3),
4389
           .short_so0              (short_scan0_4),
4390
           .short_so1              (short_scan1_4),
4391
           .si0 (scan0_4),
4392
           .si1 (scan1_1),
4393
           .so0 (scan0_5),
4394
           .so1 (scan1_2),
4395
           .grst_l                (spc_grst_l),
4396
           .arst_l                (cmp_arst_l),
4397
               .tlu_sftint_vld              (tlu_ifu_sftint_vld[3:0]),
4398
               .ifu_tlu_swint_m             (ifu_tlu_sftint_m),
4399
           .exu_tlu_cwp0                (exu_tlu_cwp0_w[2:0]),
4400
           .exu_tlu_cwp1                (exu_tlu_cwp1_w[2:0]),
4401
           .exu_tlu_cwp2                (exu_tlu_cwp2_w[2:0]),
4402
           .exu_tlu_cwp3                (exu_tlu_cwp3_w[2:0]),
4403
 
4404
           // fix for bug 5953
4405
           .exu_tlu_ue_trap_m           (1'b0),
4406
 
4407
           // temporary fix for bug 5863
4408
           // TBD: change for TO 2.0
4409
           // fixed for eco 6660
4410
           .spu_tlu_rsrv_illgl_m        (1'b0),
4411
 
4412
           // new interface to the pib block
4413
           .ifu_lsu_imm_asi_d           (ifu_tlu_imm_asi_d[8:0]),
4414
 
4415
           .ifu_tlu_imiss_e       (ifu_tlu_icmiss_e),
4416
           // MMU_ASI_RD_CHANGE
4417
           .ifu_tlu_thrid_d             (lsu_tlu_thrid_d[1:0]),
4418
           .lsu_tlu_st_rs3_data_g       (lsu_mmu_rs3_data_g[63:0]),
4419
           .lsu_tlu_async_ttype_g       (lsu_tlu_async_ttype_w2[6:0]),
4420
           .lsu_tlu_async_tid_g         (lsu_tlu_async_tid_w2[1:0]),
4421
           .lsu_tlu_async_ttype_vld_g   (lsu_tlu_async_ttype_vld_w2),
4422
       // end of new interface to the pib
4423
           /*AUTOINST*/
4424
           // Outputs
4425
           .tlu_lsu_int_ldxa_data_w2    (tlu_lsu_int_ldxa_data_w2[63:0]),
4426
           .tlu_lsu_int_ld_ill_va_w2    (tlu_lsu_int_ld_ill_va_w2),
4427
           .tlu_lsu_int_ldxa_vld_w2     (tlu_lsu_int_ldxa_vld_w2),
4428
           .tlu_dtlb_data_rd_g          (tlu_dtlb_data_rd_g),
4429
           .tlu_dtlb_dmp_actxt_g        (tlu_dtlb_dmp_actxt_g),
4430
           .tlu_dtlb_dmp_all_g          (tlu_dtlb_dmp_all_g),
4431
           .tlu_dtlb_dmp_nctxt_g        (tlu_dtlb_dmp_nctxt_g),
4432
           .tlu_dtlb_dmp_pctxt_g        (tlu_dtlb_dmp_pctxt_g),
4433
           .tlu_dtlb_dmp_sctxt_g        (tlu_dtlb_dmp_sctxt_g),
4434
           .tlu_dtlb_dmp_vld_g          (tlu_dtlb_dmp_vld_g),
4435
           .tlu_dtlb_invalidate_all_g   (tlu_dtlb_invalidate_all_g),
4436
           .tlu_dtlb_rw_index_g         (tlu_dtlb_rw_index_g[5:0]),
4437
           .tlu_dtlb_rw_index_vld_g     (tlu_dtlb_rw_index_vld_g),
4438
           .tlu_dtlb_tag_rd_g           (tlu_dtlb_tag_rd_g),
4439
           .tlu_dtlb_tte_data_w2        (tlu_dtlb_tte_data_w2[42:0]),
4440
           .tlu_dtlb_tte_tag_w2         (tlu_dtlb_tte_tag_w2[58:0]),
4441
           .lsu_ifu_inj_ack             (lsu_ifu_inj_ack[3:0]),
4442
           .tlu_exu_agp                 (tlu_exu_agp[2-1:0]),
4443
           .tlu_exu_agp_swap            (tlu_exu_agp_swap),
4444
           .tlu_exu_agp_tid             (tlu_exu_agp_tid[1:0]),
4445
           .tlu_exu_ccr_m               (tlu_exu_ccr_m[7:0]),
4446
           .tlu_exu_cwp_m               (tlu_exu_cwp_m[2:0]),
4447
           .tlu_exu_cwp_retry_m         (tlu_exu_cwp_retry_m),
4448
           .tlu_exu_cwpccr_update_m     (tlu_exu_cwpccr_update_m),
4449
           .tlu_exu_rsr_data_m          (tlu_exu_rsr_data_m[64-1:0]),
4450
           .tlu_idtlb_dmp_key_g         (tlu_idtlb_dmp_key_g[40:0]),
4451
           .tlu_idtlb_dmp_thrid_g       (tlu_idtlb_dmp_thrid_g[1:0]),
4452
           .tlu_ifu_hwint_i3            (tlu_ifu_hwint_i3[3:0]),
4453
           .tlu_ifu_nukeint_i2          (tlu_ifu_nukeint_i2),
4454
           .tlu_ifu_pstate_ie           (tlu_ifu_pstate_ie[3:0]),
4455
           .tlu_ifu_pstate_pef          (tlu_ifu_pstate_pef[3:0]),
4456
           .tlu_ifu_resumint_i2         (tlu_ifu_resumint_i2),
4457
           .tlu_ifu_rstint_i2           (tlu_ifu_rstint_i2),
4458
           .tlu_ifu_rstthr_i2           (tlu_ifu_rstthr_i2[3:0]),
4459
           .tlu_ifu_trap_tid_w1         (tlu_ifu_trap_tid_w1[1:0]),
4460
           .tlu_ifu_trapnpc_vld_w1      (tlu_ifu_trapnpc_vld_w1),
4461
           .tlu_ifu_trapnpc_w2          (tlu_ifu_trapnpc_w2[48:0]),
4462
           .tlu_ifu_trappc_w2           (tlu_ifu_trappc_w2[48:0]),
4463
           .tlu_ifu_trappc_vld_w1       (tlu_ifu_trappc_vld_w1),
4464
           .tlu_itlb_data_rd_g          (tlu_itlb_data_rd_g),
4465
           .tlu_itlb_dmp_actxt_g        (tlu_itlb_dmp_actxt_g),
4466
           .tlu_itlb_dmp_all_g          (tlu_itlb_dmp_all_g),
4467
           .tlu_itlb_dmp_nctxt_g        (tlu_itlb_dmp_nctxt_g),
4468
           .tlu_itlb_dmp_vld_g          (tlu_itlb_dmp_vld_g),
4469
           .tlu_itlb_invalidate_all_g   (tlu_itlb_invalidate_all_g),
4470
           .tlu_itlb_rw_index_g         (tlu_itlb_rw_index_g[5:0]),
4471
           .tlu_itlb_rw_index_vld_g     (tlu_itlb_rw_index_vld_g),
4472
           .tlu_itlb_tag_rd_g           (tlu_itlb_tag_rd_g),
4473
           .tlu_itlb_tte_data_w2        (tlu_itlb_tte_data_w2[42:0]),
4474
           .tlu_itlb_tte_tag_w2         (tlu_itlb_tte_tag_w2[58:0]),
4475
           .tlu_itlb_wr_vld_g           (tlu_itlb_wr_vld_g),
4476
           .tlu_lsu_asi_m               (tlu_lsu_asi_m[7:0]),
4477
           .tlu_lsu_asi_update_m        (tlu_lsu_asi_update_m),
4478
           .tlu_sscan_test_data         (tlu_sscan_test_data[62:0]),
4479
           .tlu_lsu_ldxa_tid_w2         (tlu_lsu_ldxa_tid_w2[1:0]),
4480
           .tlu_lsu_pcxpkt              (tlu_lsu_pcxpkt[25:0]),
4481
           .tlu_lsu_pstate_am           (tlu_lsu_pstate_am[3:0]),
4482
           .tlu_lsu_pstate_cle          (tlu_lsu_pstate_cle[3:0]),
4483
           .tlu_lsu_pstate_priv         (tlu_lsu_pstate_priv[3:0]),
4484
           .tlu_lsu_redmode             (tlu_lsu_redmode[3:0]),
4485
           .tlu_lsu_redmode_rst_d1      (tlu_lsu_redmode_rst_d1[3:0]),
4486
           .tlu_lsu_stxa_ack            (tlu_lsu_stxa_ack),
4487
           .tlu_lsu_stxa_ack_tid        (tlu_lsu_stxa_ack_tid[1:0]),
4488
           .tlu_lsu_tid_m               (tlu_lsu_tid_m[1:0]),
4489
           .tlu_lsu_tl_zero             (tlu_lsu_tl_zero[4-1:0]),
4490
           .tlu_hintp_vld               (tlu_hintp_vld[4-1:0]),
4491
           .tlu_rerr_vld                (tlu_rerr_vld[4-1:0]),
4492
           .tlu_early_flush_pipe_w      (tlu_early_flush_pipe_w),
4493
           .tlu_early_flush_pipe2_w     (tlu_early_flush_pipe2_w),
4494
           .tlu_exu_early_flush_pipe_w  (tlu_exu_early_flush_pipe_w),
4495
           .tlu_lsu_ldxa_async_data_vld (tlu_lsu_ldxa_async_data_vld),
4496
           .tlu_hpstate_priv            (tlu_hpstate_priv[4-1:0]),
4497
           .tlu_hpstate_enb             (tlu_hpstate_enb[4-1:0]),
4498
           .tlu_hpstate_ibe             (tlu_hpstate_ibe[4-1:0]),
4499
           .tlu_exu_priv_trap_m         (tlu_exu_priv_trap_m),
4500
           .tlu_lsu_priv_trap_m         (tlu_lsu_priv_trap_m),
4501
           .tlu_exu_pic_onebelow_m      (tlu_exu_pic_onebelow_m),
4502
           .tlu_exu_pic_twobelow_m      (tlu_exu_pic_twobelow_m),
4503
           .lsu_exu_ldxa_m              (lsu_exu_ldxa_m),
4504
           .lsu_exu_ldxa_data_g         (lsu_exu_ldxa_data_g[63:0]),
4505
           .tlu_dsfsr_flt_vld           (tlu_dsfsr_flt_vld[3:0]),
4506
           // Inputs
4507
           .rclk                        (rclk),
4508
           .const_cpuid                 (const_cpuid[3:0]),
4509
           .exu_lsu_ldst_va_e           (exu_lsu_ldst_va_e[48-1:0]),
4510
           .lsu_tlu_ldst_va_m           (lsu_tlu_ldst_va_m[10-1:0]),
4511
           .exu_mmu_early_va_e          (exu_mmu_early_va_e[7:0]),
4512
           .exu_tlu_ccr0_w              (exu_tlu_ccr0_w[7:0]),
4513
           .exu_tlu_ccr1_w              (exu_tlu_ccr1_w[7:0]),
4514
           .exu_tlu_ccr2_w              (exu_tlu_ccr2_w[7:0]),
4515
           .exu_tlu_ccr3_w              (exu_tlu_ccr3_w[7:0]),
4516
           .exu_tlu_cwp_cmplt           (exu_tlu_cwp_cmplt),
4517
           .exu_tlu_cwp_cmplt_tid       (exu_tlu_cwp_cmplt_tid[1:0]),
4518
           .exu_tlu_cwp_retry           (exu_tlu_cwp_retry),
4519
           .exu_tlu_misalign_addr_jmpl_rtn_m(exu_tlu_misalign_addr_jmpl_rtn_m),
4520
           .exu_tlu_spill               (exu_tlu_spill),
4521
           .exu_tlu_spill_tid           (exu_tlu_spill_tid[1:0]),
4522
           .exu_tlu_spill_other         (exu_tlu_spill_other),
4523
           .exu_tlu_spill_wtype         (exu_tlu_spill_wtype[2:0]),
4524
           .exu_tlu_ttype_m             (exu_tlu_ttype_m[8:0]),
4525
           .exu_tlu_ttype_vld_m         (exu_tlu_ttype_vld_m),
4526
           .exu_tlu_va_oor_jl_ret_m     (exu_tlu_va_oor_jl_ret_m),
4527
           .exu_tlu_va_oor_m            (exu_tlu_va_oor_m),
4528
           .ffu_tlu_ill_inst_m          (ffu_tlu_ill_inst_m),
4529
           .ffu_ifu_tid_w2              (ffu_ifu_tid_w2[1:0]),
4530
           .ffu_tlu_trap_ieee754        (ffu_tlu_trap_ieee754),
4531
           .ffu_tlu_trap_other          (ffu_tlu_trap_other),
4532
           .ffu_tlu_trap_ue             (ffu_tlu_trap_ue),
4533
           .ifu_lsu_ld_inst_e           (ifu_lsu_ld_inst_e),
4534
           .ifu_lsu_memref_d            (ifu_lsu_memref_d),
4535
           .ifu_lsu_st_inst_e           (ifu_lsu_st_inst_e),
4536
           .ifu_tlu_done_inst_d         (ifu_tlu_done_inst_d),
4537
           .ifu_tlu_flush_m             (ifu_tlu_flush_m),
4538
           .ifu_tlu_flush_fd_w          (ifu_tlu_flush_fd_w),
4539
           .ifu_tlu_flush_fd2_w         (ifu_tlu_flush_fd2_w),
4540
           .ifu_tlu_flush_fd3_w         (ifu_tlu_flush_fd3_w),
4541
           .lsu_tlu_early_flush_w       (lsu_tlu_early_flush_w),
4542
           .lsu_tlu_early_flush2_w      (lsu_tlu_early_flush2_w),
4543
           .ifu_tlu_hwint_m             (ifu_tlu_hwint_m),
4544
           .ifu_tlu_immu_miss_m         (ifu_tlu_immu_miss_m),
4545
           .ifu_tlu_pc_oor_e            (ifu_tlu_pc_oor_e),
4546
           .ifu_tlu_l2imiss             (ifu_tlu_l2imiss[4-1:0]),
4547
           .ifu_tlu_inst_vld_m          (ifu_tlu_inst_vld_m),
4548
           .ifu_tlu_inst_vld_m_bf1      (ifu_tlu_inst_vld_m_bf1),
4549
           .ifu_tlu_itlb_done           (ifu_tlu_itlb_done),
4550
           .ifu_tlu_npc_m               (ifu_tlu_npc_m[48:0]),
4551
           .ifu_tlu_pc_m                (ifu_tlu_pc_m[48:0]),
4552
           .ifu_tlu_priv_violtn_m       (ifu_tlu_priv_violtn_m),
4553
           .ifu_tlu_retry_inst_d        (ifu_tlu_retry_inst_d),
4554
           .ifu_tlu_rstint_m            (ifu_tlu_rstint_m),
4555
           .ifu_tlu_sir_inst_m          (ifu_tlu_sir_inst_m),
4556
           .ifu_lsu_thrid_s             (ifu_lsu_thrid_s[1:0]),
4557
           .ifu_tlu_ttype_m             (ifu_tlu_ttype_m[8:0]),
4558
           .ifu_tlu_ttype_vld_m         (ifu_tlu_ttype_vld_m),
4559
           .ifu_mmu_trap_m              (ifu_mmu_trap_m),
4560
           .ifu_tlu_trap_m              (ifu_tlu_trap_m),
4561
           .lsu_asi_reg0                (lsu_asi_reg0[7:0]),
4562
           .lsu_asi_reg1                (lsu_asi_reg1[7:0]),
4563
           .lsu_asi_reg2                (lsu_asi_reg2[7:0]),
4564
           .lsu_asi_reg3                (lsu_asi_reg3[7:0]),
4565
           .lsu_asi_state               (lsu_asi_state[8-1:0]),
4566
           .lsu_tlu_defr_trp_taken_g    (lsu_tlu_defr_trp_taken_g),
4567
           .lsu_mmu_defr_trp_taken_g    (lsu_mmu_defr_trp_taken_g),
4568
           .lsu_tlu_cpx_req             (lsu_tlu_cpx_req[3:0]),
4569
           .lsu_tlu_cpx_vld             (lsu_tlu_cpx_vld),
4570
           .lsu_tlu_daccess_excptn_g    (lsu_tlu_daccess_excptn_g),
4571
           .lsu_tlu_daccess_prot_g      (lsu_tlu_daccess_prot_g),
4572
           .lsu_tlu_dmmu_miss_g         (lsu_tlu_dmmu_miss_g),
4573
           .lsu_tlu_dside_ctxt_m        (lsu_tlu_dside_ctxt_m[12:0]),
4574
           .lsu_tlu_dtlb_done           (lsu_tlu_dtlb_done),
4575
           .lsu_tlu_intpkt              (lsu_tlu_intpkt[17:0]),
4576
           .ctu_sscan_tid               (ctu_sscan_tid[4-1:0]),
4577
           .lsu_tlu_misalign_addr_ldst_atm_m(lsu_tlu_misalign_addr_ldst_atm_m),
4578
           .lsu_tlu_pctxt_m             (lsu_tlu_pctxt_m[12:0]),
4579
           .lsu_tlu_pcxpkt_ack          (lsu_tlu_pcxpkt_ack),
4580
           .lsu_tlu_priv_action_g       (lsu_tlu_priv_action_g),
4581
           .lsu_tlu_rs3_data_g          (lsu_tlu_rs3_data_g[63:0]),
4582
           .lsu_tlu_tlb_access_tid_m    (lsu_tlu_tlb_access_tid_m[1:0]),
4583
           .lsu_tlu_tlb_asi_state_m     (lsu_tlu_tlb_asi_state_m[7:0]),
4584
           .lsu_tlu_tlb_dmp_va_m        (lsu_tlu_tlb_dmp_va_m[47:13]),
4585
           .lsu_tlu_tlb_ld_inst_m       (lsu_tlu_tlb_ld_inst_m),
4586
           .lsu_tlu_tlb_ldst_va_m       (lsu_tlu_tlb_ldst_va_m[10:0]),
4587
           .lsu_tlu_tlb_st_inst_m       (lsu_tlu_tlb_st_inst_m),
4588
           .lsu_tlu_ttype_m2            (lsu_tlu_ttype_m2[8:0]),
4589
           .lsu_tlu_ttype_vld_m2        (lsu_tlu_ttype_vld_m2),
4590
           .lsu_tlu_wtchpt_trp_g        (lsu_tlu_wtchpt_trp_g),
4591
           .mem_write_disable           (mem_write_disable),
4592
           .mux_drive_disable           (mux_drive_disable),
4593
           .sehold                      (sehold),
4594
           .se                          (se),
4595
           .ifu_tlu_sraddr_d            (ifu_tlu_sraddr_d[7-1:0]),
4596
           .ifu_tlu_sraddr_d_v2         (ifu_tlu_sraddr_d_v2[7-1:0]),
4597
           .ifu_tlu_rsr_inst_d          (ifu_tlu_rsr_inst_d),
4598
           .lsu_tlu_wsr_inst_e          (lsu_tlu_wsr_inst_e),
4599
           .exu_tlu_wsr_data_m          (exu_tlu_wsr_data_m[63:0]),
4600
           .lsu_tlu_rsr_data_e          (lsu_tlu_rsr_data_e[7:0]),
4601
           .ifu_lsu_alt_space_e         (ifu_lsu_alt_space_e),
4602
           .ifu_tlu_alt_space_d         (ifu_tlu_alt_space_d),
4603
           .lsu_tlu_squash_va_oor_m     (lsu_tlu_squash_va_oor_m),
4604
           .lsu_tlu_dcache_miss_w2      (lsu_tlu_dcache_miss_w2[3:0]),
4605
           .lsu_tlu_l2_dmiss            (lsu_tlu_l2_dmiss[3:0]),
4606
           .lsu_tlu_stb_full_w2         (lsu_tlu_stb_full_w2[3:0]),
4607
           .ffu_tlu_fpu_tid             (ffu_tlu_fpu_tid[1:0]),
4608
           .ffu_tlu_fpu_cmplt           (ffu_tlu_fpu_cmplt),
4609
           .lsu_pid_state0              (lsu_pid_state0[2:0]),
4610
           .lsu_pid_state1              (lsu_pid_state1[2:0]),
4611
           .lsu_pid_state2              (lsu_pid_state2[2:0]),
4612
           .lsu_pid_state3              (lsu_pid_state3[2:0]),
4613
           .lsu_tlu_nucleus_ctxt_m      (lsu_tlu_nucleus_ctxt_m),
4614
           .lsu_tlu_tte_pg_sz_g         (lsu_tlu_tte_pg_sz_g[2:0]),
4615
           .ifu_lsu_error_inj           (ifu_lsu_error_inj[3:0]),
4616
           .ifu_lsu_imm_asi_vld_d       (ifu_lsu_imm_asi_vld_d),
4617
           .lsu_dsfsr_din_g             (lsu_dsfsr_din_g[23:0]),
4618
           .lsu_dmmu_sfsr_trp_wr        (lsu_dmmu_sfsr_trp_wr[3:0]),
4619
           .lsu_mmu_flush_pipe_w        (lsu_mmu_flush_pipe_w),
4620
           .exu_lsu_priority_trap_m     (exu_lsu_priority_trap_m));
4621
 
4622
 
4623
 
4624
 
4625
 
4626
 
4627
 
4628
 
4629
 
4630
 
4631
 
4632
 
4633
 
4634
 
4635
 
4636
 
4637
 
4638
 
4639
 
4640
 
4641
 
4642
 
4643
 
4644
 
4645
 
4646
 
4647
 
4648
 
4649
 
4650
 
4651
 
4652
 
4653
 
4654
 
4655
 
4656
 
4657
 
4658
 
4659
 
4660
 
4661
 
4662
 
4663
 
4664
 
4665
 
4666
 
4667
 
4668
 
4669
 
4670
 
4671
 
4672
 
4673
 
4674
 
4675
 
4676
 
4677
 
4678
 
4679
 
4680
 
4681
 
4682
 
4683
 
4684
 
4685
 
4686
 
4687
 
4688
 
4689
 
4690
 
4691
 
4692
 
4693
 
4694
 
4695
 
4696
 
4697
 
4698
 
4699
 
4700
 
4701
 
4702
 
4703
 
4704
 
4705
 
4706
 
4707
 
4708
 
4709
 
4710
 
4711
 
4712
 
4713
 
4714
 
4715
 
4716
 
4717
 
4718
 
4719
 
4720
 
4721
 
4722
 
4723
 
4724
 
4725
 
4726
 
4727
 
4728
 
4729
 
4730
 
4731
 
4732
 
4733
 
4734
 
4735
 
4736
 
4737
 
4738
 
4739
 
4740
 
4741
 
4742
 
4743
 
4744
 
4745
 
4746
 
4747
 
4748
 
4749
 
4750
 
4751
 
4752
 
4753
 
4754
 
4755
 
4756
 
4757
 
4758
 
4759
 
4760
 
4761
 
4762
 
4763
 
4764
 
4765
 
4766
 
4767
 
4768
 
4769
 
4770
 
4771
 
4772
 
4773
 
4774
 
4775
 
4776
 
4777
 
4778
 
4779
 
4780
 
4781
 
4782
 
4783
 
4784
 
4785
 
4786
 
4787
 
4788
 
4789
 
4790
 
4791
 
4792
 
4793
 
4794
 
4795
 
4796
 
4797
 
4798
 
4799
 
4800
 
4801
 
4802
 
4803
 
4804
 
4805
 
4806
 
4807
 
4808
 
4809
 
4810
 
4811
 
4812
 
4813
 
4814
 
4815
 
4816
 
4817
 
4818
 
4819
 
4820
 
4821
 
4822
 
4823
 
4824
 
4825
 
4826
 
4827
 
4828
 
4829
 
4830
 
4831
 
4832
 
4833
 
4834
 
4835
 
4836
 
4837
 
4838
 
4839
 
4840
 
4841
 
4842
 
4843
 
4844
 
4845
 
4846
 
4847
 
4848
 
4849
 
4850
 
4851
 
4852
 
4853
 
4854
 
4855
 
4856
 
4857
 
4858
 
4859
 
4860
 //  `ifdef FPGA_SYN_NO_SPU
4861
 
4862
 
4863
 
4864
 
4865
      sparc_mul_top mul(
4866
                     .si                (scan1_2),
4867
                     .so                (scan1_4),
4868
                     //
4869
                     .grst_l             (spc_grst_l),
4870
                     .arst_l                    (cmp_arst_l),
4871
                     /*AUTOINST*/
4872
                     // Outputs
4873
                     .mul_exu_ack       (mul_exu_ack),
4874
                     .mul_spu_ack       (),
4875
                     .mul_spu_shf_ack   (),
4876
                     .mul_data_out      (mul_data_out[63:0]),
4877
                     // Inputs
4878
                     .rclk              (rclk),
4879
                     .se                (se),
4880
                     .exu_mul_input_vld (exu_mul_input_vld),
4881
                     .exu_mul_rs1_data  (exu_mul_rs1_data[63:0]),
4882
                     .exu_mul_rs2_data  (exu_mul_rs2_data[63:0]),
4883
                     .spu_mul_req_vld   (1'b0),
4884
                     .spu_mul_acc       (1'b0),
4885
                     .spu_mul_areg_shf  (1'b0),
4886
                     .spu_mul_areg_rst  (1'b0),
4887
                     .spu_mul_op1_data  (64'h0000000000000000),
4888
                     .spu_mul_op2_data  (64'h0000000000000000),
4889
                     .spu_mul_mulres_lshft(spu_mul_mulres_lshft));
4890
 
4891
 
4892
 
4893
 
4894
 
4895
 
4896
 
4897
 
4898
 
4899
 
4900
 
4901
 
4902
 
4903
 
4904
 
4905
 
4906
 
4907
 
4908
 
4909
 
4910
 
4911
 
4912
 
4913
 
4914
 
4915
 
4916
 
4917
 
4918
 
4919
 //  `ifdef FPGA_SYN_NO_SPU
4920
 
4921
 
4922
 
4923
   sparc_ffu ffu(
4924
                 .short_si0             (short_scan0_4),
4925
                 .short_so0             (short_scan0_6),
4926
                 .si                    (scan0_5),
4927
                 .so                    (scan0_6),
4928
                 // reset stuff
4929
                 .grst_l                (spc_grst_l),
4930
                 .arst_l                (cmp_arst_l),
4931
 
4932
           // eco 6529 .
4933
           .lsu_ffu_st_dtlb_perr_g              (lsu_ffu_st_dtlb_perr_g),
4934
 
4935
                 .exu_ffu_ist_e         (ifu_lsu_st_inst_e),
4936
                 .ifu_ffu_tid_d         (ifu_tlu_thrid_d[1:0]),
4937
                 .cpx_fpu_data          (cpx_spc_data_cx2_buf[63:0]),
4938
                 .cpx_vld             (cpx_spc_data_cx2_buf[144]),
4939
                 .cpx_fcmp            (cpx_spc_data_cx2_buf[69]),
4940
                 .cpx_req             (cpx_spc_data_cx2_buf[143:140]),
4941
                 .cpx_fccval          (cpx_spc_data_cx2_buf[68:67]),
4942
                 .cpx_fpexc           (cpx_spc_data_cx2_buf[76:72]),
4943
                 .exu_ffu_gsr_mask_m  (exu_tlu_wsr_data_m[63:32]),
4944
                 .exu_ffu_gsr_scale_m (exu_tlu_wsr_data_m[7:3]),
4945
                 .exu_ffu_gsr_align_m (exu_tlu_wsr_data_m[2:0]),
4946
                 .exu_ffu_gsr_rnd_m   (exu_tlu_wsr_data_m[27:25]),
4947
                 .ifu_ffu_ldst_single_d   (ifu_ffu_ldst_size_d),
4948
                             /*AUTOINST*/
4949
                 // Outputs
4950
                 .ffu_lsu_data          (ffu_lsu_data[80:0]),
4951
                 .ffu_ifu_cc_vld_w2     (ffu_ifu_cc_vld_w2[3:0]),
4952
                 .ffu_ifu_cc_w2         (ffu_ifu_cc_w2[7:0]),
4953
                 .ffu_ifu_ecc_ce_w2     (ffu_ifu_ecc_ce_w2),
4954
                 .ffu_ifu_ecc_ue_w2     (ffu_ifu_ecc_ue_w2),
4955
                 .ffu_ifu_err_reg_w2    (ffu_ifu_err_reg_w2[5:0]),
4956
                 .ffu_ifu_err_synd_w2   (ffu_ifu_err_synd_w2[13:0]),
4957
                 .ffu_ifu_fpop_done_w2  (ffu_ifu_fpop_done_w2),
4958
                 .ffu_ifu_fst_ce_w      (ffu_ifu_fst_ce_w),
4959
                 .ffu_ifu_inj_ack       (ffu_ifu_inj_ack),
4960
                 .ffu_ifu_stallreq      (ffu_ifu_stallreq),
4961
                 .ffu_ifu_tid_w2        (ffu_ifu_tid_w2[1:0]),
4962
                 .ffu_lsu_blk_st_e      (ffu_lsu_blk_st_e),
4963
                 .ffu_lsu_blk_st_va_e   (ffu_lsu_blk_st_va_e[5:3]),
4964
                 .ffu_lsu_fpop_rq_vld   (ffu_lsu_fpop_rq_vld),
4965
                 .ffu_lsu_kill_fst_w    (ffu_lsu_kill_fst_w),
4966
                 .ffu_tlu_fpu_cmplt     (ffu_tlu_fpu_cmplt),
4967
                 .ffu_tlu_fpu_tid       (ffu_tlu_fpu_tid[1:0]),
4968
                 .ffu_tlu_ill_inst_m    (ffu_tlu_ill_inst_m),
4969
                 .ffu_tlu_trap_ieee754  (ffu_tlu_trap_ieee754),
4970
                 .ffu_tlu_trap_other    (ffu_tlu_trap_other),
4971
                 .ffu_tlu_trap_ue       (ffu_tlu_trap_ue),
4972
                 .ffu_exu_rsr_data_m    (ffu_exu_rsr_data_m[63:0]),
4973
                 // Inputs
4974
                 .mux_drive_disable     (mux_drive_disable),
4975
                 .mem_write_disable     (mem_write_disable),
4976
                 .exu_ffu_wsr_inst_e    (exu_ffu_wsr_inst_e),
4977
                 .ifu_exu_disable_ce_e  (ifu_exu_disable_ce_e),
4978
                 .ifu_exu_ecc_mask      (ifu_exu_ecc_mask[6:0]),
4979
                 .ifu_exu_nceen_e       (ifu_exu_nceen_e),
4980
                 .ifu_ffu_fcc_num_d     (ifu_ffu_fcc_num_d[1:0]),
4981
                 .ifu_ffu_fld_d         (ifu_ffu_fld_d),
4982
                 .ifu_ffu_fpop1_d       (ifu_ffu_fpop1_d),
4983
                 .ifu_ffu_fpop2_d       (ifu_ffu_fpop2_d),
4984
                 .ifu_ffu_fpopcode_d    (ifu_ffu_fpopcode_d[8:0]),
4985
                 .ifu_ffu_frd_d         (ifu_ffu_frd_d[4:0]),
4986
                 .ifu_ffu_frs1_d        (ifu_ffu_frs1_d[4:0]),
4987
                 .ifu_ffu_frs2_d        (ifu_ffu_frs2_d[4:0]),
4988
                 .ifu_ffu_fst_d         (ifu_ffu_fst_d),
4989
                 .ifu_ffu_inj_frferr    (ifu_ffu_inj_frferr),
4990
                 .ifu_ffu_ldfsr_d       (ifu_ffu_ldfsr_d),
4991
                 .ifu_ffu_ldxfsr_d      (ifu_ffu_ldxfsr_d),
4992
                 .ifu_ffu_mvcnd_m       (ifu_ffu_mvcnd_m),
4993
                 .ifu_ffu_quad_op_e     (ifu_ffu_quad_op_e),
4994
                 .ifu_ffu_stfsr_d       (ifu_ffu_stfsr_d),
4995
                 .ifu_ffu_visop_d       (ifu_ffu_visop_d),
4996
                 .ifu_lsu_ld_inst_e     (ifu_lsu_ld_inst_e),
4997
                 .ifu_tlu_flsh_inst_e   (ifu_tlu_flsh_inst_e),
4998
                 .ifu_tlu_flush_w       (ifu_tlu_flush_w),
4999
                 .ifu_tlu_inst_vld_w    (ifu_tlu_inst_vld_w),
5000
                 .ifu_tlu_sraddr_d      (ifu_tlu_sraddr_d[6:0]),
5001
                 .lsu_ffu_ack           (lsu_ffu_ack),
5002
                 .lsu_ffu_bld_cnt_w     (lsu_ffu_bld_cnt_w[2:0]),
5003
                 .lsu_ffu_blk_asi_e     (lsu_ffu_blk_asi_e),
5004
                 .lsu_ffu_flush_pipe_w  (lsu_ffu_flush_pipe_w),
5005
                 .lsu_ffu_ld_data       (lsu_ffu_ld_data[63:0]),
5006
                 .lsu_ffu_ld_vld        (lsu_ffu_ld_vld),
5007
                 .lsu_ffu_stb_full0     (lsu_ffu_stb_full0),
5008
                 .lsu_ffu_stb_full1     (lsu_ffu_stb_full1),
5009
                 .lsu_ffu_stb_full2     (lsu_ffu_stb_full2),
5010
                 .lsu_ffu_stb_full3     (lsu_ffu_stb_full3),
5011
                 .rclk                  (rclk),
5012
                 .se                    (se),
5013
                 .sehold                (sehold));
5014
 
5015
 
5016
 
5017
 
5018
 
5019
 
5020
 
5021
 
5022
 
5023
 
5024
 
5025
 
5026
 
5027
 
5028
 
5029
 
5030
 
5031
 
5032
 
5033
 
5034
 
5035
 
5036
 
5037
 
5038
 
5039
 
5040
 
5041
 
5042
 
5043
 
5044
 
5045
 
5046
 
5047
 
5048
 
5049
 
5050
 
5051
 
5052
 
5053
 
5054
 
5055
 
5056
 
5057
 
5058
 
5059
 
5060
 
5061
 
5062
 
5063
 
5064
 
5065
 
5066
 
5067
 
5068
 
5069
 
5070
 
5071
 
5072
 
5073
 
5074
 
5075
 
5076
 
5077
 
5078
 
5079
 
5080
 
5081
 
5082
 
5083
 
5084
 
5085
 
5086
 
5087
 
5088
 
5089
 
5090
 
5091
 
5092
 
5093
 
5094
 
5095
 
5096
 
5097
 
5098
 
5099
 
5100
 
5101
 
5102
 
5103
 
5104
 
5105
 
5106
 
5107
 
5108
 
5109
 //  `ifdef FPGA_SYN_NO_SPU
5110
 
5111
/*   test_stub_bist AUTO_TEMPLATE(
5112
                                  // Outputs
5113
                                  .so_0 (spc_scanout0),
5114
                                  .so_1 (spc_scanout1),
5115
                                  .mbist_data_mode(mbist_userdata_mode),
5116
 
5117
                                  // Inputs
5118
                                  .mbist_err ({1'b0, mbist_dcache_fail, mbist_icache_fail}),
5119
                                  .cluster_grst_l  (spc_grst_l),
5120
                                  .arst_l (cmp_arst_l));
5121
 */
5122
 
5123
 
5124
 
5125
      test_stub_bist test_stub(
5126
                            // unused
5127
                            .so_2             (),
5128
                            .long_chain_so_2  (1'b0),
5129
                            .short_chain_so_2 (1'b0),
5130
 
5131
                            // connect with scan stitch
5132
                            .si(scan1_4),
5133
                            .so (scan1_5),
5134
                            .long_chain_so_0  (scan0_7),
5135
                            .short_chain_so_0 (short_scan0_6),
5136
                            .long_chain_so_1  (scan1_5),
5137
                            .short_chain_so_1 (short_scan1_4),
5138
 
5139
                            // from LSU
5140
                            .bist_ctl_reg_in(bist_ctl_reg_in[6:0]),
5141
 
5142
                            /*AUTOINST*/
5143
                            // Outputs
5144
                            .mux_drive_disable(mux_drive_disable),
5145
                            .mem_write_disable(mem_write_disable),
5146
                            .sehold     (sehold),
5147
                            .se         (se),
5148
                            .testmode_l (testmode_l),
5149
                            .mem_bypass (),
5150
                            .so_0       (spc_scanout0),          // Templated
5151
                            .so_1       (spc_scanout1),          // Templated
5152
                            .tst_ctu_mbist_done(tst_ctu_mbist_done),
5153
                            .tst_ctu_mbist_fail(tst_ctu_mbist_fail),
5154
                            .bist_ctl_reg_out(bist_ctl_reg_out[10:0]),
5155
                            .mbist_bisi_mode(mbist_bisi_mode),
5156
                            .mbist_stop_on_next_fail(mbist_stop_on_next_fail),
5157
                            .mbist_stop_on_fail(mbist_stop_on_fail),
5158
                            .mbist_loop_mode(mbist_loop_mode),
5159
                            .mbist_loop_on_addr(mbist_loop_on_addr),
5160
                            .mbist_data_mode(mbist_userdata_mode), // Templated
5161
                            .mbist_start(mbist_start),
5162
                            // Inputs
5163
                            .ctu_tst_pre_grst_l(ctu_tst_pre_grst_l),
5164
                            .arst_l     (cmp_arst_l),            // Templated
5165
                            .cluster_grst_l(spc_grst_l),         // Templated
5166
                            .global_shift_enable(global_shift_enable),
5167
                            .ctu_tst_scan_disable(ctu_tst_scan_disable),
5168
                            .ctu_tst_scanmode(ctu_tst_scanmode),
5169
                            .ctu_tst_macrotest(ctu_tst_macrotest),
5170
                            .ctu_tst_short_chain(ctu_tst_short_chain),
5171
                            .ctu_tst_mbist_enable(ctu_tst_mbist_enable),
5172
                            .rclk       (rclk),
5173
                            .bist_ctl_reg_wr_en(bist_ctl_reg_wr_en),
5174
                            .mbist_done (mbist_done),
5175
                            .mbist_err  ({1'b0, mbist_dcache_fail, mbist_icache_fail})); // Templated
5176
 
5177
 
5178
 
5179
 
5180
 
5181
 
5182
 
5183
 
5184
 
5185
 
5186
 
5187
 
5188
 
5189
 
5190
 
5191
 
5192
 
5193
 
5194
 
5195
 
5196
 
5197
 
5198
 
5199
 
5200
 
5201
 
5202
 
5203
 
5204
 
5205
 
5206
 
5207
 
5208
 
5209
 
5210
 
5211
 
5212
 
5213
 
5214
 
5215
 
5216
 
5217
 
5218
 
5219
 
5220
 
5221
 
5222
 
5223
 
5224
 
5225
 
5226
 
5227
 
5228
 
5229
 
5230
 
5231
 //  `ifdef FPGA_SYN_NO_SPU
5232
 
5233
 
5234
/*  bw_clk_cl_sparc_cmp AUTO_TEMPLATE(
5235
                               .si      (scan0_6),
5236
                               .so      (scan0_7),
5237
                           .arst_l       (cmp_arst_l),
5238
                           .grst_l       (cmp_grst_l),
5239
                           // Outputs
5240
                           .dbginit_l    (spc_dbginit_l),
5241
                           .cluster_grst_l   (spc_grst_l));
5242
 */
5243
   bw_clk_cl_sparc_cmp spc_hdr(/*AUTOINST*/
5244
                               // Outputs
5245
                               .cluster_grst_l(spc_grst_l),      // Templated
5246
                               .dbginit_l(spc_dbginit_l),        // Templated
5247
                               .rclk    (rclk),
5248
                               .so      (scan0_7),               // Templated
5249
                               // Inputs
5250
                               .adbginit_l(adbginit_l),
5251
                               .arst_l  (cmp_arst_l),            // Templated
5252
                               .cluster_cken(cluster_cken),
5253
                               .gclk    (gclk),
5254
                               .gdbginit_l(gdbginit_l),
5255
                               .grst_l  (cmp_grst_l),            // Templated
5256
                               .se      (se),
5257
                               .si      (scan0_6));               // Templated
5258
endmodule // sparc
5259
 
5260
 
5261
// Local Variables:
5262
// verilog-library-directories:("../tlu/rtl" "../ifu/rtl" "../exu/rtl" "../lsu/rtl" "../spu/rtl" "../mul/rtl" "../ffu/rtl/" "../../common/rtl" ".")
5263
// End:
5264
 
5265
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.