@D@n@Pavel@zygot
I have to find the phase of a signal from the ADC sample. For simulation purpose I replaced the ADC with the DDS complier IP core the 1MHz sine wave signal with 45 degree phase is generated from the DDS core and its feed to FFT(configure as FORWARD FFT) IP core and the output of the FFT IP Core is feed to CORDIC IP core(configure for TRANSLATE function) to get the phase of the signal.
here fs=256MHz, N FFT points =256, input frequency =1MHz.
frequency resolution = 256MHz/256 =>1MHz
frequency bin = 1MHz/1MHz => 1
The magnitude of FFT output shows two bin one in 1st index and another one in 255th index. if I taken 1st bin real and imaginary value the cordic output is incorrect. If take 255 bin real and imaginary value the cordic output is correct. Iam totally confused? If anyone have done this before suggest me solution for the issue.
Here I have attached the DDS , FFT configuration settings image for clarification go through it.