Altera_Forum
Honored Contributor
9 years agoHelp needed in VHDl code for calculating the I and Q phase component for a ADC signal
Hello all,
I am designing a DDC in which I need to calculate the In phase(I) and the Quadrature phase(Q) components of my ADC signal. I know how these components are manually calculated from some DSP tutuorials. But what I need to know is how can I represent the same through VHDL code, since I need to synthesise the code on a hardware basis. Just a small introduction on how to preoceed with this is appreciated. Right now, what I have done is I have synthesized the signals from NCO and I have performed the mixer operation (which is basically the multiplication operation of the ADC signal and the synthesizer output) and has completed the decimation by 8 process too. (I read from some tutorials that Decimation is a combo of Fir output + downsampling, and so I have performed it. Also divided the decimation output by 8 since its the decimation factor in my case). I have completed till this, and after this continues the calculation of I and Q phase components. Thanks in advance.