code wiki / _hdl_build / nx_riscv_decode.nx
nx_riscv_decode.nx
buildroot/runtime/_hdl_build/nx_riscv_decode.nx
about
nx_riscv_decode.nx -- SOVEREIGN RISC-V backend RUNG 1b: our own rv64im DECODER / round-trip oracle. Now on the
GENERAL nx_riscv_lib (shared encoders, decoders, ident, UI) -- only name_of + the tests are local.
T1 round-trip decode(encode(x))==x. T2 read back the bytes our encoder emitted == the no-float kernel.
T3 (teeth) a corrupted word decodes to a different instruction. (no objdump/gcc/sh)
expect_exit: 0 Sovereign: nx_riscv_lib (+ 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
| 9 | func name_of(id: i64) -> i64 |
| 16 | func main() -> i64 |