Self-checking fixed-point activation-function engine for transformer/LLM inference pipelines — softmax/LayerNorm/RMSNorm/GELU/SiLU/tanh/ReLU with… 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:
npu_act is a self-checking activation-function engine for transformer / LLM inference: it computes one of seven per-row functions — softmax, LayerNorm, RMSNorm, GELU, SiLU, tanh, or ReLU — on the INT16 stream leaving a GEMM / attention block, entirely in fixed point (Q16.16 internal, Q8.8 streaming output).
CTRL.MODE) in Q16.16 fixed point: softmax, LayerNorm, RMSNorm, GELU, SiLU, tanh, ReLUerr\_code 3 at near-zero area costecc\_pkg, err\_code 2); config-register even parity across CTRL/ROWLEN/IN_SCALE/EPS/ABFT_TOL (err\_code 1)KEEP\_ATTR) catches a sequencer divergence as err\_code 9m_axis_tready backpressure timingISO 26262 ASIL-B (SEooC: SPFM 96.40%, LFM 91.60%, PMHF 1.59×10⁻⁹/h); pairs with ai_mac / tensor_dma / lm_head (AI subsystem)
ASIL-B target (SEooC) · SPFM 96.40% · LFM 91.60% · Informational — not gated
Informational FMEDA — this IP is reported but NOT gated. The SPFM/LFM figures above are engineering estimates from a model that is not held to the ASIL metric gates (QM, safety-by-composition, a vendor-core overlay, or a pre-sign-off Technology Preview, depending on the IP). They are not a certification claim and must not be relied on as one. See the safety manual for this IP’s exact status, assumptions of use, and any open items.
ISO 26262:2018 · FMEDA available · Safety Manual included
| Offset | Register | Description |
|---|---|---|
0x00 | CTRL | RW [2:0]=MODE, [3]=EN |
0x04 | ROWLEN | RW [15:0] elements per row (1..MAX_ROW) |
0x08 | IN_SCALE | RW [31:0] Q16.16 input scale (element_real = int16 * IN_SCALE) |
0x0C | EPS | RW [31:0] Q16.16 variance/denominator epsilon (LayerNorm / RMSNorm) |
0x10 | ABFT_TOL | RW [31:0] Q16.16 invariant tolerance (softmax row-sum / LN moments) |
…3 more registers — see datasheet for the full table.
// Minimal instantiation
npu_act #(
.ADDR_W(6)
) u_npu_act (
.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