Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Compressor: Device Description

We now consider a third and last device: a hardware compressor. It accepts as input a stream of data (e.g., from a file), and outputs a compressed version of that stream. The device implements the DEFLATE compression algorithm, which is used by the zlib library and many file formats such as zip, gzip, PNG, etc. All aspects of the device are detailed in its datasheet:

🗎 EDU‑COMPRESSOR: Educational Streaming Compressor PCI Device

Please read it carefully to get a good understanding of the device’s behaviour and the interface it exposes to the host for its operation.