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