code wiki / _hdl_build / nx_team_selfdirect_test.nx
nx_team_selfdirect_test.nx
buildroot/runtime/_hdl_build/nx_team_selfdirect_test.nx
about
nx_team_selfdirect_test.nx -- the team DIRECTS ITS OWN WORK: scans a domain, finds
the GAPS its library can't compute, builds exactly those (synth->verify->govern->
bank), and KNOWS WHEN DONE (a re-scan finds nothing). Domain = x*c for c in 2..7.
NOTE: the per-goal work lives in helper functions, not in main. The Engineer
(nx_engineer_crash) caught an earlier version crashing with SIGSEGV at main entry,
0 output -- the known-good compiler miscompiles very-high-local-count functions
(the g1 high-pressure class). Splitting main into smaller frames is the workaround;
the underlying compiler bug is owed by the codegen arc. Known answer: pass 1 builds
6, pass 2 finds 0 gaps.
dependencies 2 imports · 0 importers
imports: nx_synth.nxnx_crew_council.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 15 | func sd_puts(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } called by 1: main |
| 16 | func sd_num(v: i64) -> i64 called by 1: main |
| 25 | func sd_covered(lib_op: *i64, lib_a: *i64, lib_b: *i64, lib_L: *i64, lib_n: i64, |
| 42 | func sd_fill(ex_x: *i64, ex_y: *i64, c: i64) -> i64 |
| 49 | func sd_is_gap(lib_op: *i64, lib_a: *i64, lib_b: *i64, lib_L: *i64, lib_n: i64, c: i64) -> i64 |
| 58 | func sd_build(lib_op: *i64, lib_a: *i64, lib_b: *i64, lib_L: *i64, lib_n_ptr: *i64, |
| 87 | func main() -> i64 |