code wiki / _hdl_build / nx_pm_plan.nx

nx_pm_plan.nx

buildroot/runtime/_hdl_build/nx_pm_plan.nx

2859 B60 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind librarytopic pm
docsdependenciesstructsconstsfunctions

about

nx_pm_plan.nx -- the Nishi PM's PLANNING + SCHEDULING capability: turn the roadmap (the maturity-ladder gaps) into estimated, ordered work with check-in cadence and completion ETAs the operator can read (operator: "have them begin the process and building the log... giving a time estimate to checkins and completions per the nishi pm... the goal being hardware then bits up... we are on 3rd party hardware working to move towards first while still trying to get full value out of 3rd party"). Estimates are in BUILD-UNITS (BU): 1 BU ~= one autonomous build+verify iteration (NOT wall-clock -- wall-clock depends on run cadence; the PM is honest about that). license_tier: ORIGINAL Uses the maturity ladder for cur/target levels.

dependencies 2 imports · 1 importers

nx_maturity_auditor.nx nx_syscalls.nx nx_pm_plan.nx nx_pm_plan_gen.nx

imports: nx_maturity_auditor.nxnx_syscalls.nx

imported by: nx_pm_plan_gen.nx

structs

none

consts

15const PM_PARTY_THIRD: i64 = 1 // runs ON 3rd-party silicon/OS -- extract full value now
16const PM_PARTY_BRIDGE: i64 = 2 // sovereign artifact that still runs on 3rd-party HW (our toolchain on Linux)
17const PM_PARTY_FIRST: i64 = 3 // first-party / sovereign target -- the migration goal
20const PM_L_HARDWARE: i64 = 0
21const PM_L_ISA: i64 = 1
22const PM_L_ASM: i64 = 2
23const PM_L_LINK: i64 = 3
24const PM_L_COMPILER: i64 = 4
25const PM_L_RUNTIME: i64 = 5
26const PM_L_OSFUND: i64 = 6
27const PM_L_SERVICE: i64 = 7
28const PM_L_APP: i64 = 8

functions

31func pm_effort(cur_level: i64, target_level: i64, layer_weight: i64) -> i64
called by 1: main
37func pm_checkins(effort: i64, quantum: i64) -> i64
called by 1: main
45func pm_party_label(p: i64) -> *u8
called by 1: main
50func pm_layer_label(l: i64) -> *u8
called by 1: main