# The oracle ladder Tiers (Phase 0 rules): 1 hardware-captured > 2 manufacturer documents > 3 hardware- corrected community documents and tests that pass on real hardware > 4 HDL reimplementations > 5 emulators. A low tier is a **detector**, never a **judge**. **There is no tier-1 oracle for the ARM946E-S.** No die photograph analysis, no captured bus traces, no per-instruction corpus recorded on a DS were found (2026-11-26). We have no DS hardware (Aubrey's hardware list); any console probe goes to his queue. | Tier | Oracle | Licence | Pin | Can decide | Cannot decide | | --- | --- | --- | --- | --- | --- | | 2 | ARM DDI 0100E / 0100I (ARM ARM) | ARM's copyright, facts only | SHA-256 in pinned_files.json | the v5TE semantics, encodings, what is UNPREDICTABLE | how this implementation fills the unpredictable cases | | 2 | ARM DDI 0165B (ARM9E-S Rev 1 TRM) | ARM's | SHA-256 | cycle counts, interlocks, both buses' activity per cycle, abort model | the DS's wait states | | 2 | ARM DDI 0201D (ARM946E-S r1p1 TRM) | ARM's | SHA-256 | CP15 registers, caches, PU, TCM, BIU, write buffer | the DS's configuration values (GBATEK reads them back), the pseudo-random replacement sequence | | 3 | GBATEK (no$gba 3.06 text) | no licence, facts only | SHA-256 (live document) | DS-specific values read on a DS (ID registers, control-register R/W bits), the DS memory timing table, the ARMv5 corner cases on the NDS9 | anything it marks "?"; it publishes no captures | | 3 | rockwrestler (RockPolish), `rockwrestler.nds` | none stated: run only, sources not read | commit b0067a0 | CLZ, Q ops, the five DSP multiplies, BLX, LDR/LDM/POP-to-PC interworking, LDM/STM edge cases, TCM incl. load mode, IPC, maths unit, WRAMCNT/VRAMCNT; verdicts on screen | timing; which of its cases were confirmed on a console (its README credits StrikerX3 "for helping me test on hardware", not per test) | | 3 | Nintendo's test programs in No-Intro: "Nitro EVA. AGING", "Nitro EVA. SELF CHECKER" (several versions), "Board Checker TWL" | Nintendo's copyright: run in place from `$NO_INTRO_DIR` as judges, never copied, committed, disassembled or read (the GBA aging-cartridge rule) | No-Intro names (nds-python census.md) | that the CPU, caches, TCM and memory pass Nintendo's factory checks, read from their screens | what a failing check tests | | 3-probe | asiekierka cached-memory-performance | CC0-1.0 | commit 9c78f60 | nothing until run on a console; then cached vs uncached timing | | | 5 | MAME 0.285 `nds` (ARM946ES device) | BSD-3-Clause by its files' licence lines; kept closed | the installed binary | instruction results over the BIOS/firmware boot (mame-oracle.md) | timing (a flat 3 cycles per instruction, OBSERVED), caches, TCM timing, cartridges | | 5 | arm7tdmi-python (our ARMv4T core) | MIT | commit pinned when used | the shared ARMv4T subset's results, as a differential detector | anything where v4 and v5 differ (isa-v5te.md lists them) | | 5 | melonDS (GPL-3.0), DeSmuME (GPL-2.0), NooDS (GPL-3.0) | copyleft: closed boxes, built and run from emu-tools-gpl only, never read | not built (none of them is in emu-tools-gpl yet) | detectors over game code, if ever needed | anything as a judge | | 5 | SkyEmu (MIT, has an NDS core) | MIT; its README's AI policy refuses AI-generated code *into SkyEmu* and allows AI for understanding | not pinned | a detector | | | — | DualSOUP (Jakly, MPL-2.0, "cycle accurate NDS") | file-level copyleft: closed box at most; **set aside pending Aubrey**: its author's CONTRIBUTING says "I really dont like AI ... any AI usage will be frowned upon and rejected" (read 2026-11-26) | not fetched | | | | — | ARMWrestler for the DS, SingleStepTests for ARMv5 | — | **not found** (SingleStepTests has ARM7TDMI only, 2026-11-26) | | | No tier-4 oracle: no public DS FPGA core was found. ## The rung ladder (exit tests) 0. **Tooling and decode.** `scripts/gen_tables.py` from the ARM ARM's encoding tables into a committed `_tables.py` with `--check`; disassembler matching MAME's text over the 372,403 lines of the one-frame ARM9 boot trace (mnemonics and operands, MAME's syntax differences listed); state, trace, debug, console in arm7tdmi-python's shape. Exit: `--check` clean, disassembly matches or every difference is named. 1. **Instruction semantics on synthetic cases.** No ARMv5 corpus exists, so the build writes its own short cases from the ARM ARM pseudo-code for each new instruction and each changed rule (isa-v5te.md), and runs the ARMv4T subset in lockstep against arm7tdmi-python (results only). Exit: every case passes; every v4/v5 disagreement is on isa-v5te.md's list. 2. **MAME lockstep over the BIOS boot** (with nds-python's minimal bus or a stub): register writes instruction by instruction until the first timing-caused divergence. Exit: no non-timing divergence in the first 372,403 instructions. 3. **rockwrestler on nds-python:** the ARMv5 and TCM groups pass (IPC, maths, WRAMCNT, VRAMCNT are the board's). Exit: all ARMv5 and TCM cases PASS on screen. 4. **CP15, caches, PU, write buffer:** cases from DDI 0201D for each register and cache operation (lockdown, clean, invalidate, load mode, region priority, aborts). Exit: every case passes; pseudo-random replacement marked HYPOTHESIS. 5. **Timing:** DDI 0165B chapter 8 as data, interlocks, the memory system's costs; checked against GBATEK's table through nds-python's bus. Exit: the table's rows reproduced by timing loops on the board; every gap a named U-item. 6. **Seeded faults**, each caught by a rung above (the family's rule that every gate proves it can fail): a wrong Q flag, LDM writeback with the base last, MUL clearing C, a missing interlock, a cache that allocates on write, ITCM losing to DTCM. Rung 3 and Nintendo's test programs need the board; they are nds-python's rungs too.