code wiki / _hdl_build / nx_bootstrap.nx
nx_bootstrap.nx
buildroot/runtime/_hdl_build/nx_bootstrap.nx
about
nx_bootstrap.nx -- LIB: the DOOMSDAY self-sufficiency + ROI model. Scales the digital-twin/supply-chain capability
from a single product up to the WHOLE fabrication bootstrap: the chain of machines/processes from the tiniest input
(feedstock) up to making our OWN CPUs/GPUs. Each stage carries real numbers: capital cost (cents), build time (days),
value produced (cents/day), and self_made (1 = we can build it from lower stages in-house, 0 = a must-buy "vitamin").
Computes SELF-SUFFICIENCY (permil makeable in-house), per-machine ROI/PAYBACK days, and the BOTTLENECKS (what stays
bought -- chips, steppers per Gershenfeld). The leverage: closing the chip bottleneck (garage litho / additive CPU
printing) is the biggest self-sufficiency jump. Inputs are RESEARCH-GROUNDED ESTIMATES (RepRap/OSE/Zeloof/CMU Hacker
Fab); the rollup MATH is exact. never-brick #26: pure arithmetic, deterministic. license_tier: ORIGINAL
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 12 | func boot_selfsuff_permil(self_made: *i64, n: i64) -> i64 |
| 19 | func boot_payback_days(capital: i64, value_per_day: i64) -> i64 |
| 25 | func boot_bottlenecks(self_made: *i64, n: i64) -> i64 |
| 32 | func boot_total_capital(capital: *i64, n: i64) -> i64 |