code wiki / _hdl_build / nx_viz_voronoi_gate.nx

nx_viz_voronoi_gate.nx

buildroot/runtime/_hdl_build/nx_viz_voronoi_gate.nx

2182 B48 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic viz
docsdependenciesstructsconstsfunctions

about

nx_viz_voronoi_gate.nx -- REFEREE for the voronoi (nearest-site) layer. 4 sites at the corners of 100x100: (0,0)=0 (100,0)=1 (0,100)=2 (100,100)=3. Query near each corner -> that site; equidistant centre -> first (0). GREEN iff all. Sovereign: nx_viz_voronoi + nx_syscalls. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_viz_voronoi.nx nx_syscalls.nx nx_gate_verdict.nx nx_viz_voronoi_gate.nx

imports: nx_viz_voronoi.nxnx_syscalls.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

8func g_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
9func g_row(name: *u8, ok: i64) -> i64
16func main() -> i64