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

ID 683337
Date 6/11/2024
Document Table of Contents Interactions with Simulink

You can use the complex Simulink function complex(x,y) to generate initialization values. Use this function to ensure DSP Builder always treats data as complex.

The following elements of the Simulink environment are available for use with the primitive blocks

  • Simulink Complex to Real-Imag and Real-Imag to Complex blocks may manipulate complex signals within DSP Builder advanced blockset designs.
  • Simulink Scope blocks can display signals..

Use a Complex to Real-Imag block to convert the complex signal.

Simulink automatically converts complex values of form (x + 0i) to real values, which can cause type propagation errors. The complex() function can resolve this problem.

Use complex (x,0) to ensure such data is treated as complex.