Visible to Intel only — GUID: hco1423077110343
Ixiasoft
Visible to Intel only — GUID: hco1423077110343
Ixiasoft
14.1.2. Complex Support
For each complex value, two identical block instantiations generate internally, for the real and imaginary components.
The complex nature of the data propagates. Strictly real signals expand to provide a value for the imaginary component with complex data. The exact behavior depends on the nature of the port associated with the real signal. The real value is duplicated for control or address signals. The real and imaginary parts of complex data are subject to identical control signals. A zero imaginary value generates real data signals in a complex data context. Real data values, x, expand, when required, to x + 0i.
Not all Primitive library blocks support complex data. Data signals are the only signal type permitted to be complex. DSP Builder issues an error message if an attempt is made to drive control or address signals with complex values.
- 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.