DSP Builder for Intel® FPGAs (Advanced Blockset): Handbook

ID 683337
Date 6/11/2024
Document Table of Contents Linking to External Libraries

For designs with signals no wider than 64-bits (this includes internal signals), the generated software models require no external libraries. When the model has signals greater than 64-bits, DSP Builder uses arbitrary precision types from the MPIR and MPFR libraries.
DSP Builder includes prebuilt MPIR and MPFR libraries. For more information on MPFR libraries, search for MPFR on Github. The CMake build automatically links with the software models if you:
  • Do not explicitly provide any alternatives.
To provide your own MPIR or MPFR builds:


export CC=/path/to/gcc/7.2.0/1/linux64/bin/gcc 
export CXX=/path/to/gcc/7.2.0/1/linux64/bin/g++
cmake -G "Unix Makefiles" -DWRITE_STM_FILES=1 -DMPIR_INC_PATH="path/to/mpir/3.0.0/linux64-
gc72/include" -DMPIR_LIB_PATH="path/to/mpir/3.0.0/linux64-gc72/lib/release" -
DMPFR_INC_PATH="path/to/mpfr/4.0.1/linux64-gc72/include" -
DMPFR_LIB_PATH="path/to/mpfr/4.0.1/linux64-gc72/lib/release" ../