code wiki / _hdl_build / nx_newton_struct.nx
nx_newton_struct.nx
buildroot/runtime/_hdl_build/nx_newton_struct.nx
about
nx_newton_struct.nx -- the Newton-Raphson reciprocal-divider STRUCTURE (the
operator dependency chain of nx_alu_divider_newton.nx) as an NxGsim network,
parameterized by width W, iteration count, correction stages, and the
MULTIPLIER MODEL (deep limb-schoolbook vs shallow single-cell Wallace).
Extracted from nx_latency_metric_test.nx so the latency race AND the
hardware-adaptive divider picker (nx_div_pick.nx) build the SAME structure from
ONE source (DRY). It is a LATENCY/topology skeleton -- the functional 1:1
Newton gate-net is nx_recip_synth.nx; the scalar arithmetic proof is
nx_alu_divider_newton.nx. license_tier: ORIGINAL
dependencies 2 imports · 2 importers
imports: nx_alu_divider.nxnx_mul_wide.nx
imported by: nx_div_pick.nxnx_latency_metric_test.nx
structs
| none |
consts
| none |
functions
| 18 | func nx_newton_mulprod(g: *NxGsim, a: i64, b: i64, use_wide: i64, hio: *i64) -> i64 |
| 25 | func nx_newton_struct(g: *NxGsim, na: i64, nb: i64, W: i64, iters: i64, kcorr: i64, use_wide: i64) -> i64 |