code wiki / _hdl_build / _pe_mask.nx
_pe_mask.nx
buildroot/runtime/_hdl_build/_pe_mask.nx
about
AUTHORED BY THE NISHI BUILDER (pattern: GEOMETRY) -- nm-domain area/spacing/DRC, no Claude logic
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: _pe_mask_test.nx
structs
| none |
consts
| none |
functions
| 3 | func _pe_mask_area(w: i64, h: i64) -> i64 { if w < 0 { return 0 - 1 } if h < 0 { return 0 - 1 } return w * h } called by 1: main |
| 4 | func _pe_mask_spacing_ok(x1: i64, w1: i64, x2: i64) -> i64 { if x2 >= x1 + w1 + 10000 { return 1 } return 0 } called by 1: main |
| 5 | func _pe_mask_drc(w: i64, h: i64) -> i64 { if w < 5000 { return 0 } if h < 5000 { return 0 } return 1 } called by 1: main |