code wiki / _hdl_build / nx_nack_gate.nx
nx_nack_gate.nx
buildroot/runtime/_hdl_build/nx_nack_gate.nx
dependencies 3 imports · 0 importers
imports: nx_gate_base.nxnx_syscalls.nxnx_nack.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
| 11 | const K: i64 = 200 |
| 12 | const FRAME_US: i64 = 33333 |
| 13 | const NET_US: i64 = 30000 // one-way; RTT = 2*NET |
| 14 | const RTT_US: i64 = 60000 |
functions
| 16 | 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 |
| 18 | func gn(v: i64) -> i64 |
| 23 | func is_lost(s: i64) -> i64 { if (s % 7) == 3 { if s > 0 { return 1 } } return 0 } |
| 26 | func run(target_delay_us: i64, res: *i64) -> i64 |
| 50 | func main() -> i64 |