FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5952 Discussions

"Real-Imag to Complex" in DSPBuilder Advanced Blockset

Altera_Forum
Honored Contributor II
962 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
104 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.

Altera_Forum
Honored Contributor II
104 Views

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

Reply