One programmable datapath that computes any common CRC in hardware
The Zen CRC accelerator is a small data-integrity offload you instantiate on your peripheral bus to compute checksums in silicon instead of on the CPU. One programmable engine — generator polynomial, initial value, input/output reflection, and final XOR — covers CRC-32, CRC-32C, CRC-16-CCITT, CRC-16-IBM, and any custom parameter set. You program a configuration, stream data words, and read back the finished CRC. Product / integrator view; every number is sourced from the product datasheet or marked TBC.
1. CRC in one paragraph
The accelerator implements the standard Williams CRC model — a generator polynomial (POLY), an initial value (INIT), input and output reflection (REFIN / REFOUT), and a final XOR (XOROUT). Because those parameters are programmed by software, not hard-wired, a single datapath computes essentially every common CRC. Software sets the parameters (or a documented preset), pulses a reset to load INIT, streams data by writing 32-bit words to a DATA register — up to 4 bytes per write, with a byte-count field for a partial 1–3-byte tail — and reads the finished checksum from the CRC register. The byte-update is pure combinational polynomial feedback, so each word folds in a single clock: throughput is bound by how fast your bus delivers writes, not by compute.
- host / client design
- CRC accelerator
- CRC register
INIT — before streaming data.2. Supported CRC standards, at a glance
Each standard below is a software-programmed parameter set validated against canonical known-answer vectors and an independent zlib oracle. The engine also accepts arbitrary parameters, so any Williams-model CRC is in scope.
| Standard | Polynomial | Width | Reflected | Status |
|---|---|---|---|---|
| CRC-32 (Ethernet / zlib) | 0x04C11DB7 | 32 | in + out | preset |
| CRC-32C (Castagnoli, iSCSI) | 0x1EDC6F41 | 32 | in + out | preset |
| CRC-16-CCITT | 0x1021 | 16 | no | preset |
| CRC-16-IBM / ANSI | 0x8005 | 16 | in + out | preset |
| Custom (any Williams-model CRC) | programmable | 16 / 32 | programmable | supported |
| CRC-64 | — | 64 | — | roadmap |
Sources: Zen CRC product datasheet.
3. How a client uses it
- Instantiate the accelerator on your 32-bit peripheral bus — it attaches with a one-cycle registered-ready handshake, no extra glue.
- Program a configuration: polynomial, init, reflection, and final-XOR for a preset standard or a custom parameter set; then pulse reset to load the init value.
- Stream data by writing 32-bit words — up to 4 bytes each, little-endian lane order, with a byte-count field for a partial 1–3-byte final word.
- Read the finished CRC from the result register (reflection and final-XOR already applied); a bytes-processed counter and a status flag track progress.
- Accumulate incrementally — the result is chunking-invariant, so a large buffer split across many writes yields the same CRC as one pass.
4. Verification & provenance
- Golden-vector validation: the engine is checked against canonical known-answer vectors (for example
"123456789"→0xCBF43926for CRC-32) and an independentzlibsoftware oracle over random buffers — a genuine hardware compute, not a hardcoded pass. - Coverage: a 9-test assertion-based suite spanning reset/registers, golden vectors, oracle comparison, incremental and partial-word streaming, and each programmable parameter — all passing, independently re-run at review.
- Status: v1, coverage-closed; both design-verification and synthesis gates green. Delivered as a licensable kit with core, bus package, verification IP, compliance testbench, and datasheet.
Sources read
Sources: Zen CRC product datasheet; as-built RTL.