code wiki / _hdl_build / nx_pattern_emit5_demo.nx

nx_pattern_emit5_demo.nx

buildroot/runtime/_hdl_build/nx_pattern_emit5_demo.nx

1619 B32 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind sketch/demotopic pattern
docsdependenciesstructsconstsfunctions

about

nx_pattern_emit5_demo.nx -- the TEAM authoring GEOMETRY + PID_LOOP cores (no Claude logic). _pe_mask = mask geometry at the REAL DIY-silicon design rules (5um=5000nm min feature -- the Zeloof/HackerFab floor -- 10um min spacing). _pe_heat = heater PI loop, gains pre-flighted against the plant sim. ALSO proves the refusal rail: dead gains (kp=0 ki=0) must be REFUSED, not authored.

dependencies 2 imports · 0 importers

nx_pattern_emit5.nx nx_syscalls.nx nx_pattern_emit5_demo.nx

imports: nx_pattern_emit5.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 pe5_author_geometry sys_openat_wr pe5_emit_geometry pe_w sys_write pe_wn sys_mmap sys_write ↻ sys_close pe5_emit_geometry_test pe_w ↻ pe_wn ↻ pe5_author_pid pe5_sim_final sys_openat_wr ↻ pe5_emit_pid pe_w ↻ pe_wn ↻ sys_close ↻ pe5_emit_pid_test pe5_sim_final ↻ pe_w ↻ pe_wn ↻ p5_w sys_write ↻ sys_exit

structs

none

consts

7const K_MAGIC_5000: i64 = 5000
8const K_MAGIC_10000: i64 = 10000
9const K_MAGIC_2000: i64 = 2000

functions

11func p5_w(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 calls 1: sys_write
13func main() -> i64