code wiki / _hdl_build / nx_encfab_gate.nx

nx_encfab_gate.nx

buildroot/runtime/_hdl_build/nx_encfab_gate.nx

4474 B70 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_encfab_gate.nx -- GATE: complete enclosed-fab feasibility for our micron CPU node, all dimensions (not just particles). T1 FEASIBLE -- all 6 environment dimensions controllable in an enclosed setup -> the enclosed fab is FEASIBLE. T2 LIAR-KILL -- a bare-printed-plastic chamber (outgassing uncontrolled) -> NOT feasible (the enclosure must be clean-grade). T3 CAPITAL -- enclosed environment ~$15k vs a clean room ~$10M -> 666x cheaper (this is what makes the doomsday CPU fab affordable). T4 PARTICLES -- composes nx_cleanroom: the enclosed HEPA chamber meets the 10um particle requirement. T5 NEVER-BRICK-- deterministic. GREEN iff all. Sovereign nx_cc->nxasm. Validates the bootstrap's ~$15k garage-litho (it is an ENCLOSED fab, not a clean room). expect_exit: 0 license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_encfab.nx nx_cleanroom.nx nx_syscalls.nx nx_encfab_gate.nx

imports: nx_encfab.nxnx_cleanroom.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 w sys_write sys_mmap wn w ↻ sys_mmap ↻ sys_write ↻ encfab_all_controlled encfab_capital encfab_cheaper_x clean_meets clean_achievable_iso clean_required_iso sys_exit

structs

none

consts

none

functions

13func 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 2: wnmain calls 1: sys_write
14func wn(v: i64) -> i64 { var m: i64=v; if m<0{w("-" as *u8);m=0-m} let t:*u8=sys_mmap(28); var k:i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i:i64=0; let o:*u8=sys_mmap(28); while i<k{o[i]=t[k-1-i];i=i+1} sys_write(1,o,k); return 0 }
called by 1: main calls 3: wsys_mmapsys_write
16func main() -> i64