
Single-descriptor, strided N-D (im2col/tiling) address generator feeding ai_mac from axi_tcm, ASIL-B. 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:
tensor_dma is a tensor-layout-aware DMA engine (#A-3): a single-descriptor, strided N-D address generator that reshapes a 1-D feature-map buffer into the overlapping im2col windows a convolution consumes, moving the data entirely in hardware from the axi_tcm scratchpad to the ai_mac tile grid.
AMBA AXI4 read master / AXI4-Stream master (axi4s_bridge convention); APB4-lite config slave; ISO 26262 ASIL-B SEooC (SPFM 96.49%, LFM 100.00%, PMHF 5.37×10⁻⁹/h)
ASIL-B target (SEooC) · SPFM 96.49% · LFM 100.00% · 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 | BASE | RW [ADDR_W-1:0] TCM word base address of the input feature map |
0x04 | IN_LEN | RW number of input words (feature-map length) |
0x08 | KW | RW [7:0] im2col window width (taps per output column) |
0x0C | STRIDE | RW [7:0] im2col stride (in words) |
0x10 | QUANT | RW [7:0]=ZP(int8 zero-point) [15:8]=SCALE [19:16]=SHIFT |
…3 more registers — see datasheet for the full table.
// Minimal instantiation
tensor_dma #(
.ADDR_W(6)
) u_tensor_dma (
.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