code wiki / _hdl_build / nx_nv1_gate.nx

nx_nv1_gate.nx

buildroot/runtime/_hdl_build/nx_nv1_gate.nx

4727 B122 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic nv1
docsdependenciesstructsconstsfunctions

about

nx_nv1_gate.nx -- ENGINEER gate for the NishiLossless v1 container. Evidence-driven, re-runnable, no network: writes a synthetic container (3 PCM chunks of a known ramp + 5 JPEG-stand-in frames), validates it, asserts every count/byte round-trips, then proves the validator REJECTS each malformation class (truncation, bad magic, bad version, bad kind, nonzero-len terminator, trailing bytes, overrun chunk). license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_nv1.nx nx_g_check_lib.nx nx_g_puts_lib.nx nx_nv1_gate.nx

imports: nx_nv1.nxnx_g_check_lib.nxnx_g_puts_lib.nx

imported by: nobody (leaf or entry point)

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

main g_puts sys_write nv1_write_header nv1_wr_u32 nv1_write_chunk nv1_wr_u32 ↻ nv1_write_end nv1_wr_u32 ↻ nv1_validate nv1_rd_u32 g_check g_puts ↻ nv1_wr_u32 ↻

structs

none

consts

none

functions

13func main() -> i64