mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-04 22:32:36 +00:00
feat: add NPU register tests for RTL and SDK synchronization
- Introduced to ensure consistency between RTL and C register definitions. - Implemented exhaustive checks for offsets, scalar encodings, bit shifts, and enumerations. - Added for shell and control-CDC unit tests using Icarus and Verilator. - Created test cases for NPU register and control CDC functionality, verifying successful simulation outputs.
This commit is contained in:
54 files changed
+6482
-190
No files matched your search
@@ -36,6 +36,7 @@ TEST_SOURCES = (
|
||||
"crt/src/hal/apu.c",
|
||||
"crt/src/hal/ga2d_math.c",
|
||||
"crt/src/hal/ga2d.c",
|
||||
"crt/src/hal/npu.c",
|
||||
"crt/src/hal/fabric_monitor.c",
|
||||
"crt/src/hal/sysctrl.c",
|
||||
"crt/src/hal/clock.c",
|
||||
@@ -99,6 +100,7 @@ def main() -> int:
|
||||
"-fno-builtin",
|
||||
"-DRS_APU_TEST_MMIO",
|
||||
"-DRS_GA2D_TEST_MMIO",
|
||||
"-DRS_NPU_TEST_MMIO",
|
||||
"-DRS_FABRIC_MONITOR_TEST_MMIO",
|
||||
"-DRS_RESOURCE_TEST_MMIO",
|
||||
"-I",
|
||||
|
||||
Reference in new issue
Block a user