nexus-am/apps
xu_zh 95bfbf49fc
feat(apps): add icache ecc test (#48)
Add test for https://github.com/OpenXiangShan/XiangShan/pull/4044

Example log:
```
The first instruction of core 0 has commited. Difftest enabled. 
Setup
Hello, World @ 0!
Test
=== [0] Inject metaArray ===
ECC inject start! eccctrl=0x3
ECC inject done! eccctrl=0x21
No error, call target()
Hello, World @ 1!
=== [0] Test passed! ===

=== [1] Inject dataArray ===
ECC inject start! eccctrl=0xb
ECC inject done! eccctrl=0x29
No error, call target()
Hello, World @ 2!
=== [1] Test passed! ===

=== [2] Inject to invalid target ===
ECC inject start! eccctrl=0x7
ECC inject done! eccctrl=0xf5
=== [2] Test passed! ===

=== [3] Inject when ecc not enabled ===
ECC inject start! eccctrl=0x2
ECC inject done! eccctrl=0x70
=== [3] Test passed! ===

=== [4] Inject to invalid address ===
ECC inject start! eccctrl=0x3
ECC inject done! eccctrl=0x171
=== [4] Test passed! ===

Core 0: HIT GOOD TRAP at pc = 0x8000031a
```
2025-05-28 09:39:26 +08:00
..
coremark fix coremark score int overflow when ITERATIONS > 10000. (10000 * 1000 * 1000 > INT_MAX) (#38) 2024-10-11 17:35:25 +08:00
dhrystone Merge branch 'southlake' 2022-11-03 20:08:26 +08:00
dummy-bootrom apps: update loader and dummy-bootrom 2022-05-02 17:50:50 +08:00
fceux apps,fceux: support video without GUI 2020-07-10 19:40:27 +08:00
hello riscv64: add southlake and southlake-flash 2022-04-30 16:41:57 +08:00
hpmdriver hpm: add parse_encoding 2022-07-07 21:44:11 +08:00
icache-ecc-test feat(apps): add icache ecc test (#48) 2025-05-28 09:39:26 +08:00
litenes fceux,litenes: fix makefile to work on fresh build 2020-02-12 20:34:48 +08:00
litenes_opt libs,klib,macros: define bool/true/false for C files 2020-02-07 17:23:16 +08:00
loader tests,loader,southlake: update workload 2022-05-04 03:49:53 +08:00
maprobe maprobe: disable random access test by default 2023-04-06 17:39:04 +08:00
mem_test feat(memory): add mem bandwidth benchmark (#45) 2024-12-04 16:12:19 +08:00
microbench Microbench: reduce test size of bf 2020-07-26 15:44:44 +08:00
rva-trigger test: add atomic ext trigger tests. 2024-10-21 11:10:58 +08:00
rvv-trigger test: add vector load/store trigger tests. 2024-10-16 11:01:27 +08:00
slider convert text files to unix format and remove trailing whitespace 2020-02-05 22:19:56 +08:00
stream Modified README.md. 2021-01-12 21:56:51 +08:00
tsvc add benchmark tsvc (#55) 2025-04-29 18:08:23 +08:00
typing apps,typing: exit when pressing ESC 2020-03-06 18:17:44 +08:00
zcb-test test: add test for zcb extension (#40) 2024-11-08 19:33:13 +08:00