Nios® V Embedded Processor Design Handbook

ID 726952
Date 5/13/2024

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents Generating the ZLIB libraries

The LibRSU HAL API requires the ZLIB libraries. Follow these steps to generate the ZLIB libraries:

  1. Acquire the latest version number of ZLIB libraries from the ZLIB home page.
  2. Navigate to the design project folder.
  3. Copy the following code and replace <version> with the latest version number:
    tar xf zlib-<version>.tar.gz 
    mv zlib-<version> zlib
  4. Run the command.
  5. The zlib folder is ready with the ZLIB libraries.
    Note: One of the LibRSU software component, librsu_ll_qspi.c includes the ZLIB libraries under a specific path. If the project directory tree is different than the following figure, modify the ZLIB libraries path in librsu_ll_qspi.c.
    Figure 117. Software Project Directory Tree