code wiki / riscv

topic: riscv

13 modules sharing the riscv name family (derived from the tree's prefix discipline).

The 'riscv' topic family in the Nishi sovereign ecosystem provides a comprehensive toolchain for RISC-V architecture, supporting code generation, decoding, encoding, and execution. The nx_riscv module serves as the RV64 codegen backend, while nx_riscv_decode and nx_riscv_emit handle decoding and encoding of rv64im instructions. These modules work alongside nx_riscv_elf to produce and execute ELF64 binaries, with nx_riscv_gate ensuring the integrity of the entire RISC-V toolchain.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_riscv.nxRV64 codegen backend, in NishiLang. 289165
nx_riscv_codegen.nxSOVEREIGN RISC-V backend, RUNG 4: IR -> RISC-V CODEGEN. Now on the GENERAL nx_riscv_lib662
nx_riscv_decode.nxSOVEREIGN RISC-V backend RUNG 1b: our own rv64im DECODER / round-trip oracle. Now on the712
nx_riscv_elf.nxSOVEREIGN RISC-V backend RUNG 2: our own ELF64 writer. Now on the GENERAL nx_riscv_lib561
nx_riscv_emit.nxSOVEREIGN RISC-V backend RUNG 1: our own rv64im encoder. Now on the GENERAL nx_riscv_lib574
nx_riscv_emu.nxSOVEREIGN RISC-V backend, RUNG 5: execute the ELF our writer emitted. Now on the GENERAL431
nx_riscv_gate.nxSOVEREIGN verifier for the whole RISC-V toolchain. The ECOSYSTEM checks itself: this organ615
nx_riscv_lib.nxGENERAL SOVEREIGN RISC-V CAPABILITIES (the shared ecosystem library for the rv64im toolchain).13533
nx_riscv_loop.nxSOVEREIGN RISC-V backend, RUNG 3: CONTROL FLOW. Now uses the GENERAL nx_riscv_lib for the703
nx_riscv_spec_oracle_gate.nxTHE ORACLE ROW FOR `nishios`: corroborate the mcause exception codes2617
riscv.nxalias stub.280
riscv_fp_test.nxself-test for rv_emit_fbinop (F-extension). 2662
riscv_test.nxself-test for riscv.nx. 311