FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6225 Discussions

"Real-Imag to Complex" in DSPBuilder Advanced Blockset

Altera_Forum
Honored Contributor II
996 Views

Hi, 

 

I want to know how to obtain a Complex Number from Real and Imaginary inputs. And also the other way round, i.e., if I have a Complex Number, then how to obtain it's Real and Imaginary parts. 

 

There are blocks "Complex to Real-Imag" and "Real-Imag to Complex" in Standard Blockset. But I could not find any such blocks in Advanced Blockset. 

 

Thanks.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
138 Views

The answer to this is version dependent. In 12.1 and before, you can simply use the simulink "Complex to Real-Imag" and "Real-Imag to Complex" blocks. They will simulate and synthesize just fine in the Advanced Blockset. In 13.0, these blocks are in the Advanced Blockset, and should be use as the simulink blocks will cause errors.

0 Kudos
Altera_Forum
Honored Contributor II
138 Views

Thank you. I am using 12.0 and the simulink blocks worked without any problem.

0 Kudos
Reply