code wiki / _hdl_build / nx_litho.nx
nx_litho.nx
buildroot/runtime/_hdl_build/nx_litho.nx
about
nx_litho.nx -- LIB: the semiconductor LITHOGRAPHY / chip-fab process twin (omniforge SI garage-litho; the path to
printing our OWN CPUs). Models the real process recipe (clean->oxidize->coat-resist->expose-mask->develop->etch->
dope->strip->metallize) and the real PHYSICS: YIELD via the Seeds model Y = 1/(1+AD) (A=die area, D=defect density),
transistors per die as a function of feature size, and cost per WORKING chip. Pinned to the real DIY frontier
(Zeloof Z2 ~100 transistor NMOS; CMU Hacker Fab 952 transistors @ ~94% yield). This fabricates the chip whose
netlist we designed in sim (the RV64IM CPU). never-brick #26: sim model, deterministic (fabricating a NEW chip is
not bricking existing hardware). license_tier: ORIGINAL
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_litho_gate.nx
structs
| none |
consts
| 9 | const K_MAGIC_1000000: i64 = 1000000 |
functions
| 12 | func litho_yield_permil(defects_per_die_milli: i64) -> i64 called by 1: main |
| 17 | func litho_defects_milli(die_area_units: i64, defect_density: i64) -> i64 called by 1: main |
| 22 | func litho_transistors(die_area_um2: i64, feature_um: i64) -> i64 called by 1: main |
| 29 | func litho_cost_per_chip(wafer_cost_c: i64, dies: i64, yield_permil: i64) -> i64 called by 1: main |
| 36 | func litho_run_process(steps_ok: *i64, n: i64) -> i64 called by 1: main |