code wiki / _hdl_build / nx_rv64im_decoder_dump.nx

nx_rv64im_decoder_dump.nx

buildroot/runtime/_hdl_build/nx_rv64im_decoder_dump.nx

2669 B76 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind tooltopic rv64im
docsdependenciesstructsconstsfunctions

about

nx_rv64im_decoder_dump.nx -- dump rv64im_min_decoder field outputs for every word in decode_words.bin, so an independent Python RV64 decoder can diff them 1:1. Per-word line (all hex16, tab-sep): word opcode funct3 funct7 rd rs1 rs2 imm_i imm_s imm_b imm_u imm_j kind expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nishi_hdl_primitives.nx rv64im_min_decoder.nx nx_rv64im_decoder_dump.nx

imports: nx_syscalls.nxnishi_hdl_primitives.nxrv64im_min_decoder.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close _field _hex16 sys_openat_wr sys_write ↻ sys_close ↻

structs

none

consts

11const K_MAGIC_16777216: i64 = 16777216

functions

13func _hex16(v: i64, out: *u8, pos: i64) -> i64
called by 1: _field
26func _field(out: *u8, pos: i64, v: i64, sep: i64) -> i64
called by 1: main calls 1: _hex16
32func main() -> i64