Nios® V Embedded Processor Design Handbook

ID 726952
Date 12/04/2023
Public

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

Document Table of Contents

8.3.5. Software Design Files

You can find the following application files in the example design zip file. These software files are available in the sw/app_crc/srcs folder.
Table 49.  Software Design Files
File Description
ci_crc.c Defines a macro to access the CRC processing engine.
ci_crc.h Contains the function prototype for the macro.
crc.c Defines macros for both software CRC and optimized software CRC algorithms.
crc.h Contains the function prototypes for the software CRC application.
crc_main.c Compute the checksum value using all CRC decoder.

The source code begins the application by computing the checksum value using all three CRC decoder and validating the CRC results. Once the CRC results are matched, the application reports the processing performance of the CRC decoder respectively.