Compiling - Compiling - 7.2 English - PG149

FIR Compiler LogiCORE IP Product Guide (PG149)

Document_ID
PG149
Release_Date
2026-07-22
Version
7.2 English

Compilation of user code requires access to the fir_compiler_v7_2_bitacc_cmodel.h header file and the header file of the Multiple Precision Integers and Rationals (MPIR) Library (MPIR), gmp.h. The header files must be copied to a location where they are available to the compiler. Depending on the location chosen, the ‘include’ search path of the compiler might need to be modified.

The fir_compiler_v7_2_bitacc_cmodel.h header file includes the MPIR header file, so these do not need to be explicitly included in source code that uses the C model. When compiling on Windows, the symbol NT must be defined, either by a compiler option, or in user source code before the fir_compiler_v7_2_bitacc_cmodel.h header file is included.