Zane Shelley | 11b8994 | 2019-11-07 11:07:28 -0600 | [diff] [blame] | 1 | #include "simulator.hpp" |
| 2 | |
| 3 | START_TEST_CASE(SampleTestSet1) |
| 4 | |
Zane Shelley | 1be4c3c | 2020-04-17 15:55:07 -0500 | [diff] [blame] | 5 | CHIP(proc0, SAMPLE) |
Zane Shelley | 8c093d8 | 2020-05-04 22:06:52 -0500 | [diff] [blame] | 6 | CHIP(proc1, SAMPLE) |
Zane Shelley | 11b8994 | 2019-11-07 11:07:28 -0600 | [diff] [blame] | 7 | |
| 8 | START_ITERATION |
| 9 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 10 | REG_SCOM(proc0, 0xf0000000, 0xe000000000000000) // GFIR_CS |
| 11 | REG_SCOM(proc0, 0xf0000001, 0xe000000000000000) // GFIR_RE |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 12 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 13 | REG_SCOM(proc0, 0x00f00000, 0x0e00000000000000) // CFIR0_CS inst 0 |
| 14 | REG_SCOM(proc0, 0x00f00001, 0x0e00000000000000) // CFIR0_RE inst 0 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 15 | REG_SCOM(proc0, 0x00f00002, 0x0000000000000000) // CFIR0_MASK inst 0 |
| 16 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 17 | REG_SCOM(proc0, 0x00f00010, 0x0e00000000000000) // CFIR0_CS inst 1 |
| 18 | REG_SCOM(proc0, 0x00f00011, 0x0e00000000000000) // CFIR0_RE inst 1 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 19 | REG_SCOM(proc0, 0x00f00012, 0x0000000000000000) // CFIR0_MASK inst 1 |
| 20 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 21 | REG_SCOM(proc0, 0x00f10000, 0x0e00000000000000) // CFIR1_CS inst 0 |
| 22 | REG_SCOM(proc0, 0x00f10001, 0x0e00000000000000) // CFIR1_RE inst 0 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 23 | REG_SCOM(proc0, 0x00f10002, 0x0000000000000000) // CFIR1_MASK inst 0 |
| 24 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 25 | REG_SCOM(proc0, 0x0000f000, 0xf000000000000000) // LFIR0 inst 0 |
| 26 | REG_SCOM(proc0, 0x0000f003, 0x3000000000000000) // LFIR0_MASK inst 0 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 27 | REG_SCOM(proc0, 0x0000f006, 0x0000000000000000) // LFIR0_ACT0 inst 0 |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 28 | REG_SCOM(proc0, 0x0000f007, 0x5000000000000000) // LFIR0_ACT1 inst 0 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 29 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 30 | REG_SCOM(proc0, 0x0000f010, 0xf000000000000000) // LFIR0 inst 1 |
| 31 | REG_SCOM(proc0, 0x0000f013, 0x3000000000000000) // LFIR0_MASK inst 1 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 32 | REG_SCOM(proc0, 0x0000f016, 0x0000000000000000) // LFIR0_ACT0 inst 1 |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 33 | REG_SCOM(proc0, 0x0000f017, 0x5000000000000000) // LFIR0_ACT1 inst 1 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 34 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 35 | REG_SCOM(proc0, 0x0000f100, 0xf000000000000000) // LFIR1 inst 0 |
| 36 | REG_SCOM(proc0, 0x0000f103, 0x3000000000000000) // LFIR1_MASK inst 0 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 37 | REG_SCOM(proc0, 0x0000f106, 0x0000000000000000) // LFIR1_ACT0 inst 0 |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 38 | REG_SCOM(proc0, 0x0000f107, 0x5000000000000000) // LFIR1_ACT1 inst 0 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 39 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 40 | REG_SCOM(proc0, 0x0000f110, 0xf000000000000000) // LFIR1 inst 1 |
| 41 | REG_SCOM(proc0, 0x0000f113, 0x3000000000000000) // LFIR1_MASK inst 1 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 42 | REG_SCOM(proc0, 0x0000f116, 0x0000000000000000) // LFIR1_ACT0 inst 1 |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 43 | REG_SCOM(proc0, 0x0000f117, 0x5000000000000000) // LFIR1_ACT1 inst 1 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 44 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 45 | REG_SCOM(proc0, 0x0000f120, 0xf000000000000000) // LFIR1 inst 2 |
| 46 | REG_SCOM(proc0, 0x0000f123, 0x3000000000000000) // LFIR1_MASK inst 2 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 47 | REG_SCOM(proc0, 0x0000f126, 0x0000000000000000) // LFIR1_ACT0 inst 2 |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 48 | REG_SCOM(proc0, 0x0000f127, 0x5000000000000000) // LFIR1_ACT1 inst 2 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 49 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 50 | REG_SCOM(proc0, 0x0000f130, 0xf000000000000000) // LFIR1 inst 3 |
| 51 | REG_SCOM(proc0, 0x0000f133, 0x3000000000000000) // LFIR1_MASK inst 3 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 52 | REG_SCOM(proc0, 0x0000f136, 0x0000000000000000) // LFIR1_ACT0 inst 3 |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 53 | REG_SCOM(proc0, 0x0000f137, 0x5000000000000000) // LFIR1_ACT1 inst 3 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 54 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 55 | REG_SCOM(proc0, 0x0000f140, 0xf000000000000000) // LFIR1 inst 4 |
| 56 | REG_SCOM(proc0, 0x0000f143, 0x3000000000000000) // LFIR1_MASK inst 4 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 57 | REG_SCOM(proc0, 0x0000f146, 0x0000000000000000) // LFIR1_ACT0 inst 4 |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 58 | REG_SCOM(proc0, 0x0000f147, 0x5000000000000000) // LFIR1_ACT1 inst 4 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 59 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 60 | REG_SCOM(proc0, 0x0000f150, 0xf000000000000000) // LFIR1 inst 5 |
| 61 | REG_SCOM(proc0, 0x0000f153, 0x3000000000000000) // LFIR1_MASK inst 5 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 62 | REG_SCOM(proc0, 0x0000f156, 0x0000000000000000) // LFIR1_ACT0 inst 5 |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 63 | REG_SCOM(proc0, 0x0000f157, 0x5000000000000000) // LFIR1_ACT1 inst 5 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 64 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 65 | REG_SCOM(proc0, 0x0000f200, 0xf000000000000000) // LFIR2 inst 0 |
| 66 | REG_SCOM(proc0, 0x0000f203, 0x3000000000000000) // LFIR2_MASK inst 0 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 67 | REG_SCOM(proc0, 0x0000f206, 0x0000000000000000) // LFIR2_ACT0 inst 0 |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 68 | REG_SCOM(proc0, 0x0000f207, 0x5000000000000000) // LFIR2_ACT1 inst 0 |
Zane Shelley | aadf3bf | 2020-04-30 21:25:29 -0500 | [diff] [blame] | 69 | |
Zane Shelley | 2467db8 | 2020-05-18 19:56:30 -0500 | [diff] [blame] | 70 | // LFIR0 |
| 71 | EXP_SIG(proc0, 0xa776, 0, 0, CHECKSTOP) |
| 72 | EXP_SIG(proc0, 0xa776, 0, 1, RECOVERABLE) |
| 73 | EXP_SIG(proc0, 0xa776, 1, 0, CHECKSTOP) |
| 74 | EXP_SIG(proc0, 0xa776, 1, 1, RECOVERABLE) |
| 75 | |
| 76 | // LFIR1 |
| 77 | EXP_SIG(proc0, 0xa876, 0, 0, CHECKSTOP) |
| 78 | EXP_SIG(proc0, 0xa876, 0, 1, RECOVERABLE) |
| 79 | EXP_SIG(proc0, 0xa876, 1, 0, CHECKSTOP) |
| 80 | EXP_SIG(proc0, 0xa876, 1, 1, RECOVERABLE) |
| 81 | EXP_SIG(proc0, 0xa876, 2, 0, CHECKSTOP) |
| 82 | EXP_SIG(proc0, 0xa876, 2, 1, RECOVERABLE) |
| 83 | EXP_SIG(proc0, 0xa876, 3, 0, CHECKSTOP) |
| 84 | EXP_SIG(proc0, 0xa876, 3, 1, RECOVERABLE) |
| 85 | EXP_SIG(proc0, 0xa876, 4, 0, CHECKSTOP) |
| 86 | EXP_SIG(proc0, 0xa876, 4, 1, RECOVERABLE) |
| 87 | EXP_SIG(proc0, 0xa876, 5, 0, CHECKSTOP) |
| 88 | EXP_SIG(proc0, 0xa876, 5, 1, RECOVERABLE) |
| 89 | |
| 90 | // LFIR2 |
| 91 | EXP_SIG(proc0, 0xa976, 0, 0, CHECKSTOP) |
| 92 | EXP_SIG(proc0, 0xa976, 0, 1, RECOVERABLE) |
Zane Shelley | 11b8994 | 2019-11-07 11:07:28 -0600 | [diff] [blame] | 93 | |
| 94 | END_ITERATION |
| 95 | |
| 96 | END_TEST_CASE |