code wiki / _hdl_build / nx_vc_gate.nx
nx_vc_gate.nx
buildroot/runtime/_hdl_build/nx_vc_gate.nx
about
nx_vc_gate.nx -- ENGINEER gate for nx_video_client_wasm (the browser
client core). Runs NATIVELY (same source the WAT target ships) and
proves, evidence-driven:
- NV1 cross-implementation: containers packed with vc_* validate GREEN
under nx_nv1.nx (the team-side authority) and field-for-field match;
vc_nv1_next walks exactly the chunks that were packed
- wire frames: pack -> parse round-trips kind/id/seq/payload
- sample plane: integer IEEE-754 f32->i16 matches known vectors incl.
clamp/NaN/Inf/denormal edges; i16->f32 is exact on all 65536 values
(round-trips through the inverse map where exactness is defined)
- ladder governor: degrade/recover hysteresis decisions
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_video_client_wasm.nxnx_nv1_lpc.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
| 17 | func g_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 18 | func g_check(name: *u8, cond: i64) -> i64 |
| 22 | func g_pn(v: i64) -> i64 called by 1: main |
| 34 | func main() -> i64 |