code wiki / _hdl_build / nx_litho.nx

nx_litho.nx

buildroot/runtime/_hdl_build/nx_litho.nx

2115 B40 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind librarytopic litho
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_litho.nx nx_litho_gate.nx

imports: nx_syscalls.nx

imported by: nx_litho_gate.nx

structs

none

consts

9const K_MAGIC_1000000: i64 = 1000000

functions

12func litho_yield_permil(defects_per_die_milli: i64) -> i64
called by 1: main
17func litho_defects_milli(die_area_units: i64, defect_density: i64) -> i64
called by 1: main
22func litho_transistors(die_area_um2: i64, feature_um: i64) -> i64
called by 1: main
29func litho_cost_per_chip(wafer_cost_c: i64, dies: i64, yield_permil: i64) -> i64
called by 1: main
36func litho_run_process(steps_ok: *i64, n: i64) -> i64
called by 1: main