Unpacking and Model Contents - 7.2 English

FIR Compiler (PG149)

Document ID
PG149
Release Date
2022-10-26
Version
7.2 English

There are separate ZIP files containing all the files necessary for use with a specific computing platform. Each ZIP file contains:

The C model shared library

Multiple Precision Integers and Rationals (MPIR) [Ref 14] shared libraries and header files.

The C model header file

The example code showing customers how to call the C model

Documentation

Note: The C model uses MPIR libraries, which is provided in the ZIP files. MPIR is an interface-compatible version of the GNU Multiple Precision (GMP) [Ref 15] library, with greater support for Windows platforms. MPIR has been compiled using its GMP compatibility option, so the MPIR library and header file use GMP file names.

Table 5-1: Example C Model ZIP File Contents - Linux

File

Description

fir_compiler_v7_2_bitacc_cmodel.h

Header file which defines the C model API

libIp_fir_compiler_v7_2_bitacc_cmodel.so

Model shared object library

libgmp.so.11

MPIR library, used by the C model

libgmpxx.so.4

MPIR Class library, used internally by the C model

gmp.h

MPIR header file, used by the C model

run_bitacc_cmodel.c

Example program for calling the C model

fir_compiler_v7_2_bitacc_mex.cpp

MATLAB ® MEX function source

make_fir_compiler_v7_2_mex.m

MATLAB MEX function compilation script

run_fir_compiler_v7_2_mex.m

MATLAB MEX function example script

@fir_compiler_v7_2_bitacc

MATLAB MEX function class directory

Table 5-2: Example C Model ZIP File Contents - Windows

File

Description

fir_compiler_v7_2_bitacc_cmodel.h

Header file which defines the C model API

libIp_fir_compiler_v7_2_bitacc_cmodel.dll

Model dynamically linked library

libIp_fir_compiler_v7_2_bitacc_cmodel.lib

Model .lib file for compiling

libgmp.dll

MPIR library, used by the C model

libgmp.lib

MPIR .lib file for compiling

gmp.h

MPIR header file, used by the C model

run_bitacc_cmodel.c

Example program for calling the C model

fir_compiler_v7_2_bitacc_mex.cpp

MATLAB MEX function source

make_fir_compiler_v7_2_mex.m

MATLAB MEX function compilation script

run_fir_compiler_v7_2_mex.m

MATLAB MEX function example script

@fir_compiler_v7_2_bitacc

MATLAB MEX function class directory