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 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 ↻ 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_note_bare_rate gv_bare_rate gv_at gv_obj_has_n gv_at ↻

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