code wiki / _hdl_build / nx_pattern_emit2_demo.nx

nx_pattern_emit2_demo.nx

buildroot/runtime/_hdl_build/nx_pattern_emit2_demo.nx

1276 B24 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind sketch/demotopic pattern
docsdependenciesstructsconstsfunctions

about

nx_pattern_emit2_demo.nx -- the TEAM authoring COMPARATOR + THRESHOLD_TABLE cores (no Claude logic). Authors a comparator and a real material-profile capacity table (the printer's jam-physics shape: 190C->6000, 210C->10000, 230C->13000 milli-mm3/s) to disk. Engineer verifies the authored tests.

dependencies 2 imports · 0 importers

nx_pattern_emit.nx nx_syscalls.nx nx_pattern_emit2_demo.nx

imports: nx_pattern_emit.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 pe_author sys_openat_wr pe_emit_verdict_gate pe_w sys_write pe_wn sys_mmap sys_write ↻ pe_emit_comparator pe_w ↻ pe_emit_accumulator pe_w ↻ sys_close pe_emit_verdict_test pe_w ↻ pe_wn ↻ pe_emit_comparator_test pe_w ↻ pe_emit_accumulator_test pe_w ↻ pe_author_threshold sys_openat_wr ↻ pe_emit_threshold_table pe_w ↻ pe_wn ↻ sys_close ↻ pe_emit_threshold_test pe_w ↻ pe_wn ↻ pd_w sys_write ↻ sys_exit

structs

none

consts

6const K_MAGIC_6000: i64 = 6000
7const K_MAGIC_10000: i64 = 10000
8const K_MAGIC_13000: i64 = 13000

functions

10func pd_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
12func main() -> i64