code wiki / _hdl_build / nx_cleanroom.nx

nx_cleanroom.nx

buildroot/runtime/_hdl_build/nx_cleanroom.nx

2350 B32 linesdepth 2pulls 2 transitivereach 3 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_cleanroom.nx -- LIB: the fab CLEANLINESS twin. Answers "can an enclosed (3D-printer-type) chamber match a clean room?" mechanistically. The required cleanliness scales with FEATURE SIZE: a killer particle is ~half the feature, so a micron node tolerates particles a HEPA filter removes trivially, while a nanometer node needs ISO-1 air. Methods: open bench (room air ~ISO9), an ENCLOSED HEPA laminar-flow chamber (mini-environment, ~ISO5), enclosed ULPA + positive pressure + sealed handling (~ISO3), and a full clean room (~ISO1, which ITSELF uses mini-environments at the tool). Lower ISO number = cleaner. This models the established mini-environment / SMIF practice + the DIY proof (Zeloof, CMU Hacker Fab build working ICs at micron nodes with NO clean room). never-brick #26: pure logic. license_tier: ORIGINAL

dependencies 1 imports · 3 importers

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

imports: nx_syscalls.nx

imported by: nx_cleanroom_gate.nxnx_encfab.nxnx_encfab_gate.nx

structs

none

consts

9const K_MAGIC_10000: i64 = 10000

functions

12func clean_required_iso(feature_nm: i64) -> i64
called by 2: mainmain
21func clean_achievable_iso(method: i64) -> i64
called by 2: mainmain
29func clean_meets(achievable_iso: i64, required_iso: i64) -> i64 { if achievable_iso <= required_iso { return 1 } return 0 }
called by 2: mainmain
32func clean_yield_permil(achievable_iso: i64, required_iso: i64) -> i64 { if achievable_iso <= required_iso { return 943 } return 120 }
called by 1: main