code wiki / _hdl_build / nx_cost_decompose.nx

nx_cost_decompose.nx

buildroot/runtime/_hdl_build/nx_cost_decompose.nx

7143 B83 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tooltopic cost
docsdependenciesstructsconstsfunctions

dependencies 2 imports · 0 importers

nx_gate_gn.nx nx_caplab_supply.nx nx_cost_decompose.nx

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

main gp nx_clab_unit_cost prow gp ↻ gn gd gn ↻ gd ↻ gn ↻ have

structs

none

consts

none

functions

13func gp(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: prowmain
14func gd(c: i64) -> i64
called by 2: prowmain calls 1: gn
19func 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
21func prow(idx: i64, name: *u8, cost_c: i64, measured: i64, driver: *u8, src: *u8) -> i64
called by 1: main calls 3: gpgngd
29func main() -> i64