blob: 91fff43901e1fee4228c06feea9b619928ef7bf2 [file] [log] [blame]
Zane Shelley11b89942019-11-07 11:07:28 -06001#include "simulator.hpp"
2
3START_TEST_CASE(SampleTestSet1)
4
Zane Shelley1be4c3c2020-04-17 15:55:07 -05005CHIP(proc0, SAMPLE)
Zane Shelley8c093d82020-05-04 22:06:52 -05006CHIP(proc1, SAMPLE)
Zane Shelley11b89942019-11-07 11:07:28 -06007
8START_ITERATION
9
Zane Shelley2467db82020-05-18 19:56:30 -050010REG_SCOM(proc0, 0xf0000000, 0xe000000000000000) // GFIR_CS
11REG_SCOM(proc0, 0xf0000001, 0xe000000000000000) // GFIR_RE
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050012
Zane Shelley2467db82020-05-18 19:56:30 -050013REG_SCOM(proc0, 0x00f00000, 0x0e00000000000000) // CFIR0_CS inst 0
14REG_SCOM(proc0, 0x00f00001, 0x0e00000000000000) // CFIR0_RE inst 0
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050015REG_SCOM(proc0, 0x00f00002, 0x0000000000000000) // CFIR0_MASK inst 0
16
Zane Shelley2467db82020-05-18 19:56:30 -050017REG_SCOM(proc0, 0x00f00010, 0x0e00000000000000) // CFIR0_CS inst 1
18REG_SCOM(proc0, 0x00f00011, 0x0e00000000000000) // CFIR0_RE inst 1
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050019REG_SCOM(proc0, 0x00f00012, 0x0000000000000000) // CFIR0_MASK inst 1
20
Zane Shelley2467db82020-05-18 19:56:30 -050021REG_SCOM(proc0, 0x00f10000, 0x0e00000000000000) // CFIR1_CS inst 0
22REG_SCOM(proc0, 0x00f10001, 0x0e00000000000000) // CFIR1_RE inst 0
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050023REG_SCOM(proc0, 0x00f10002, 0x0000000000000000) // CFIR1_MASK inst 0
24
Zane Shelley2467db82020-05-18 19:56:30 -050025REG_SCOM(proc0, 0x0000f000, 0xf000000000000000) // LFIR0 inst 0
26REG_SCOM(proc0, 0x0000f003, 0x3000000000000000) // LFIR0_MASK inst 0
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050027REG_SCOM(proc0, 0x0000f006, 0x0000000000000000) // LFIR0_ACT0 inst 0
Zane Shelley2467db82020-05-18 19:56:30 -050028REG_SCOM(proc0, 0x0000f007, 0x5000000000000000) // LFIR0_ACT1 inst 0
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050029
Zane Shelley2467db82020-05-18 19:56:30 -050030REG_SCOM(proc0, 0x0000f010, 0xf000000000000000) // LFIR0 inst 1
31REG_SCOM(proc0, 0x0000f013, 0x3000000000000000) // LFIR0_MASK inst 1
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050032REG_SCOM(proc0, 0x0000f016, 0x0000000000000000) // LFIR0_ACT0 inst 1
Zane Shelley2467db82020-05-18 19:56:30 -050033REG_SCOM(proc0, 0x0000f017, 0x5000000000000000) // LFIR0_ACT1 inst 1
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050034
Zane Shelley2467db82020-05-18 19:56:30 -050035REG_SCOM(proc0, 0x0000f100, 0xf000000000000000) // LFIR1 inst 0
36REG_SCOM(proc0, 0x0000f103, 0x3000000000000000) // LFIR1_MASK inst 0
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050037REG_SCOM(proc0, 0x0000f106, 0x0000000000000000) // LFIR1_ACT0 inst 0
Zane Shelley2467db82020-05-18 19:56:30 -050038REG_SCOM(proc0, 0x0000f107, 0x5000000000000000) // LFIR1_ACT1 inst 0
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050039
Zane Shelley2467db82020-05-18 19:56:30 -050040REG_SCOM(proc0, 0x0000f110, 0xf000000000000000) // LFIR1 inst 1
41REG_SCOM(proc0, 0x0000f113, 0x3000000000000000) // LFIR1_MASK inst 1
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050042REG_SCOM(proc0, 0x0000f116, 0x0000000000000000) // LFIR1_ACT0 inst 1
Zane Shelley2467db82020-05-18 19:56:30 -050043REG_SCOM(proc0, 0x0000f117, 0x5000000000000000) // LFIR1_ACT1 inst 1
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050044
Zane Shelley2467db82020-05-18 19:56:30 -050045REG_SCOM(proc0, 0x0000f120, 0xf000000000000000) // LFIR1 inst 2
46REG_SCOM(proc0, 0x0000f123, 0x3000000000000000) // LFIR1_MASK inst 2
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050047REG_SCOM(proc0, 0x0000f126, 0x0000000000000000) // LFIR1_ACT0 inst 2
Zane Shelley2467db82020-05-18 19:56:30 -050048REG_SCOM(proc0, 0x0000f127, 0x5000000000000000) // LFIR1_ACT1 inst 2
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050049
Zane Shelley2467db82020-05-18 19:56:30 -050050REG_SCOM(proc0, 0x0000f130, 0xf000000000000000) // LFIR1 inst 3
51REG_SCOM(proc0, 0x0000f133, 0x3000000000000000) // LFIR1_MASK inst 3
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050052REG_SCOM(proc0, 0x0000f136, 0x0000000000000000) // LFIR1_ACT0 inst 3
Zane Shelley2467db82020-05-18 19:56:30 -050053REG_SCOM(proc0, 0x0000f137, 0x5000000000000000) // LFIR1_ACT1 inst 3
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050054
Zane Shelley2467db82020-05-18 19:56:30 -050055REG_SCOM(proc0, 0x0000f140, 0xf000000000000000) // LFIR1 inst 4
56REG_SCOM(proc0, 0x0000f143, 0x3000000000000000) // LFIR1_MASK inst 4
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050057REG_SCOM(proc0, 0x0000f146, 0x0000000000000000) // LFIR1_ACT0 inst 4
Zane Shelley2467db82020-05-18 19:56:30 -050058REG_SCOM(proc0, 0x0000f147, 0x5000000000000000) // LFIR1_ACT1 inst 4
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050059
Zane Shelley2467db82020-05-18 19:56:30 -050060REG_SCOM(proc0, 0x0000f150, 0xf000000000000000) // LFIR1 inst 5
61REG_SCOM(proc0, 0x0000f153, 0x3000000000000000) // LFIR1_MASK inst 5
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050062REG_SCOM(proc0, 0x0000f156, 0x0000000000000000) // LFIR1_ACT0 inst 5
Zane Shelley2467db82020-05-18 19:56:30 -050063REG_SCOM(proc0, 0x0000f157, 0x5000000000000000) // LFIR1_ACT1 inst 5
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050064
Zane Shelley2467db82020-05-18 19:56:30 -050065REG_SCOM(proc0, 0x0000f200, 0xf000000000000000) // LFIR2 inst 0
66REG_SCOM(proc0, 0x0000f203, 0x3000000000000000) // LFIR2_MASK inst 0
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050067REG_SCOM(proc0, 0x0000f206, 0x0000000000000000) // LFIR2_ACT0 inst 0
Zane Shelley2467db82020-05-18 19:56:30 -050068REG_SCOM(proc0, 0x0000f207, 0x5000000000000000) // LFIR2_ACT1 inst 0
Zane Shelleyaadf3bf2020-04-30 21:25:29 -050069
Zane Shelley2467db82020-05-18 19:56:30 -050070// LFIR0
71EXP_SIG(proc0, 0xa776, 0, 0, CHECKSTOP)
72EXP_SIG(proc0, 0xa776, 0, 1, RECOVERABLE)
73EXP_SIG(proc0, 0xa776, 1, 0, CHECKSTOP)
74EXP_SIG(proc0, 0xa776, 1, 1, RECOVERABLE)
75
76// LFIR1
77EXP_SIG(proc0, 0xa876, 0, 0, CHECKSTOP)
78EXP_SIG(proc0, 0xa876, 0, 1, RECOVERABLE)
79EXP_SIG(proc0, 0xa876, 1, 0, CHECKSTOP)
80EXP_SIG(proc0, 0xa876, 1, 1, RECOVERABLE)
81EXP_SIG(proc0, 0xa876, 2, 0, CHECKSTOP)
82EXP_SIG(proc0, 0xa876, 2, 1, RECOVERABLE)
83EXP_SIG(proc0, 0xa876, 3, 0, CHECKSTOP)
84EXP_SIG(proc0, 0xa876, 3, 1, RECOVERABLE)
85EXP_SIG(proc0, 0xa876, 4, 0, CHECKSTOP)
86EXP_SIG(proc0, 0xa876, 4, 1, RECOVERABLE)
87EXP_SIG(proc0, 0xa876, 5, 0, CHECKSTOP)
88EXP_SIG(proc0, 0xa876, 5, 1, RECOVERABLE)
89
90// LFIR2
91EXP_SIG(proc0, 0xa976, 0, 0, CHECKSTOP)
92EXP_SIG(proc0, 0xa976, 0, 1, RECOVERABLE)
Zane Shelley11b89942019-11-07 11:07:28 -060093
94END_ITERATION
95
96END_TEST_CASE