A hardware engine that proves your safety data survived the wire
The Zen E2E Protection accelerator is a drop-in block that runs the AUTOSAR End-to-End (E2E) communication-protection library in silicon. On transmit it wraps a safety payload with a CRC, a sequence counter, and a Data-ID; on receive it recomputes and classifies the result so that corruption, repetition, loss, and masquerade on a faulty CAN / LIN / Ethernet path are caught before the application ever trusts the data. It is for SoC teams building ISO 26262 / ASIL communication paths who want the per-message E2E math off the CPU. Every number is sourced from the product datasheet or marked TBC with its owner.
1. Zen E2E in one paragraph
AUTOSAR E2E is how a functional-safety payload survives a communication path that can corrupt, drop, duplicate, or impersonate it. This accelerator does the two E2E primitives in hardware. PROTECT computes a profile CRC over {Data-ID, counter, data}, writes the CRC and counter into the buffer header, and advances the transmit sequence counter. CHECK recomputes the CRC on a received buffer, compares it, and classifies the received counter against the last-good counter into a sequence status — OK, REPEATED, WRONGSEQ, or ERROR. Software loads a buffer, programs the Data-ID / counter / length, and fires a single-shot GO; the result and a DONE event latch in the same beat. It attaches to a 32-bit peripheral bus with a one-cycle registered handshake, so it drops into the same SoC fabric as the rest of the Zen peripheral portfolio.
- Zen E2E engine
- application / transport
2. What it does, at a glance
| Element | Detail | Status |
|---|---|---|
| PROTECT primitive | compute + insert CRC and counter on transmit | exists |
| CHECK primitive | recompute CRC + classify sequence on receive | exists |
| AUTOSAR E2E Profile 5 (default) | CRC-16/CCITT-FALSE · 8-bit counter · 16-bit Data-ID | exists |
| AUTOSAR E2E Profile 1 (legacy CAN) | CRC-8/SAE-J1850 · 4-bit counter · 8-bit Data-ID | exists |
| Masquerade defence | Data-ID folded into the CRC | exists |
| Sequence status | OK / REPEATED / WRONGSEQ / ERROR | exists |
| Tolerance window | configurable MAXDELTA for recoverable loss | exists |
| DONE interrupt | one level line (enable AND pending, W1C-clear) | exists |
| Bus interface | 32-bit peripheral bus, 1-cycle registered ready | exists |
| Internal buffer | 64 bytes (default) | exists |
| GO-to-result latency / operations-per-second | characterization figures | TBC |
| Operating fmax at node | place-and-route result | TBC |
Sources: Zen E2E product datasheet; as-built RTL.
3. How the four threats map to the output
A CHECK gives the application two verdicts — a CRC match (crc_ok) and a sequence status — and together they cover the AUTOSAR fault model:
- Corruption — the recomputed CRC differs from the received CRC, so
crc_okis false and the status is ERROR. - Masquerade — the Data-ID is folded into the CRC, so a buffer protected under a different Data-ID fails the CRC check here; a correct-ID control passes.
- Repetition — the received counter equals the last-good counter (delta 0), so the status is REPEATED.
- Loss / wrong sequence — a forward gap inside the tolerance window is WRONGSEQ (recoverable); a gap beyond it is ERROR.
A CHECK that returns crc_ok false or a sequence ERROR is a detected fault — route it to the SoC safety aggregator, which drives the reaction (interrupt, reset, or safe-state).
4. How a client uses it
- Instantiate the engine on the peripheral bus and wire its single interrupt line to the interrupt controller or safety aggregator.
- On transmit — load the payload, set the Data-ID, length, transmit counter, and profile, then fire a PROTECT; read the protected buffer back out and hand it to the transport controller.
- On receive — load the received buffer, set the matching Data-ID / length / profile, fire a CHECK, and read
crc_okplus the sequence status from the result register. - Mix profiles — reprogram the profile between operations to serve a modern (Profile 5) and a legacy-CAN (Profile 1) path from one instance.
5. Verification & provenance
- Compliance: 16 / 16 assertion-based tests passing — 9 Profile-5 and 7 Profile-1 — against a golden software E2E model for both profiles, verified independently by the architecture lead.
- CRC cross-checks: the Profile-5 engine matches the CRC-16/CCITT-FALSE check value 0x29B1 for
"123456789"; the Profile-1 engine matches the CRC-8/SAE-J1850 check value 0x4B. - Discriminating tests: byte-exact protect against the golden model across consecutive counters; a masquerade pair (wrong Data-ID fails, correct passes); corruption, repetition, and in-/out-of-window loss each hit their expected status; counter wrap (mod-256 for P5, mod-16 for P1) still reads in-sequence.
- Clean synthesis: no inferred latches, no multi-driver nets; portfolio regression green.
Sources: Zen E2E product datasheet; as-built RTL.