code wiki / _hdl_build / nx_hairbake_probe.nx

nx_hairbake_probe.nx

buildroot/runtime/_hdl_build/nx_hairbake_probe.nx

1663 B46 linesdepth 5pulls 9 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

about

nx_hairbake_probe.nx -- scratch v3: is the hair chain STABLE? Seed a small release and watch the tip's envelope over 4200 ticks (70 s sim). Decay to zero = stable (long transient); a sustained band = limit cycle = the integrator itself oscillates and no seed amplitude can fix the table.

dependencies 5 imports · 0 importers

nx_syscalls.nx nx_softdyn.nx nx_softbind.nx nx_hairdyn_lib.nx nx_gate_verdict.nx nx_hairbake_probe.nx

imports: nx_syscalls.nxnx_softdyn.nxnx_softbind.nxnx_hairdyn_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main hd_alloc sd_alloc 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 ↻ hd_seat hd_tick sd_step_axq sd_clampk sd_clampc sd_isqrt vm_isqrt sd_deadsnap sd_abs gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap hd_tip_x_q8

structs

none

consts

10const PB_NSEG: i64 = 7
11const PB_SEGLEN: i64 = 256
12const PB_WIN: i64 = 300
13const PB_NWIN: i64 = 14

functions

15func main() -> i64