code wiki / _hdl_build / _pe_mask.nx

_pe_mask.nx

buildroot/runtime/_hdl_build/_pe_mask.nx

449 B5 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind librarytopic pe
docsdependenciesstructsconstsfunctions

about

AUTHORED BY THE NISHI BUILDER (pattern: GEOMETRY) -- nm-domain area/spacing/DRC, no Claude logic

dependencies 1 imports · 1 importers

nx_syscalls.nx _pe_mask.nx _pe_mask_test.nx

imports: nx_syscalls.nx

imported by: _pe_mask_test.nx

structs

none

consts

none

functions

3func _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
4func _pe_mask_spacing_ok(x1: i64, w1: i64, x2: i64) -> i64 { if x2 >= x1 + w1 + 10000 { return 1 } return 0 }
called by 1: main
5func _pe_mask_drc(w: i64, h: i64) -> i64 { if w < 5000 { return 0 } if h < 5000 { return 0 } return 1 }
called by 1: main