code wiki / _hdl_build / nx_cost_decompose.nx
nx_cost_decompose.nx
buildroot/runtime/_hdl_build/nx_cost_decompose.nx
about
nx_cost_decompose.nx -- Tracks cost breakdown from raw materials to retail price, linking each stage to its drivers and sources.
dependencies 2 imports · 0 importers
imports: nx_gate_gn.nxnx_caplab_supply.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 14 | func gp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 15 | func gd(c: i64) -> i64 |
| 20 | func have(p: *u8) -> i64 { let fd: i64=sys_openat_rd(p); if fd<0 { return 0 } sys_close(fd); return 1 } called by 1: main |
| 22 | func prow(idx: i64, name: *u8, cost_c: i64, measured: i64, driver: *u8, src: *u8) -> i64 |
| 30 | func main() -> i64 |