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