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.
| module | description | lines | funcs |
|---|---|---|---|
| nx_riscv.nx | RV64 codegen backend, in NishiLang. | 2891 | 65 |
| nx_riscv_codegen.nx | SOVEREIGN RISC-V backend, RUNG 4: IR -> RISC-V CODEGEN. Now on the GENERAL nx_riscv_lib | 66 | 2 |
| nx_riscv_decode.nx | SOVEREIGN RISC-V backend RUNG 1b: our own rv64im DECODER / round-trip oracle. Now on the | 71 | 2 |
| nx_riscv_elf.nx | SOVEREIGN RISC-V backend RUNG 2: our own ELF64 writer. Now on the GENERAL nx_riscv_lib | 56 | 1 |
| nx_riscv_emit.nx | SOVEREIGN RISC-V backend RUNG 1: our own rv64im encoder. Now on the GENERAL nx_riscv_lib | 57 | 4 |
| nx_riscv_emu.nx | SOVEREIGN RISC-V backend, RUNG 5: execute the ELF our writer emitted. Now on the GENERAL | 43 | 1 |
| nx_riscv_gate.nx | SOVEREIGN verifier for the whole RISC-V toolchain. The ECOSYSTEM checks itself: this organ | 61 | 5 |
| nx_riscv_lib.nx | GENERAL SOVEREIGN RISC-V CAPABILITIES (the shared ecosystem library for the rv64im toolchain). | 135 | 33 |
| nx_riscv_loop.nx | SOVEREIGN RISC-V backend, RUNG 3: CONTROL FLOW. Now uses the GENERAL nx_riscv_lib for the | 70 | 3 |
| nx_riscv_spec_oracle_gate.nx | THE ORACLE ROW FOR `nishios`: corroborate the mcause exception codes | 261 | 7 |
| riscv.nx | alias stub. | 28 | 0 |
| riscv_fp_test.nx | self-test for rv_emit_fbinop (F-extension). | 266 | 2 |
| riscv_test.nx | self-test for riscv.nx. | 31 | 1 |