Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
735 Views

usage advanced blocks FFT blocks in project Standart blockset

1) I want to build a project using the HDL import, so I chose standart blockset. 

2) I saw a working example of the combination of Standart and Advanced blockset - adapted_ad9856.mdl, and I want use blocks FFT and Cordic from advanced blockset. But errors has occuring: 

 

http://www.alteraforum.com/forum/attachment.php?attachmentid=10509&stc=1 http://www.alteraforum.com/forum/attachment.php?attachmentid=10508&stc=1 http://www.alteraforum.com/forum/attachment.php?attachmentid=10510&stc=1 http://www.alteraforum.com/forum/attachment.php?attachmentid=10511&stc=1  

 

How I can implement input complex signal from Standart blockSet?  

Maybe there's HDL imports in the Advanced blockset? 

matlab file .mdl http://ge.tt/4fvtvqe2
0 Kudos
3 Replies
Highlighted
Valued Contributor III
12 Views

Hi all! I figured out the problem posed. 

Model:https://www.alteraforum.com/forum/attachment.php?attachmentid=10516  

 

Input func:https://www.alteraforum.com/forum/attachment.php?attachmentid=10514  

 

Furrier coeff:https://www.alteraforum.com/forum/attachment.php?attachmentid=10515  

 

OutputFunc:https://www.alteraforum.com/forum/attachment.php?attachmentid=10517  

 

 

Now, I want to know: How can I reduce the number of Fourier coefficients.  

 

I want to make the Fourier transform of the period of 8192 points. But I do not want all of 8192 coefficients , I will have enough and no more than 20. 

 

Matlab file: http://ge.tt/1vjrite2
0 Kudos
Highlighted
Valued Contributor III
12 Views

I solved all problems =) model works =) 

 

I want to make the Fourier transform of the period of 8192 points. But I do not want all the 8192 coefficients,  

I will have enough and no more than 20. 

How i can get only first 20 and usage only 20 for retriving function, then improve performance and minimize the cost of memory for storing coefficients. 

 

Work model http://ge.tt/1vjrite2 - adaptedModelWithCordic.mdl
0 Kudos
Highlighted
Valued Contributor III
12 Views

I solved all problems =) model works =) 

 

 

I want to make the Fourier transform of the period of 8192 points. But I do not want all the 8192 coefficients, 

I will have enough and no more than 20. 

How i can get only first 20 and usage only 20 for retriving function, then improve performance and minimize the cost of memory for storing coefficients.
0 Kudos