05-25-2015 06:53 AM
Hello everybody,
I am trying to convolve a 16-bit input data stream with a Dirac Delta on a Xilinx Virtex 7.
More specifically, instead of multiplying my input stream by a cosine in the time domain, I would like to convolve it with the following expression in the frequency domain:
F(f) = 0.5 * (delta(f - f0) + delta(f + f0))
Does anybody have any idea about how to implement that ? Indeed, the only possibly interesting Xilinx IP core for my problem is the FIR Complier but I don't know how to represent my function F(f) as the 'coefficient' input of this IP core.
Thank you in advance
05-27-2015 01:47 PM
I would like to convolve it with the following expression in the frequency domain: F(f) = 0.5 * (delta(f - f0) + delta(f + f0))
All you need is the FIR Compiler with this expression as your coefficients. This expression gives you a sequence of the form:
{0.5, 0, 0, 0, 0, ... 0.5} where the number of zeros are dependent on the value of f0 and the frequency resolution of your independent variable, f.
So that sequence will be what you use for the 'coefficient' channel. If you need to change 'f' at run-time, you can use the coefficient-reload capability of the core.
05-25-2015 11:40 PM
05-26-2015 03:25 AM
Hello muzzaffer,
Thank you for your answer.
My input stream is already in frequeny domain (it went throught the FFT core v7.1). That's why I need to convolve it with F(f) and not simply multiply it by a cosine function.
I noticed that, mathematically, since the target convolution involves only Dirac Deltas, there may exist a shorter way to avoid the convolution by simply evaluating the input function at the point f0. But I have no idea about how to implement that neither ..
Thank you in advance
05-26-2015 08:38 AM
05-26-2015 10:59 AM
Actually my project is about the implementation of a QAM modulator in frequency domain.
Therefore, I start receiving an input data stream and I map it using a QAM constallation. After rescaling, I have two 16-bit streams (I and Q components) which both go through the FFT 7.1 IP Core. Then, I filter it (I simply multipfy the output of the FFT with the filter coefficents).
At his point, I need to convolve my I and Q components with the Frourier transform of a cos and sin, respectively.
I hope my explanation is clear but if it is not, feel free to ask any other specifications.
05-27-2015 01:47 PM
I would like to convolve it with the following expression in the frequency domain: F(f) = 0.5 * (delta(f - f0) + delta(f + f0))
All you need is the FIR Compiler with this expression as your coefficients. This expression gives you a sequence of the form:
{0.5, 0, 0, 0, 0, ... 0.5} where the number of zeros are dependent on the value of f0 and the frequency resolution of your independent variable, f.
So that sequence will be what you use for the 'coefficient' channel. If you need to change 'f' at run-time, you can use the coefficient-reload capability of the core.
05-29-2015 05:32 AM
Dear,
I thank you for your answer. This should be solve my problem.