Example - Example - 4.0 English - PG140

CIC Compiler v4.0 LogiCORE IP Product Guide (PG140)

Document_ID
PG140
Release_Date
2026-07-22
Version
4.0 English

The run_bitacc_cmodel.c file contains example code that shows the basic operation of the C model. The file demonstrates querying the model version, configuring and creating the model, allocating the required input and output data structures, sizing the output, executing the model, retrieving the results, deallocating the data structures, and destroying the model.

The results are printed to the standard output channel (stdout), and the fixed-rate cases are checked against known impulse-response values to report a pass or fail result.