Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / ilu_peu / vera / csrtool / fire_vera_define.vri
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: fire_vera_define.vri
4// Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
5// 4150 Network Circle, Santa Clara, California 95054, U.S.A.
6//
7// * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8//
9// This program is free software; you can redistribute it and/or modify
10// it under the terms of the GNU General Public License as published by
11// the Free Software Foundation; version 2 of the License.
12//
13// This program is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16// GNU General Public License for more details.
17//
18// You should have received a copy of the GNU General Public License
19// along with this program; if not, write to the Free Software
20// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21//
22// For the avoidance of doubt, and except that if any non-GPL license
23// choice is available it will apply instead, Sun elects to use only
24// the General Public License version 2 (GPLv2) at this time for any
25// software where a choice of GPL license versions is made
26// available with the language indicating that GPLv2 or any later version
27// may be used, or where a choice of which version of the GPL is applied is
28// otherwise unspecified.
29//
30// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
31// CA 95054 USA or visit www.sun.com if you need additional information or
32// have any questions.
33//
34// ========== Copyright Header End ============================================
35`define FIRE_DLC_ILU_CIB_A_ID 0
36
37`define FIRE_DLC_ILU_CIB_CSR_A_ILU_LOG_EN_0 0
38`define FIRE_DLC_ILU_CIB_CSR_A_ILU_INT_EN_0 1
39`define FIRE_DLC_ILU_CIB_CSR_A_ILU_LOG_ERR_RW1C_ALIAS_0 2
40`define FIRE_DLC_ILU_CIB_CSR_A_PEC_INT_EN_0 3
41`define FIRE_DLC_ILU_CIB_CSR_A_ILU_DIAGNOS_0 4
42
43`define FIRE_DLC_ILU_CIB_A_MIN_CSR_NUM 0
44`define FIRE_DLC_ILU_CIB_A_MAX_CSR_NUM 4
45
46//=================================================
47// Instance: fire_plc_tlu_ctb_tlr_a
48//=================================================
49
50`define FIRE_PLC_TLU_CTB_TLR_A_ID 1
51
52`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_CTL_0 5
53`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_STS_0 6
54`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TRN_OFF_0 7
55`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_ICI_0 8
56`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_DIAG_0 9
57`define FIRE_PLC_TLU_CTB_TLR_CSR_A_OE_LOG_0 10
58`define FIRE_PLC_TLU_CTB_TLR_CSR_A_OE_INT_EN_0 11
59`define FIRE_PLC_TLU_CTB_TLR_CSR_A_OE_ERR_RW1C_ALIAS_0 12
60`define FIRE_PLC_TLU_CTB_TLR_CSR_A_ROE_HDR1_0 13
61`define FIRE_PLC_TLU_CTB_TLR_CSR_A_ROE_HDR2_0 14
62`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TOE_HDR1_0 15
63`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TOE_HDR2_0 16
64`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_PRFC_0 17
65`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_PRF0_0 18
66`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_PRF1_0 19
67`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_PRF2_0 20
68`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_DBG_SEL_A_0 21
69`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TLU_DBG_SEL_B_0 22
70`define FIRE_PLC_TLU_CTB_TLR_CSR_A_DEV_CAP_0 23
71`define FIRE_PLC_TLU_CTB_TLR_CSR_A_DEV_CTL_0 24
72`define FIRE_PLC_TLU_CTB_TLR_CSR_A_DEV_STS_0 25
73`define FIRE_PLC_TLU_CTB_TLR_CSR_A_LNK_CAP_0 26
74`define FIRE_PLC_TLU_CTB_TLR_CSR_A_LNK_CTL_0 27
75`define FIRE_PLC_TLU_CTB_TLR_CSR_A_LNK_STS_0 28
76`define FIRE_PLC_TLU_CTB_TLR_CSR_A_UE_LOG_0 29
77`define FIRE_PLC_TLU_CTB_TLR_CSR_A_UE_INT_EN_0 30
78`define FIRE_PLC_TLU_CTB_TLR_CSR_A_UE_ERR_RW1C_ALIAS_0 31
79`define FIRE_PLC_TLU_CTB_TLR_CSR_A_RUE_HDR1_0 32
80`define FIRE_PLC_TLU_CTB_TLR_CSR_A_RUE_HDR2_0 33
81`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TUE_HDR1_0 34
82`define FIRE_PLC_TLU_CTB_TLR_CSR_A_TUE_HDR2_0 35
83`define FIRE_PLC_TLU_CTB_TLR_CSR_A_CE_LOG_0 36
84`define FIRE_PLC_TLU_CTB_TLR_CSR_A_CE_INT_EN_0 37
85`define FIRE_PLC_TLU_CTB_TLR_CSR_A_CE_ERR_RW1C_ALIAS_0 38
86`define FIRE_PLC_TLU_CTB_TLR_CSR_A_PEU_DLPL_SERDES_REV_0 39
87`define FIRE_PLC_TLU_CTB_TLR_CSR_A_ACKNAK_THRESH_0 40
88`define FIRE_PLC_TLU_CTB_TLR_CSR_A_ACKNAK_TIMER_0 41
89`define FIRE_PLC_TLU_CTB_TLR_CSR_A_REPLAY_TIM_THRESH_0 42
90`define FIRE_PLC_TLU_CTB_TLR_CSR_A_REPLAY_TIMER_0 43
91`define FIRE_PLC_TLU_CTB_TLR_CSR_A_VEN_DLLP_MSG_0 44
92`define FIRE_PLC_TLU_CTB_TLR_CSR_A_FORCE_LTSSM_0 45
93`define FIRE_PLC_TLU_CTB_TLR_CSR_A_LINK_CFG_0 46
94`define FIRE_PLC_TLU_CTB_TLR_CSR_A_LINK_CTL_0 47
95`define FIRE_PLC_TLU_CTB_TLR_CSR_A_LANE_SKEW_0 48
96`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SYMBOL_NUM_0 49
97`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SYMBOL_TIMER_0 50
98`define FIRE_PLC_TLU_CTB_TLR_CSR_A_CORE_STATUS_0 51
99`define FIRE_PLC_TLU_CTB_TLR_CSR_A_EVENT_ERR_LOG_EN_0 52
100`define FIRE_PLC_TLU_CTB_TLR_CSR_A_EVENT_ERR_INT_EN_0 53
101`define FIRE_PLC_TLU_CTB_TLR_CSR_A_EVENT_ERR_STS_CLR_RW1C_ALIAS_0 54
102`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_PLL_0 55
103`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_CTL_0 56
104`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_CTL_1 57
105`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_CTL_2 58
106`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_CTL_3 59
107`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_CTL_4 60
108`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_CTL_5 61
109`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_CTL_6 62
110`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_CTL_7 63
111`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_STATUS_0 64
112`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_STATUS_1 65
113`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_STATUS_2 66
114`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_STATUS_3 67
115`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_STATUS_4 68
116`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_STATUS_5 69
117`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_STATUS_6 70
118`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_RECEIVER_LANE_STATUS_7 71
119`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_CTL_0 72
120`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_CTL_1 73
121`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_CTL_2 74
122`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_CTL_3 75
123`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_CTL_4 76
124`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_CTL_5 77
125`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_CTL_6 78
126`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_CTL_7 79
127`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_STATUS_0 80
128`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_STATUS_1 81
129`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_STATUS_2 82
130`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_STATUS_3 83
131`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_STATUS_4 84
132`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_STATUS_5 85
133`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_STATUS_6 86
134`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_XMITTER_LANE_STATUS_7 87
135`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_MACRO_TEST_CFG_0 88
136`define FIRE_PLC_TLU_CTB_TLR_CSR_A_SERDES_MACRO_TEST_CFG_1 89
137
138`define FIRE_PLC_TLU_CTB_TLR_A_MIN_CSR_NUM 5
139`define FIRE_PLC_TLU_CTB_TLR_A_MAX_CSR_NUM 89
140
141//=================================================
142// Instance: fire_dlc_ilu_cib_b
143//=================================================
144
145`define FIRE_DLC_ILU_CIB_B_ID 2
146
147`define FIRE_DLC_ILU_CIB_CSR_B_ILU_LOG_EN_0 90
148`define FIRE_DLC_ILU_CIB_CSR_B_ILU_INT_EN_0 91
149`define FIRE_DLC_ILU_CIB_CSR_B_ILU_LOG_ERR_RW1C_ALIAS_0 92
150`define FIRE_DLC_ILU_CIB_CSR_B_PEC_INT_EN_0 93
151`define FIRE_DLC_ILU_CIB_CSR_B_ILU_DIAGNOS_0 94
152
153`define FIRE_DLC_ILU_CIB_B_MIN_CSR_NUM 90
154`define FIRE_DLC_ILU_CIB_B_MAX_CSR_NUM 94
155
156//=================================================
157// Instance: fire_plc_tlu_ctb_tlr_b
158//=================================================
159
160`define FIRE_PLC_TLU_CTB_TLR_B_ID 3
161
162`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_CTL_0 95
163`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_STS_0 96
164`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TRN_OFF_0 97
165`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_ICI_0 98
166`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_DIAG_0 99
167`define FIRE_PLC_TLU_CTB_TLR_CSR_B_OE_LOG_0 100
168`define FIRE_PLC_TLU_CTB_TLR_CSR_B_OE_INT_EN_0 101
169`define FIRE_PLC_TLU_CTB_TLR_CSR_B_OE_ERR_RW1C_ALIAS_0 102
170`define FIRE_PLC_TLU_CTB_TLR_CSR_B_ROE_HDR1_0 103
171`define FIRE_PLC_TLU_CTB_TLR_CSR_B_ROE_HDR2_0 104
172`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TOE_HDR1_0 105
173`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TOE_HDR2_0 106
174`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_PRFC_0 107
175`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_PRF0_0 108
176`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_PRF1_0 109
177`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_PRF2_0 110
178`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_DBG_SEL_A_0 111
179`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TLU_DBG_SEL_B_0 112
180`define FIRE_PLC_TLU_CTB_TLR_CSR_B_DEV_CAP_0 113
181`define FIRE_PLC_TLU_CTB_TLR_CSR_B_DEV_CTL_0 114
182`define FIRE_PLC_TLU_CTB_TLR_CSR_B_DEV_STS_0 115
183`define FIRE_PLC_TLU_CTB_TLR_CSR_B_LNK_CAP_0 116
184`define FIRE_PLC_TLU_CTB_TLR_CSR_B_LNK_CTL_0 117
185`define FIRE_PLC_TLU_CTB_TLR_CSR_B_LNK_STS_0 118
186`define FIRE_PLC_TLU_CTB_TLR_CSR_B_UE_LOG_0 119
187`define FIRE_PLC_TLU_CTB_TLR_CSR_B_UE_INT_EN_0 120
188`define FIRE_PLC_TLU_CTB_TLR_CSR_B_UE_ERR_RW1C_ALIAS_0 121
189`define FIRE_PLC_TLU_CTB_TLR_CSR_B_RUE_HDR1_0 122
190`define FIRE_PLC_TLU_CTB_TLR_CSR_B_RUE_HDR2_0 123
191`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TUE_HDR1_0 124
192`define FIRE_PLC_TLU_CTB_TLR_CSR_B_TUE_HDR2_0 125
193`define FIRE_PLC_TLU_CTB_TLR_CSR_B_CE_LOG_0 126
194`define FIRE_PLC_TLU_CTB_TLR_CSR_B_CE_INT_EN_0 127
195`define FIRE_PLC_TLU_CTB_TLR_CSR_B_CE_ERR_RW1C_ALIAS_0 128
196`define FIRE_PLC_TLU_CTB_TLR_CSR_B_PEU_DLPL_SERDES_REV_0 129
197`define FIRE_PLC_TLU_CTB_TLR_CSR_B_ACKNAK_THRESH_0 130
198`define FIRE_PLC_TLU_CTB_TLR_CSR_B_ACKNAK_TIMER_0 131
199`define FIRE_PLC_TLU_CTB_TLR_CSR_B_REPLAY_TIM_THRESH_0 132
200`define FIRE_PLC_TLU_CTB_TLR_CSR_B_REPLAY_TIMER_0 133
201`define FIRE_PLC_TLU_CTB_TLR_CSR_B_VEN_DLLP_MSG_0 134
202`define FIRE_PLC_TLU_CTB_TLR_CSR_B_FORCE_LTSSM_0 135
203`define FIRE_PLC_TLU_CTB_TLR_CSR_B_LINK_CFG_0 136
204`define FIRE_PLC_TLU_CTB_TLR_CSR_B_LINK_CTL_0 137
205`define FIRE_PLC_TLU_CTB_TLR_CSR_B_LANE_SKEW_0 138
206`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SYMBOL_NUM_0 139
207`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SYMBOL_TIMER_0 140
208`define FIRE_PLC_TLU_CTB_TLR_CSR_B_CORE_STATUS_0 141
209`define FIRE_PLC_TLU_CTB_TLR_CSR_B_EVENT_ERR_LOG_EN_0 142
210`define FIRE_PLC_TLU_CTB_TLR_CSR_B_EVENT_ERR_INT_EN_0 143
211`define FIRE_PLC_TLU_CTB_TLR_CSR_B_EVENT_ERR_STS_CLR_RW1C_ALIAS_0 144
212`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_PLL_0 145
213`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_CTL_0 146
214`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_CTL_1 147
215`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_CTL_2 148
216`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_CTL_3 149
217`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_CTL_4 150
218`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_CTL_5 151
219`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_CTL_6 152
220`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_CTL_7 153
221`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_STATUS_0 154
222`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_STATUS_1 155
223`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_STATUS_2 156
224`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_STATUS_3 157
225`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_STATUS_4 158
226`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_STATUS_5 159
227`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_STATUS_6 160
228`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_RECEIVER_LANE_STATUS_7 161
229`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_CTL_0 162
230`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_CTL_1 163
231`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_CTL_2 164
232`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_CTL_3 165
233`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_CTL_4 166
234`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_CTL_5 167
235`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_CTL_6 168
236`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_CTL_7 169
237`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_STATUS_0 170
238`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_STATUS_1 171
239`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_STATUS_2 172
240`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_STATUS_3 173
241`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_STATUS_4 174
242`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_STATUS_5 175
243`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_STATUS_6 176
244`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_XMITTER_LANE_STATUS_7 177
245`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_MACRO_TEST_CFG_0 178
246`define FIRE_PLC_TLU_CTB_TLR_CSR_B_SERDES_MACRO_TEST_CFG_1 179
247
248`define FIRE_PLC_TLU_CTB_TLR_B_MIN_CSR_NUM 95
249`define FIRE_PLC_TLU_CTB_TLR_B_MAX_CSR_NUM 179
250
251//=================================================
252// Define total numbers of CSRs
253//=================================================
254
255`define FIRE_MIN_CSR_NUM 0
256`define FIRE_MAX_CSR_NUM 179