code wiki / _hdl_build / nx_nofloat_k3block_gate.nx

nx_nofloat_k3block_gate.nx

buildroot/runtime/_hdl_build/nx_nofloat_k3block_gate.nx

3514 B75 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic nofloat
docsdependenciesstructsconstsfunctions

about

nx_nofloat_k3block_gate.nx -- gate: the K3 primitives LOGICALLY INTEGRATE into one deterministic block. T1 the block RUNS end-to-end and TRANSFORMS the input (output != input, all cells) T2 RESIDUAL structure holds: out - h = ffn(h), h - x = attn-proj (composition is real, not a passthrough) T3 BOUNDED (no overflow / no NaN-equivalent blowup): all outputs finite-range T4 DETERMINISTIC bit-identical (the exceed: a float K3 block drifts by accumulation order) license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 3 imports · 0 importers

nx_nofloat_k3block.nx nx_gate_verdict.nx nx_syscalls.nx nx_nofloat_k3block_gate.nx

imports: nx_nofloat_k3block.nxnx_gate_verdict.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap gv_head gv_puts sys_write sys_mmap ↻ kb_fill k3_block sys_mmap ↻ k3_matmul la_forward sys_mmap ↻ la_zero la_accum la_readout k3_add k3_relu gv_check gv_puts ↻ gv_verdict gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻ sys_exit

structs

none

consts

11const KB_T: i64 = 4
12const KB_D: i64 = 4
13const KB_DFF: i64 = 8
14const KB_Q: i64 = 65536

functions

17func kb_fill(m: *i64, rows: i64, cols: i64, seed: i64) -> i64
called by 1: main
23func main() -> i64