
Per-group adaptive INT2/INT4/INT8 KV-cache quantizer for KVCE-Pro — a 2-reduction inline SQNR estimate… It is delivered as a licensable soft-IP block engineered as an ASIL-B Safety Element out of Context — not just RTL, but the complete functional-safety work package needed to carry it into an ISO 26262 program:
Per-group variable-compression allocator for the KVCE (KV-cache compression) family. A component of KVCE-Pro (CTRL[18] ADAPT_EN), catalogued separately for its own golden-model equivalence check and FMEDA.
SQNR\_THRESH register (T, linear Q0 = ⌈10^(target_dB/10)⌉); T=0 reverts the path to fixed-rate, byte-identical to the proven KVCE-Std/Pro quantizer, gated globally by CTRL[18]ADAPT\_ENkvce\_vr\_packer/kvce\_vr\_unpacker/kvce\_vr\_dequant) — bit-exact round trip, the |x−x̂| ≤ scale bound holding per groupGROUP\_MAX-deep buffer (default 128 elements), runtime-programmable group\_size (1..GROUP\_MAX)make kvce\_adaptive\_quant) — the equivalence check caught and fixed a real absmax² truncation bug that undersized the width on high-dynamic-range groupsISO 26262 ASIL-B SEooC (self-contained diagnostics, no integrator Assumption of Use) — SPFM 91.90%, LFM 87.19%, PMHF 3.05×10⁻⁸/h; deployed inside the KVCE-Pro AXI4 / CHI RN-F KV-cache compression datapath (CTRL[18]ADAPT\_EN)
ASIL-B (SEooC) · SPFM 91.90% · LFM 87.19% · PASS
ISO 26262:2018 · FMEDA available · Safety Manual included
See datasheet for full register reference.
// Minimal instantiation
kvce_adaptive_quant #(
.ADDR_W(6)
) u_kvce_adaptive_quant (
.clk (clk),
.rst_n (rst_n),
// APB4
.p_paddr (paddr),
.p_psel (psel),
.p_penable (penable),
.p_pwrite (pwrite),
.p_pwdata (pwdata),
.p_prdata (prdata),
.p_pready (pready),
// Safety
.err_clear (1'b0),
.err_valid (err_valid),
.err_code (err_code)
);Configure via the CTRL register after reset to enable the IP and set operating parameters. Monitor err_valid / err_code for any safety faults reported by the built-in safety monitor.
Typically deployed in safety-critical edge inference — ADAS, autonomous robotics, and machine vision.
Pricing, the per-IP FMEDA, safety manual, and RTL data room are shared under a mutual NDA.
Figures are pre-silicon engineering-grade estimates for a Safety Element out of Context (SEooC); final ASIL sign-off is the integrator’s, supported under NDA. FMEDA and Safety Manual available under NDA.
circuit-design.space · +1-971-357-1400 · anovickis@circuit-design.space