code wiki / _hdl_build / nx_riscv_gate.nx
nx_riscv_gate.nx
buildroot/runtime/_hdl_build/nx_riscv_gate.nx
about
nx_riscv_gate.nx -- SOVEREIGN verifier for the whole RISC-V toolchain. The ECOSYSTEM checks itself: this organ
reads the green-only status logs that each riscv organ writes on PASS, and confirms every rung is GREEN. This
REPLACES the (banned) shell for-loop/grep -- no bash, no sh, no grep. Pattern reused from the ladder/adversary.
T1 all 6 backend rungs have a GREEN status-log: emit, decode, elf, codegen, loop, emu.
T2 (teeth) a bogus marker is NOT found (the check is real, not a rubber stamp).
expect_exit: 0 Sovereign: nx_riscv_lib (UI) + nx_syscalls.
dependencies 2 imports · 0 importers
imports: nx_riscv_lib.nxnx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 10 | func slen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n } called by 1: contains |
| 11 | func read_file(path: *u8, buf: *u8, cap: i64) -> i64 |
| 17 | func contains(buf: *u8, n: i64, needle: *u8) -> i64 |
| 23 | func check_log(path: *u8, marker: *u8, buf: *u8, cap: i64) -> i64 |
| 30 | func main() -> i64 |