Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / niu / vera / niu_pio / include / bmac_memory_map.vri
CommitLineData
86530b38
AT
1// ========== Copyright Header Begin ==========================================
2//
3// OpenSPARC T2 Processor File: bmac_memory_map.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#include "neptune_memory_map.vri"
36
37#define BTxMAC_SW_RST (12'h000 <<1) // 1 bit w/self clear
38#define BRxMAC_SW_RST (12'h004 <<1) // 1 bit w/self clear
39#define MAC_SEND_PAUSE (12'h000 <<1) // 17 bit w/self clear
40
41#define BTxMAC_STATUS (12'h010 <<1) // 9 bit
42#define BRxMAC_STATUS (12'h014 <<1) // 7 bit
43#define BMAC_CTRL_STAT (12'h018 <<1) // 32 bit
44
45#define BTxMAC_STAT_MSK (12'h020 <<1) // 9 bit
46#define BRxMAC_STAT_MSK (12'h024 <<1) // 7 bit
47#define BMAC_C_S_MSK (12'h028 <<1) // 3 bit
48
49#define TxMAC_CONFIG (12'h030 <<1) // 10 bit
50#define RxMAC_CONFIG (12'h034 <<1) // 9 bit
51#define MAC_CTRL_CONFIG (12'h038 <<1) // 3 bit
52#define MAC_XIF_CONFIG (12'h03C <<1) // 8 bit
53
54#define MAC_IPG0 (12'h040 <<1) // 8 bit
55#define MAC_IPG1 (12'h044 <<1) // 8 bit
56#define MAC_IPG2 (12'h048 <<1) // 8 bit
57
58#define MAC_SLOT_TIME (12'h04C <<1) // 10 bit
59
60#define BMAC_MIN (12'h050 <<1) // 10 bit
61#define BMAC_MAX (12'h054 <<1)
62#define MAC_PA_SIZE (12'h058 <<1) // 10 bit
63#define MAC_JAM_SIZE (12'h05C <<1) // 4 bit
64#define MAC_ATTMPT_LMT (12'h060 <<1) // 8 bit
65#define MAC_CTRL_TYPE (12'h064 <<1) // 16 bit
66
67#define BMAC_ADDR0 (12'h080 <<1) // 16 bit ADDRL
68#define BMAC_ADDR1 (12'h084 <<1) // 16 bit ADDRM
69#define BMAC_ADDR2 (12'h088 <<1) // 16 bit ADDRH
70
71#define MAC_ADDR3 (12'h08C <<1) // 16 bit
72#define MAC_ADDR4 (12'h090 <<1) // 16 bit
73#define MAC_ADDR5 (12'h094 <<1) // 16 bit
74#define MAC_ADDR6 (12'h098 <<1) // 16 bit
75#define MAC_ADDR7 (12'h09C <<1) // 16 bit
76#define MAC_ADDR8 (12'h0A0 <<1) // 16 bit
77#define MAC_ADDR9 (12'h0A4 <<1) // 16 bit
78#define MAC_ADDR10 (12'h0A8 <<1) // 16 bit
79#define MAC_ADDR11 (12'h0AC <<1) // 16 bit
80#define MAC_ADDR12 (12'h0B0 <<1) // 16 bit
81#define MAC_ADDR13 (12'h0B4 <<1) // 16 bit
82#define MAC_ADDR14 (12'h0B8 <<1) // 16 bit
83#define MAC_ADDR15 (12'h0BC <<1) // 16 bit
84#define MAC_ADDR16 (12'h0C0 <<1) // 16 bit
85#define MAC_ADDR17 (12'h0C4 <<1) // 16 bit
86#define MAC_ADDR18 (12'h0C8 <<1) // 16 bit
87#define MAC_ADDR19 (12'h0CC <<1) // 16 bit
88#define MAC_ADDR20 (12'h0D0 <<1) // 16 bit
89#define MAC_ADDR21 (12'h0D4 <<1) // 16 bit
90#define MAC_ADDR22 (12'h0D8 <<1) // 16 bit
91#define MAC_ADDR23 (12'h0DC <<1) // 16 bit
92#define MAC_ADDR24 (12'h0E0 <<1) // 16 bit
93#define MAC_ADDR25 (12'h0E4 <<1) // 16 bit
94#define MAC_ADDR26 (12'h0E8 <<1) // 16 bit
95#define MAC_ADDR27 (12'h0EC <<1) // 16 bit
96#define MAC_ADDR28 (12'h0F0 <<1) // 16 bit
97#define MAC_ADDR29 (12'h0F4 <<1) // 16 bit
98#define MAC_ADDR30 (12'h0F8 <<1) // 16 bit
99#define MAC_ADDR31 (12'h0FC <<1) // 16 bit
100#define MAC_ADDR32 (12'h100 <<1) // 16 bit
101#define MAC_ADDR33 (12'h104 <<1) // 16 bit
102#define MAC_ADDR34 (12'h108 <<1) // 16 bit
103#define MAC_ADDR35 (12'h10C <<1) // 16 bit
104#define MAC_ADDR36 (12'h110 <<1) // 16 bit
105#define MAC_ADDR37 (12'h114 <<1) // 16 bit
106#define MAC_ADDR38 (12'h118 <<1) // 16 bit
107#define MAC_ADDR39 (12'h11C <<1) // 16 bit
108#define MAC_ADDR40 (12'h120 <<1) // 16 bit
109#define MAC_ADDR41 (12'h124 <<1) // 16 bit
110#define MAC_ADDR42 (12'h128 <<1) // 16 bit
111#define MAC_ADDR43 (12'h12C <<1) // 16 bit
112#define MAC_ADDR44 (12'h130 <<1) // 16 bit
113
114#define MAC_FC_ADDR0 (12'h134 <<1) // 16 bit
115#define MAC_FC_ADDR1 (12'h138 <<1) // 16 bit
116#define MAC_FC_ADDR2 (12'h13C <<1) // 16 bit
117
118#define MAC_ADD_FILT0 (12'h14C <<1) // 16 bit
119#define MAC_ADD_FILT1 (12'h150 <<1) // 16 bit
120#define MAC_ADD_FILT2 (12'h154 <<1) // 16 bit
121#define MAC_ADD_FILT12_MASK (12'h158 <<1) // 16 bit
122#define MAC_ADD_FILT00_MASK (12'h15C <<1) // 16 bit
123
124#define MAC_HASH_TBL0 (12'h160 <<1) // 16 bit
125#define MAC_HASH_TBL1 (12'h164 <<1) // 16 bit
126#define MAC_HASH_TBL2 (12'h168 <<1) // 16 bit
127#define MAC_HASH_TBL3 (12'h16C <<1) // 16 bit
128#define MAC_HASH_TBL4 (12'h170 <<1) // 16 bit
129#define MAC_HASH_TBL5 (12'h174 <<1) // 16 bit
130#define MAC_HASH_TBL6 (12'h178 <<1) // 16 bit
131#define MAC_HASH_TBL7 (12'h17C <<1) // 16 bit
132#define MAC_HASH_TBL8 (12'h180 <<1) // 16 bit
133#define MAC_HASH_TBL9 (12'h184 <<1) // 16 bit
134#define MAC_HASH_TBL10 (12'h188 <<1) // 16 bit
135#define MAC_HASH_TBL11 (12'h18C <<1) // 16 bit
136#define MAC_HASH_TBL12 (12'h190 <<1) // 16 bit
137#define MAC_HASH_TBL13 (12'h194 <<1) // 16 bit
138#define MAC_HASH_TBL14 (12'h198 <<1) // 16 bit
139#define MAC_HASH_TBL15 (12'h19C <<1) // 16 bit
140
141#define BMAC_COL_CNT (12'h1A0 <<1) // 16 bit
142#define BMAC_OA_COL_CNT (12'h1A4 <<1) // 16 bit
143#define BMAC_EX_COL_CNT (12'h1A8 <<1) // 16 bit
144#define BMAC_LT_COL_CNT (12'h1AC <<1) // 16 bit
145
146#define MAC_DEF_TIMER (12'h1B0 <<1) // 16 bit
147#define BMAC_PK_ATT_CNT (12'h1B4 <<1) // 8 bit
148
149#define BRxMAC_FRM_CNT (12'h1B8 <<1) // 16 bit
150#define MAC_LEN_ER_CNT (12'h1BC <<1) // 16 bit
151#define BMAC_AL_ER_CNT (12'h1C0 <<1) // 16 bit
152#define BMAC_CRC_ER_CNT (12'h1C4 <<1) // 16 bit
153#define BMAC_CD_VIO_CNT (12'h1C8 <<1) // 16 bit
154#define MAC_RND_SEED (12'h1CC <<1) // 16 bit
155
156#define BMAC_SM_REG (12'h1D0 <<1) // 27 bit
157
158
159#define BMAC_ALTAD_CMPEN (12'h1FC <<1) //
160
161#define BMAC_HOST_INFO (12'h200 <<1) // 21 bit
162#define BMAC_HOST_INF1 (12'h204 <<1) // 21 bit
163#define BMAC_HOST_INF2 (12'h208 <<1) // 21 bit
164#define BMAC_HOST_INF3 (12'h20C <<1) // 21 bit
165#define BMAC_HOST_INF4 (12'h210 <<1) // 21 bit
166#define BMAC_HOST_INF5 (12'h214 <<1) // 21 bit
167#define BMAC_HOST_INF6 (12'h218 <<1) // 21 bit
168#define BMAC_HOST_INF7 (12'h21C <<1) // 21 bit
169
170
171#define BTxMAC_BYTE_CNT (12'h220 <<1) // 21 bit
172#define BTxMAC_FRM_CNT (12'h224 <<1) // 21 bit
173#define BRxMAC_BYTE_CNT (12'h22c <<1) // 21 bit
174//#define BRxMAC_BYTE_CNT (12'h240 <<1) // 21 bit
175
176#define BTxMAC_SW_RST_MASK ((1<<2)-1)
177#define BRxMAC_SW_RST_MASK ((1<<2)-1)
178#define MAC_SEND_PAUSE_MASK ((1<<17)-1)
179
180#define BTxMAC_STATUS_MASK ((1<<12)-1)
181#define BRxMAC_STATUS_MASK ((1<<16)-1)
182#define BMAC_CTRL_STAT_MASK ((1<<16)-1)
183
184#define BTxMAC_STAT_MSK_MASK ((1<<9)-1)
185#define BRxMAC_STAT_MSK_MASK ((1<<7)-1)
186#define BMAC_C_S_MSK_MASK ((1<<3)-1)
187
188#define TxMAC_CONFIG_MASK 32'h0000_03ff
189#define RxMAC_CONFIG_MASK 32'h0000_00ff
190#define MAC_CTRL_CONFIG_MASK 32'h0000_0007
191#define MAC_XIF_CONFIG_MASK 32'h0000_00ff
192
193#define MAC_IPG0_MASK ((1<<8)-1)
194#define MAC_IPG1_MASK ((1<<8)-1)
195#define MAC_IPG2_MASK ((1<<8)-1)
196#define MAC_SLOT_TIME_MASK ((1<<10)-1)
197
198#define BMAC_MIN_MASK ((1<<10)-1)
199#define BMAC_MAX_MASK 32'h3fff3fff
200
201#define MAC_PA_SIZE_MASK ((1<<10)-1)
202#define MAC_JAM_SIZE_MASK ((1<<4)-1)
203#define MAC_ATTMPT_LMT_MASK ((1<<8)-1)
204#define MAC_CTRL_TYPE_MASK ((1<<16)-1)
205
206#define BMAC_ADDR0_MASK ((1<<16)-1)
207#define BMAC_ADDR1_MASK ((1<<16)-1)
208#define BMAC_ADDR2_MASK ((1<<16)-1)
209#define MAC_ADDR3_MASK ((1<<16)-1)
210#define MAC_ADDR4_MASK ((1<<16)-1)
211#define MAC_ADDR5_MASK ((1<<16)-1)
212#define MAC_ADDR6_MASK ((1<<16)-1)
213#define MAC_ADDR7_MASK ((1<<16)-1)
214#define MAC_ADDR8_MASK ((1<<16)-1)
215#define MAC_ADDR9_MASK ((1<<16)-1)
216#define MAC_ADDR10_MASK ((1<<16)-1)
217#define MAC_ADDR11_MASK ((1<<16)-1)
218#define MAC_ADDR12_MASK ((1<<16)-1)
219#define MAC_ADDR13_MASK ((1<<16)-1)
220#define MAC_ADDR14_MASK ((1<<16)-1)
221#define MAC_ADDR15_MASK ((1<<16)-1)
222#define MAC_ADDR16_MASK ((1<<16)-1)
223#define MAC_ADDR17_MASK ((1<<16)-1)
224#define MAC_ADDR18_MASK ((1<<16)-1)
225#define MAC_ADDR19_MASK ((1<<16)-1)
226#define MAC_ADDR20_MASK ((1<<16)-1)
227#define MAC_ADDR21_MASK ((1<<16)-1)
228#define MAC_ADDR22_MASK ((1<<16)-1)
229#define MAC_ADDR23_MASK ((1<<16)-1)
230#define MAC_ADDR24_MASK ((1<<16)-1)
231#define MAC_ADDR25_MASK ((1<<16)-1)
232#define MAC_ADDR26_MASK ((1<<16)-1)
233#define MAC_ADDR27_MASK ((1<<16)-1)
234#define MAC_ADDR28_MASK ((1<<16)-1)
235#define MAC_ADDR29_MASK ((1<<16)-1)
236#define MAC_ADDR30_MASK ((1<<16)-1)
237#define MAC_ADDR31_MASK ((1<<16)-1)
238#define MAC_ADDR32_MASK ((1<<16)-1)
239#define MAC_ADDR33_MASK ((1<<16)-1)
240#define MAC_ADDR34_MASK ((1<<16)-1)
241#define MAC_ADDR35_MASK ((1<<16)-1)
242#define MAC_ADDR36_MASK ((1<<16)-1)
243#define MAC_ADDR37_MASK ((1<<16)-1)
244#define MAC_ADDR38_MASK ((1<<16)-1)
245#define MAC_ADDR39_MASK ((1<<16)-1)
246#define MAC_ADDR40_MASK ((1<<16)-1)
247#define MAC_ADDR41_MASK ((1<<16)-1)
248#define MAC_ADDR42_MASK ((1<<16)-1)
249#define MAC_ADDR43_MASK ((1<<16)-1)
250#define MAC_ADDR44_MASK ((1<<16)-1)
251
252#define MAC_FC_ADDR0_MASK ((1<<16)-1)
253#define MAC_FC_ADDR1_MASK ((1<<16)-1)
254#define MAC_FC_ADDR2_MASK ((1<<16)-1)
255
256
257#define MAC_ADD_FILT0_MASK ((1<<16)-1)
258#define MAC_ADD_FILT1_MASK ((1<<16)-1)
259#define MAC_ADD_FILT2_MASK ((1<<16)-1)
260#define MAC_ADD_FILT12_MASK_MASK ((1<<8)-1)
261#define MAC_ADD_FILT00_MASK_MASK ((1<<16)-1)
262
263#define MAC_HASH_TBL0_MASK ((1<<16)-1)
264#define MAC_HASH_TBL1_MASK ((1<<16)-1)
265#define MAC_HASH_TBL2_MASK ((1<<16)-1)
266#define MAC_HASH_TBL3_MASK ((1<<16)-1)
267#define MAC_HASH_TBL4_MASK ((1<<16)-1)
268#define MAC_HASH_TBL5_MASK ((1<<16)-1)
269#define MAC_HASH_TBL6_MASK ((1<<16)-1)
270#define MAC_HASH_TBL7_MASK ((1<<16)-1)
271#define MAC_HASH_TBL8_MASK ((1<<16)-1)
272#define MAC_HASH_TBL9_MASK ((1<<16)-1)
273#define MAC_HASH_TBL10_MASK ((1<<16)-1)
274#define MAC_HASH_TBL11_MASK ((1<<16)-1)
275#define MAC_HASH_TBL12_MASK ((1<<16)-1)
276#define MAC_HASH_TBL13_MASK ((1<<16)-1)
277#define MAC_HASH_TBL14_MASK ((1<<16)-1)
278#define MAC_HASH_TBL15_MASK ((1<<16)-1)
279
280#define BMAC_COL_CNT_MASK ((1<<16)-1)
281#define BMAC_OA_COL_CNT_MASK ((1<<16)-1)
282#define BMAC_EX_COL_CNT_MASK ((1<<16)-1)
283#define BMAC_LT_COL_CNT_MASK ((1<<16)-1)
284#define MAC_DEF_TIMER_MASK ((1<<16)-1)
285#define BMAC_PK_ATT_CNT_MASK ((1<<8)-1)
286
287#define BRxMAC_FRM_CNT_MASK ((1<<16)-1)
288#define MAC_LEN_ER_CNT_MASK ((1<<16)-1)
289#define BMAC_AL_ER_CNT_MASK ((1<<16)-1)
290#define BMAC_CRC_ER_CNT_MASK ((1<<16)-1)
291#define BMAC_CD_VIO_CNT_MASK ((1<<16)-1)
292#define MAC_RND_SEED_MASK ((1<<10)-1)
293#define BMAC_SM_REG_MASK ((1<<28)-1)
294
295#define BMAC_ALTAD_CMPEN_MASK ((1<<8)-1)
296
297#define BMAC_HOST_INFO0_MASK ((1<<18)-1)
298#define BMAC_HOST_INFO1_MASK ((1<<18)-1)
299#define BMAC_HOST_INFO2_MASK ((1<<18)-1)
300#define BMAC_HOST_INFO3_MASK ((1<<18)-1)
301#define BMAC_HOST_INFO4_MASK ((1<<18)-1)
302#define BMAC_HOST_INFO5_MASK ((1<<18)-1)
303#define BMAC_HOST_INFO6_MASK ((1<<18)-1)
304#define BMAC_HOST_INFO7_MASK ((1<<18)-1)
305
306#define BTxMAC_FRM_CNT_MASK ((1<<21)-1)
307#define BTxMAC_BYTE_CNT_MASK ((1<<27)-1)
308#define BRxMAC_BYTE_CNT_MASK ((1<<27)-1)
309
310
311
312#define BTxMAC_SW_RST_DEFAULT 32'h00000000
313#define BRxMAC_SW_RST_DEFAULT 32'h00000000
314
315#define MAC_SEND_PAUSE_DEFAULT 32'hxxxxxxxx
316
317#define BTxMAC_STATUS_DEFAULT 32'h00000000
318#define BRxMAC_STATUS_DEFAULT 32'h00000000
319#define BMAC_CTRL_STAT_DEFAULT 32'hxxxx0000
320
321#define BTxMAC_STAT_MSK_DEFAULT 32'hxxxxx1ff
322#define BRxMAC_STAT_MSK_DEFAULT 32'hxxxxxx7f
323#define BMAC_C_S_MSK_DEFAULT 32'hxxxxxxx3
324
325
326#define TxMAC_CONFIG_DEFAULT 32'h00000000
327#define RxMAC_CONFIG_DEFAULT 32'h00000000
328#define MAC_CTRL_CONFIG_DEFAULT 32'h00000000
329#define MAC_XIF_CONFIG_DEFAULT 32'h00000000
330
331#define MAC_IPG0_DEFAULT 32'hxxxxxxxx
332#define MAC_IPG1_DEFAULT 32'hxxxxxxxx
333#define MAC_IPG2_DEFAULT 32'hxxxxxxxx
334
335#define MAC_SLOT_TIME_DEFAULT 32'hxxxxxxxx
336
337#define BMAC_MIN_DEFAULT 32'hxxxxxxxx
338#define BMAC_MAX_DEFAULT 32'hxxxxxxxx
339
340#define MAC_PA_SIZE_DEFAULT 32'hxxxxxxxx
341#define MAC_JAM_SIZE_DEFAULT 32'hxxxxxxxx
342#define MAC_ATTMPT_LMT_DEFAULT 32'hxxxxxxxx
343#define MAC_CTRL_TYPE_DEFAULT 32'hxxxxxxxx
344
345
346#define BMAC_ADDR0_DEFAULT 32'hxxxxxxxx
347#define BMAC_ADDR1_DEFAULT 32'hxxxxxxxx
348#define BMAC_ADDR2_DEFAULT 32'hxxxxxxxx
349#define MAC_ADDR3_DEFAULT 32'hxxxxxxxx
350#define MAC_ADDR4_DEFAULT 32'hxxxxxxxx
351#define MAC_ADDR5_DEFAULT 32'hxxxxxxxx
352#define MAC_ADDR6_DEFAULT 32'hxxxxxxxx
353#define MAC_ADDR7_DEFAULT 32'hxxxxxxxx
354#define MAC_ADDR8_DEFAULT 32'hxxxxxxxx
355#define MAC_ADDR9_DEFAULT 32'hxxxxxxxx
356#define MAC_ADDR10_DEFAULT 32'hxxxxxxxx
357#define MAC_ADDR11_DEFAULT 32'hxxxxxxxx
358#define MAC_ADDR12_DEFAULT 32'hxxxxxxxx
359#define MAC_ADDR13_DEFAULT 32'hxxxxxxxx
360#define MAC_ADDR14_DEFAULT 32'hxxxxxxxx
361#define MAC_ADDR15_DEFAULT 32'hxxxxxxxx
362#define MAC_ADDR16_DEFAULT 32'hxxxxxxxx
363#define MAC_ADDR17_DEFAULT 32'hxxxxxxxx
364#define MAC_ADDR18_DEFAULT 32'hxxxxxxxx
365#define MAC_ADDR19_DEFAULT 32'hxxxxxxxx
366#define MAC_ADDR20_DEFAULT 32'hxxxxxxxx
367#define MAC_ADDR21_DEFAULT 32'hxxxxxxxx
368#define MAC_ADDR22_DEFAULT 32'hxxxxxxxx
369#define MAC_ADDR23_DEFAULT 32'hxxxxxxxx
370#define MAC_ADDR24_DEFAULT 32'hxxxxxxxx
371#define MAC_ADDR25_DEFAULT 32'hxxxxxxxx
372#define MAC_ADDR26_DEFAULT 32'hxxxxxxxx
373#define MAC_ADDR27_DEFAULT 32'hxxxxxxxx
374#define MAC_ADDR28_DEFAULT 32'hxxxxxxxx
375#define MAC_ADDR29_DEFAULT 32'hxxxxxxxx
376#define MAC_ADDR30_DEFAULT 32'hxxxxxxxx
377#define MAC_ADDR31_DEFAULT 32'hxxxxxxxx
378#define MAC_ADDR32_DEFAULT 32'hxxxxxxxx
379#define MAC_ADDR33_DEFAULT 32'hxxxxxxxx
380#define MAC_ADDR34_DEFAULT 32'hxxxxxxxx
381#define MAC_ADDR35_DEFAULT 32'hxxxxxxxx
382#define MAC_ADDR36_DEFAULT 32'hxxxxxxxx
383#define MAC_ADDR37_DEFAULT 32'hxxxxxxxx
384#define MAC_ADDR38_DEFAULT 32'hxxxxxxxx
385#define MAC_ADDR39_DEFAULT 32'hxxxxxxxx
386#define MAC_ADDR40_DEFAULT 32'hxxxxxxxx
387#define MAC_ADDR41_DEFAULT 32'hxxxxxxxx
388#define MAC_ADDR42_DEFAULT 32'hxxxxxxxx
389#define MAC_ADDR43_DEFAULT 32'hxxxxxxxx
390#define MAC_ADDR44_DEFAULT 32'hxxxxxxxx
391
392#define MAC_FC_ADDR0_DEFAULT 32'hxxxxxxxx
393#define MAC_FC_ADDR1_DEFAULT 32'hxxxxxxxx
394#define MAC_FC_ADDR2_DEFAULT 32'hxxxxxxxx
395
396#define MAC_ADD_FILT0_DEFAULT 32'hxxxxxxxx
397#define MAC_ADD_FILT1_DEFAULT 32'hxxxxxxxx
398#define MAC_ADD_FILT2_DEFAULT 32'hxxxxxxxx
399#define MAC_ADD_FILT12_MASK_DEFAULT 32'hxxxxxxxx
400#define MAC_ADD_FILT00_MASK_DEFAULT 32'hxxxxxxxx
401
402
403#define MAC_HASH_TBL0_DEFAULT 32'hxxxxxxxx
404#define MAC_HASH_TBL1_DEFAULT 32'hxxxxxxxx
405#define MAC_HASH_TBL2_DEFAULT 32'hxxxxxxxx
406#define MAC_HASH_TBL3_DEFAULT 32'hxxxxxxxx
407#define MAC_HASH_TBL4_DEFAULT 32'hxxxxxxxx
408#define MAC_HASH_TBL5_DEFAULT 32'hxxxxxxxx
409#define MAC_HASH_TBL6_DEFAULT 32'hxxxxxxxx
410#define MAC_HASH_TBL7_DEFAULT 32'hxxxxxxxx
411#define MAC_HASH_TBL8_DEFAULT 32'hxxxxxxxx
412#define MAC_HASH_TBL9_DEFAULT 32'hxxxxxxxx
413#define MAC_HASH_TBL10_DEFAULT 32'hxxxxxxxx
414#define MAC_HASH_TBL11_DEFAULT 32'hxxxxxxxx
415#define MAC_HASH_TBL12_DEFAULT 32'hxxxxxxxx
416#define MAC_HASH_TBL13_DEFAULT 32'hxxxxxxxx
417#define MAC_HASH_TBL14_DEFAULT 32'hxxxxxxxx
418#define MAC_HASH_TBL15_DEFAULT 32'hxxxxxxxx
419
420
421
422#define BMAC_COL_CNT_DEFAULT 32'hxxxxxxxx
423#define BMAC_OA_COL_CNT_DEFAULT 32'hxxxxxxxx
424#define BMAC_EX_COL_CNT_DEFAULT 32'hxxxxxxxx
425#define BMAC_LT_COL_CNT_DEFAULT 32'hxxxxxxxx
426#define MAC_DEF_TIMER_DEFAULT 32'hxxxxxxxx
427#define BMAC_PK_ATT_CNT_DEFAULT 32'hxxxxxxxx
428#define BRxMAC_FRM_CNT_DEFAULT 32'hxxxxxxxx
429#define MAC_LEN_ER_CNT_DEFAULT 32'hxxxxxxxx
430#define BMAC_AL_ER_CNT_DEFAULT 32'hxxxxxxxx
431#define BMAC_CRC_ER_CNT_DEFAULT 32'hxxxxxxxx
432#define BMAC_CD_VIO_CNT_DEFAULT 32'hxxxxxxxx
433#define MAC_RND_SEED_DEFAULT 32'hxxxxxxxx
434#define BMAC_SM_REG_DEFAULT 32'hxxxxxx00
435
436#define BMAC_ALTAD_CMPEN_DEFAULT 32'hxxxxxxxx
437
438#define BMAC_HOST_INFO0_DEFAULT 32'hxxxx_xxxx
439#define BMAC_HOST_INFO1_DEFAULT 32'hxxxx_xxxx
440#define BMAC_HOST_INFO2_DEFAULT 32'hxxxx_xxxx
441#define BMAC_HOST_INFO3_DEFAULT 32'hxxxx_xxxx
442#define BMAC_HOST_INFO4_DEFAULT 32'hxxxx_xxxx
443#define BMAC_HOST_INFO5_DEFAULT 32'hxxxx_xxxx
444#define BMAC_HOST_INFO6_DEFAULT 32'hxxxx_xxxx
445#define BMAC_HOST_INFO7_DEFAULT 32'hxxxx_xxxx
446
447#define BTxMAC_FRM_CNT_DEFAULT 32'hxxxxxxxx
448#define BTxMAC_BYTE_CNT_DEFAULT 32'hxxxxxxxx
449#define BRxMAC_BYTE_CNT_DEFAULT 32'hxxxxxxxx
450
451
452//
453// BASE Address
454//
455#define MAC0_BASE (MAC_ADDRESS_RANGE + PORT_0_RANGE)
456#define MAC1_BASE (MAC_ADDRESS_RANGE + PORT_1_RANGE)
457#define MAC2_BASE (MAC_ADDRESS_RANGE + PORT_2_RANGE)
458#define MAC3_BASE (MAC_ADDRESS_RANGE + PORT_3_RANGE)
459