code wiki / _hdl_build / nx_nhdl_perf_gate.nx
nx_nhdl_perf_gate.nx
buildroot/runtime/_hdl_build/nx_nhdl_perf_gate.nx
dependencies 6 imports · 0 importers
imports: nx_gate_base.nxnx_nrtl.nxnx_nbit.nxnx_nhdl.nxnx_fpga_fabric.nxnx_syscalls.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
| 21 | func grow(name: *u8, ok: i64) -> i64 { if ok==1 { gw(" PASS " as *u8) } else { gw(" FAIL " as *u8) } gw(name); gw(" calls 1: gw |
| 23 | func gn(v: i64) -> i64 { let b: *u8=sys_mmap(28); var m: i64=v; if m<0{sys_write(1,"-\x00" as *u8,1);m=0-m} let t: *u8=sys_mmap(28); var k: i64=0; if m==0{t[0]=48 as u8;k=1} while m>0{t[k]=(48+(m%10)) as u8;m=m/10;k=k+1} var i: i64=0; while i<k{b[i]=t[k-1-i];i=i+1} sys_write(1,b,k); return 0 } |
| 26 | func perf_now_ns() -> i64 |
| 33 | func run_flow(mbuf: *u8, slen: i64, ci: *i64, cs: *i64, ck: *i64, cp: *i64, on: *i64, op: *i64, oW: *i64, tile_of: *i64, bbuf: *u8) -> i64 |
| 39 | func cpstr(dst: *u8, s: *u8) -> i64 { var i: i64=0; while s[i]!=(0 as u8){ dst[i]=s[i]; i=i+1 } dst[i]=0 as u8; return i } |
| 41 | func main() -> i64 |