code wiki / _hdl_build / nx_fpga_census_store.nx

nx_fpga_census_store.nx

buildroot/runtime/_hdl_build/nx_fpga_census_store.nx

2461 B53 linesdepth 3pulls 3 transitivereach 1 importersview sourcekind librarytopic fpga
docsdependenciesstructsconstsfunctions

about

nx_fpga_census_store.nx -- LIB: the FPGA-BOOT-SIM capability census in the SOVEREIGN seg-store (knowledge/store/fpgacen-*, via nx_seg_store). Operator: "use the nishi ecosystem" -- the FPGA-sim rungs were tracked only in Claude memory; this puts the capability ladder into the ecosystem's OWN sovereign storage + census machinery (the nx_reader_census / nx_brand_census pattern). NO TSV. Record schema (keys under prefix fpgacen-), TAB-separated VALUE fields (tabs are the value encoding inside the content-addressed store blob, NOT a .tsv file): fc:ids -> index: TAB-separated list of cell ids (the walk order) fc:<id> -> id <tab> rung <tab> capability <tab> best_in_class <tab> status <tab> gate <tab> exceed_angle license_tier: ORIGINAL

dependencies 2 imports · 1 importers

nx_seg_store.nx nx_syscalls.nx nx_fpga_census_store.nx nx_fpga_census.nx

imports: nx_seg_store.nxnx_syscalls.nx

imported by: nx_fpga_census.nx

structs

none

consts

13const FC_PREFIX: *u8 = "knowledge/store/fpgacen-"

functions

15func fc_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
17func fc_get(key: *u8, ptrout: *i64, lenout: *i64) -> i64 { return ss_get(FC_PREFIX, key, ptrout, lenout) }
called by 1: fc_streq_store calls 1: ss_get
19func fc_seg_next_p(prefix: *u8) -> i64
26func fc_field(rec: *u8, rlen: i64, f: i64, out: *u8) -> i64
43func fc_streq_store(key: *u8, val: *u8, vlen: i64) -> i64
calls 2: sys_mmapfc_get