blob: b08f44ff767386695e81144f3081c9fe4777cc40 [file] [log] [blame]
Zane Shelleyc928f942021-07-09 14:32:58 -05001#include "simulator.hpp"
2
3START_TEST_CASE(omi_dl_fatal)
4
5CHIP(proc0, P10_20)
6CHIP(ocmb1, EXPLORER_20)
7
8START_ITERATION
9
10REG_SCOM(proc0, 0x570F001B, 0x0008000000000000) // GLOBAL_RE_FIR[12]
11REG_SCOM(proc0, 0x0C040001, 0x0004000000000000) // MC_CHIPLET_RE_FIR[13]
Zane Shelley70ee34a2022-09-16 08:52:37 -050012REG_SCOM(proc0, 0x0C011400, 0x8000000000000000) // MC_OMI_DL_FIR(0)[0]
13REG_SCOM(proc0, 0x0C011407, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(0)
14REG_SCOM(proc0, 0x0C011413, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(0)[63]
15
16EXP_SIG(proc0, 0x8d4a, 0, 63, RECOVERABLE)
17
18END_ITERATION
19
20START_ITERATION
21
22REG_SCOM(proc0, 0x570F001B, 0x0008000000000000) // GLOBAL_RE_FIR[12]
23REG_SCOM(proc0, 0x0C040001, 0x0004000000000000) // MC_CHIPLET_RE_FIR[13]
Zane Shelleyc928f942021-07-09 14:32:58 -050024REG_SCOM(proc0, 0x0C011400, 0x0000080000000000) // MC_OMI_DL_FIR(0)[20]
Zane Shelley70ee34a2022-09-16 08:52:37 -050025REG_SCOM(proc0, 0x0C011407, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(0)
Zane Shelleyc928f942021-07-09 14:32:58 -050026REG_SCOM(proc0, 0x0C011423, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(1)[63]
27
Zane Shelley70ee34a2022-09-16 08:52:37 -050028EXP_SIG(proc0, 0x8d4a, 1, 63, RECOVERABLE)
29
30END_ITERATION
31
32START_ITERATION
33
34REG_SCOM(proc0, 0x570F001B, 0x0008000000000000) // GLOBAL_RE_FIR[12]
35REG_SCOM(proc0, 0x0C040001, 0x0002000000000000) // MC_CHIPLET_RE_FIR[14]
36REG_SCOM(proc0, 0x0C011800, 0x8000000000000000) // MC_OMI_DL_FIR(1)[0]
37REG_SCOM(proc0, 0x0C011807, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(1)
38REG_SCOM(proc0, 0x0C011813, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(2)[63]
39
40EXP_SIG(proc0, 0x8d4a, 2, 63, RECOVERABLE)
41
42END_ITERATION
43
44START_ITERATION
45
46REG_SCOM(proc0, 0x570F001B, 0x0008000000000000) // GLOBAL_RE_FIR[12]
47REG_SCOM(proc0, 0x0C040001, 0x0002000000000000) // MC_CHIPLET_RE_FIR[14]
48REG_SCOM(proc0, 0x0C011800, 0x0000080000000000) // MC_OMI_DL_FIR(1)[20]
49REG_SCOM(proc0, 0x0C011807, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(1)
50REG_SCOM(proc0, 0x0C011823, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(3)[63]
51
52EXP_SIG(proc0, 0x8d4a, 3, 63, RECOVERABLE)
53
54END_ITERATION
55
56START_ITERATION
57
58REG_SCOM(proc0, 0x570F001B, 0x0004000000000000) // GLOBAL_RE_FIR[13]
59REG_SCOM(proc0, 0x0D040001, 0x0004000000000000) // MC_CHIPLET_RE_FIR[13]
60REG_SCOM(proc0, 0x0D011400, 0x8000000000000000) // MC_OMI_DL_FIR(2)[0]
61REG_SCOM(proc0, 0x0D011407, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(2)
62REG_SCOM(proc0, 0x0D011413, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(4)[63]
63
64EXP_SIG(proc0, 0x8d4a, 4, 63, RECOVERABLE)
65
66END_ITERATION
67
68START_ITERATION
69
70REG_SCOM(proc0, 0x570F001B, 0x0004000000000000) // GLOBAL_RE_FIR[13]
71REG_SCOM(proc0, 0x0D040001, 0x0004000000000000) // MC_CHIPLET_RE_FIR[13]
72REG_SCOM(proc0, 0x0D011400, 0x0000080000000000) // MC_OMI_DL_FIR(2)[20]
73REG_SCOM(proc0, 0x0D011407, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(2)
74REG_SCOM(proc0, 0x0D011423, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(5)[63]
75
76EXP_SIG(proc0, 0x8d4a, 5, 63, RECOVERABLE)
77
78END_ITERATION
79
80START_ITERATION
81
82REG_SCOM(proc0, 0x570F001B, 0x0004000000000000) // GLOBAL_RE_FIR[13]
83REG_SCOM(proc0, 0x0D040001, 0x0002000000000000) // MC_CHIPLET_RE_FIR[14]
84REG_SCOM(proc0, 0x0D011800, 0x8000000000000000) // MC_OMI_DL_FIR(3)[0]
85REG_SCOM(proc0, 0x0D011807, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(3)
86REG_SCOM(proc0, 0x0D011813, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(6)[63]
87
88EXP_SIG(proc0, 0x8d4a, 6, 63, RECOVERABLE)
89
90END_ITERATION
91
92START_ITERATION
93
94REG_SCOM(proc0, 0x570F001B, 0x0004000000000000) // GLOBAL_RE_FIR[13]
95REG_SCOM(proc0, 0x0D040001, 0x0002000000000000) // MC_CHIPLET_RE_FIR[14]
96REG_SCOM(proc0, 0x0D011800, 0x0000080000000000) // MC_OMI_DL_FIR(3)[20]
97REG_SCOM(proc0, 0x0D011807, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(3)
98REG_SCOM(proc0, 0x0D011823, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(7)[63]
99
100EXP_SIG(proc0, 0x8d4a, 7, 63, RECOVERABLE)
101
102END_ITERATION
103
104START_ITERATION
105
106REG_SCOM(proc0, 0x570F001B, 0x0002000000000000) // GLOBAL_RE_FIR[14]
107REG_SCOM(proc0, 0x0E040001, 0x0004000000000000) // MC_CHIPLET_RE_FIR[13]
108REG_SCOM(proc0, 0x0E011400, 0x8000000000000000) // MC_OMI_DL_FIR(4)[0]
109REG_SCOM(proc0, 0x0E011407, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(4)
110REG_SCOM(proc0, 0x0E011413, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(8)[63]
111
112EXP_SIG(proc0, 0x8d4a, 8, 63, RECOVERABLE)
113
114END_ITERATION
115
116START_ITERATION
117
118REG_SCOM(proc0, 0x570F001B, 0x0002000000000000) // GLOBAL_RE_FIR[14]
119REG_SCOM(proc0, 0x0E040001, 0x0004000000000000) // MC_CHIPLET_RE_FIR[13]
120REG_SCOM(proc0, 0x0E011400, 0x0000080000000000) // MC_OMI_DL_FIR(4)[20]
121REG_SCOM(proc0, 0x0E011407, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(4)
122REG_SCOM(proc0, 0x0E011423, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(9)[63]
123
124EXP_SIG(proc0, 0x8d4a, 9, 63, RECOVERABLE)
125
126END_ITERATION
127
128START_ITERATION
129
130REG_SCOM(proc0, 0x570F001B, 0x0002000000000000) // GLOBAL_RE_FIR[14]
131REG_SCOM(proc0, 0x0E040001, 0x0002000000000000) // MC_CHIPLET_RE_FIR[14]
132REG_SCOM(proc0, 0x0E011800, 0x8000000000000000) // MC_OMI_DL_FIR(5)[0]
133REG_SCOM(proc0, 0x0E011807, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(5)
134REG_SCOM(proc0, 0x0E011813, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(10)[63]
135
136EXP_SIG(proc0, 0x8d4a, 10, 63, RECOVERABLE)
137
138END_ITERATION
139
140START_ITERATION
141
142REG_SCOM(proc0, 0x570F001B, 0x0002000000000000) // GLOBAL_RE_FIR[14]
143REG_SCOM(proc0, 0x0E040001, 0x0002000000000000) // MC_CHIPLET_RE_FIR[14]
144REG_SCOM(proc0, 0x0E011800, 0x0000080000000000) // MC_OMI_DL_FIR(5)[20]
145REG_SCOM(proc0, 0x0E011807, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(5)
146REG_SCOM(proc0, 0x0E011823, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(11)[63]
147
148EXP_SIG(proc0, 0x8d4a, 11, 63, RECOVERABLE)
149
150END_ITERATION
151
152START_ITERATION
153
154REG_SCOM(proc0, 0x570F001B, 0x0001000000000000) // GLOBAL_RE_FIR[15]
155REG_SCOM(proc0, 0x0F040001, 0x0004000000000000) // MC_CHIPLET_RE_FIR[13]
156REG_SCOM(proc0, 0x0F011400, 0x8000000000000000) // MC_OMI_DL_FIR(6)[0]
157REG_SCOM(proc0, 0x0F011407, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(6)
158REG_SCOM(proc0, 0x0F011413, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(12)[63]
159
160EXP_SIG(proc0, 0x8d4a, 12, 63, RECOVERABLE)
161
162END_ITERATION
163
164START_ITERATION
165
166REG_SCOM(proc0, 0x570F001B, 0x0001000000000000) // GLOBAL_RE_FIR[15]
167REG_SCOM(proc0, 0x0F040001, 0x0004000000000000) // MC_CHIPLET_RE_FIR[13]
168REG_SCOM(proc0, 0x0F011400, 0x0000080000000000) // MC_OMI_DL_FIR(6)[20]
169REG_SCOM(proc0, 0x0F011407, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(6)
170REG_SCOM(proc0, 0x0F011423, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(13)[63]
171
172EXP_SIG(proc0, 0x8d4a, 13, 63, RECOVERABLE)
173
174END_ITERATION
175
176START_ITERATION
177
178REG_SCOM(proc0, 0x570F001B, 0x0001000000000000) // GLOBAL_RE_FIR[15]
179REG_SCOM(proc0, 0x0F040001, 0x0002000000000000) // MC_CHIPLET_RE_FIR[14]
180REG_SCOM(proc0, 0x0F011800, 0x8000000000000000) // MC_OMI_DL_FIR(7)[0]
181REG_SCOM(proc0, 0x0F011807, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(7)
182REG_SCOM(proc0, 0x0F011813, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(14)[63]
183
184EXP_SIG(proc0, 0x8d4a, 14, 63, RECOVERABLE)
185
186END_ITERATION
187
188START_ITERATION
189
190REG_SCOM(proc0, 0x570F001B, 0x0001000000000000) // GLOBAL_RE_FIR[15]
191REG_SCOM(proc0, 0x0F040001, 0x0002000000000000) // MC_CHIPLET_RE_FIR[14]
192REG_SCOM(proc0, 0x0F011800, 0x0000080000000000) // MC_OMI_DL_FIR(7)[20]
193REG_SCOM(proc0, 0x0F011807, 0xffffffffffffffff) // MC_OMI_DL_FIR_ACT1(7)
194REG_SCOM(proc0, 0x0F011823, 0x0000000000000001) // MC_OMI_DL_ERR_RPT(15)[63]
195
196EXP_SIG(proc0, 0x8d4a, 15, 63, RECOVERABLE)
197
198END_ITERATION
199
200START_ITERATION
201
Zane Shelleyc928f942021-07-09 14:32:58 -0500202REG_SCOM(ocmb1, 0x08040000, 0x0008000000000000) // OCMB_CHIPLET_CS_FIR[12]
203REG_SCOM(ocmb1, 0x08012800, 0x8000000000000000) // OMI_DL_FIR[0]
204REG_SCOM(ocmb1, 0x08012813, 0x0000000000000001) // OMI_DL_ERR_RPT[63]
205
Zane Shelley2215d232023-04-07 14:43:40 -0500206EXP_SIG(ocmb1, 0xbbd3, 0, 63, CHIP_CS)
Zane Shelleyc928f942021-07-09 14:32:58 -0500207
208END_ITERATION
209
210END_TEST_CASE