code wiki / _hdl_build / nx_viz_pack_gate.nx

nx_viz_pack_gate.nx

buildroot/runtime/_hdl_build/nx_viz_pack_gate.nx

2692 B71 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic viz
docsdependenciesstructsconstsfunctions

about

nx_viz_pack_gate.nx -- REFEREE for the circle-pack layer (property-based: the pack must be non-overlapping). radii [40,30,25,20,15]: T1 all placed T2 circle0 at centre T3 NO overlaps (all pairs d>=ri+rj) T4 deterministic (same input -> same output) GREEN iff all. Sovereign: nx_viz_pack (-> nx_viz_trig). license_tier: ORIGINAL

dependencies 4 imports · 0 importers

nx_viz_pack.nx nx_viz_trig.nx nx_syscalls.nx nx_gate_verdict.nx nx_viz_pack_gate.nx

imports: nx_viz_pack.nxnx_viz_trig.nxnx_syscalls.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

10func 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 }
11func g_row(name: *u8, ok: i64) -> i64
18func no_overlap(n: i64, r: *i64, xs: *i64, ys: *i64) -> i64
34func main() -> i64