Zane Shelley | aa9da30 | 2022-07-13 10:26:06 -0500 | [diff] [blame] | 1 | #include "simulator.hpp" |
| 2 | |
| 3 | START_TEST_CASE(eq_core_fir) |
| 4 | |
| 5 | CHIP(proc0, P10_20) |
| 6 | |
| 7 | START_ITERATION |
| 8 | |
| 9 | REG_SCOM(proc0, 0x570F001C, 0x0000000001000000) // GFIR_CS |
| 10 | REG_SCOM(proc0, 0x27040000, 0x8600000000000000) // CFIR_EQ_CS |
| 11 | REG_SCOM(proc0, 0x27040040, 0x2000000000000000) // CFIR_EQ_CS_MASK |
| 12 | |
| 13 | REG_SCOM(proc0, 0x570F001B, 0x0000000001000000) // GFIR_RE |
| 14 | REG_SCOM(proc0, 0x27040001, 0x8600000000000000) // CFIR_EQ_RE |
| 15 | |
| 16 | // Core 28 |
| 17 | REG_SCOM(proc0, 0x27028440, 0x4000002000000008) // EQ_CORE_FIR |
| 18 | REG_SCOM(proc0, 0x27028443, 0x0221D81A71A8F63A) // EQ_CORE_FIR_MASK |
| 19 | REG_SCOM(proc0, 0x27028446, 0x14C802408A030048) // EQ_CORE_FIR_ACT0 |
| 20 | REG_SCOM(proc0, 0x27028447, 0xBDDC26C5FE1300CC) // EQ_CORE_FIR_ACT1 |
| 21 | REG_SCOM(proc0, 0x27028448, 0x0000000000000080) // EQ_CORE_FIR_WOF |
| 22 | |
| 23 | // Core 29 |
| 24 | REG_SCOM(proc0, 0x27024440, 0x0000000000000009) // EQ_CORE_FIR |
| 25 | REG_SCOM(proc0, 0x27024443, 0x0221D81A71A8F63A) // EQ_CORE_FIR_MASK |
| 26 | REG_SCOM(proc0, 0x27024446, 0x14C802408A030048) // EQ_CORE_FIR_ACT0 |
| 27 | REG_SCOM(proc0, 0x27024447, 0xBDDC26C5FE1300CC) // EQ_CORE_FIR_ACT1 |
| 28 | REG_SCOM(proc0, 0x27024448, 0x0000000000000080) // EQ_CORE_FIR_WOF |
| 29 | |
Zane Shelley | b7005ca | 2023-03-24 15:23:59 -0500 | [diff] [blame] | 30 | EXP_SIG(proc0, 0x682c, 28, 1, CHIP_CS) |
| 31 | EXP_SIG(proc0, 0x682c, 28, 26, CHIP_CS) |
| 32 | EXP_SIG(proc0, 0x682c, 29, 63, CHIP_CS) |
Zane Shelley | aa9da30 | 2022-07-13 10:26:06 -0500 | [diff] [blame] | 33 | EXP_SIG(proc0, 0x682c, 28, 56, RECOVERABLE) |
| 34 | EXP_SIG(proc0, 0x682c, 29, 56, RECOVERABLE) |
| 35 | |
| 36 | END_ITERATION |
| 37 | |
| 38 | END_TEST_CASE |