Zen Peripherals · Automotive · brief · 2026-11-04

Two ISO-26262 fault detectors, one register-programmed block

Zen Safety-Glue packages two of the hardware diagnostics an ASIL SoC needs — a SECDED ECC engine and a delayed-lockstep comparator — into one small block you attach to the peripheral bus. The ECC path corrects single-bit and detects double-bit errors in a 32-bit word; the lockstep path catches a diverging redundant core by comparing it against the primary channel delayed N cycles. Each raises its own sticky fault into your safety aggregator. Product / integrator view; every number is sourced from the as-built RTL or marked TBC with an owner.

1. Safety-Glue in one paragraph

Safety-Glue is a register-programmed library of two safety primitives, not part of your functional datapath. The ECC engine takes a 32-bit word and continuously exposes its 7-bit Hsiao check field; to classify a received codeword you write {data, check}, strobe decode, and read back whether it was clean, single-corrected, or double-detected. The lockstep comparator pushes the primary channel ls_a into a delay line and compares it, N cycles later, against the redundant channel ls_b — so a common-cause transient that hits both channels at the same instant is still caught. A double-bit (uncorrectable) ECC error and a lockstep mismatch each drive a separate, sticky, level fault output into your zen_safety aggregator, which owns the chip's safe-state reaction.

(39,32)Hsiao SECDED — correct 1 / detect 2 per word
0–7 cycprogrammable lockstep delay (temporal diversity)
2 faultsseparate ECC + lockstep level outputs
17/17assertion-based tests PASS
Safety-Glue hostperipheral bus redundant coresls_a / ls_b ECC engine(39,32) SECDED lockstep comparels_b vs delayed ls_a delay line (N cyc) zen_safetyaggregator CSR ls_a / ls_b ecc_fault lockstep_fault
Figure 1. Safety-Glue attaches to the host bus and hosts two independent detectors: the ECC engine services a 32-bit codeword, and the lockstep comparator compares the two redundant cores through a delay line. Each raises its own fault into the safety aggregator.
Two detectors, two faults, no cross-talk. The ECC and lockstep paths are independently gated and byte-for-byte independent, and each error type drives its own separate fault source — so your aggregator can react to an uncorrectable memory error and a core divergence with distinct policies.
Double-bit errors are detected, never blind-corrected. On a double-error-detect the block returns the raw, unmodified word and raises the ECC fault — it will not silently hand back a mis-corrected value. SECDED corrects one bit and detects two per word; wider correction (R-S / chip-kill) is out of scope.

2. What it is, at a glance

ElementDetailDefaultStatus
ECC code(39,32) Hsiao SECDED, all-odd-weight columns—exists
ECC data / check width32-bit data, 7-bit check field32 / 7exists
ECC capabilitycorrect 1 bit, detect 2 bits per word—exists
SEC / DED counterssaturating16-bitexists
Lockstep compare widthredundant-channel width32-bitexists
Lockstep delay Nprogrammable, temporal diversity0–7 cycexists
Mismatch captureholds diverging ls_b at first mismatch—exists
Runtime self-testECC error-inject + lockstep mismatch-inject—exists
Fault outputsseparate ECC + lockstep, level, sticky2exists
Inline/streaming ECC portwrap a memory macro directly—TBC
Max frequency / area @ nodephysical characterization downstreamTBCTBC

Sources: Zen Safety-Glue product datasheet; as-built RTL.

3. How a client uses it

  1. Attach the block to your peripheral bus (one-cycle registered ready) and wire its two fault outputs into separate zen_safety fault sources.
  2. ECC service — write a 32-bit word and read its check field to store {data, check}; to verify a received codeword write it back, strobe decode, and read RESULT / STATUS for clean / single-corrected / double-detected.
  3. Lockstep — tie your two redundant cores to ls_a / ls_b with their valid, program the delay N, and enable; a divergence sets a sticky fault and captures the diverging value.
  4. Prove the diagnostic — exercise the latent-fault self-test at runtime: inject an ECC bit error or force a one-cycle lockstep mismatch, each firing exactly as a real fault would.
You bring the memory and the cores. Safety-Glue ships the SECDED codec, the comparator, and the fault/inject logic; wiring ECC across a specific memory macro and instantiating the redundant cores are the integrator's job. The safe-state reaction policy lives in the aggregator, not here.

4. Verification & provenance

Sources: Zen Safety-Glue product datasheet; as-built RTL.