Jump to content
  • 0

Signal Generation through DDS and analyzing the generated signal through FFT IP core in Vivado


amna

Question

I'm trying to generate signal of 1MHz by using DDS IP block at clock frequency of 100MHz but at output the time period of one cycle of generated sine wave is 10us which means wave of 10MHz is generated. Further more when I took the FFT of signal then the obtained output is shown as below. Can you guide me what is wrong with DDS and FFT IP core output. I am attaching the screenshot of block diagram and output. blockdiagram.PNG.cd5b67cbac23c033f0048479f01d741e.PNGOutputwave.thumb.PNG.472f2099dcb457cf33558e2cadb64bf3.PNG

Edited by shop magic
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi @amna

Could you provide the settings of your DDS compiler? The more IP settings provided the better, to make it easier to reproduce your results. I'm also assuming your results are in simulation?

Thanks,

Arthur

Link to comment
Share on other sites

  • 0
Posted (edited)
On 3/14/2024 at 12:45 PM, artvvb said:

Hi @amna

Could you provide the settings of your DDS compiler? The more IP settings provided the better, to make it easier to reproduce your results. I'm also assuming your results are in simulation?

Thanks,

Arthur

Greetings @artvvb..

The IP settings of DDS compiler are done as below:

1st.PNG.0726e16222a205a70515f50efc22dee0.PNG

Yes the results are in simulation.

Regards,

Amna

2nd.PNG

3rd.PNG

Edited by amna
Link to comment
Share on other sites

  • 0

Apologies for the delay. I haven't been successful in reproducing your setup. Some additional settings that might help are 1. the constant values applied to the CONFIG interface of the XFFT IP - I assume the tlast port is tied to a constant one. 2. XFFT settings - both the Configuration and Implementation tabs include settings that affect what values are provided to the CONFIG interface.

I'd also be curious about why the XFFT S_AXIS_DATA interface's tlast port seems not to be connected - in simulation, not asserting tlast at the expected time causes the XFFT core to assert either an event_tlast_missing or event_tlast_unexpected error.

If you haven't, please review the product guides for both of these IP cores:

Link to comment
Share on other sites

  • 0
Posted (edited)
On 4/17/2024 at 2:19 PM, artvvb said:

Apologies for the delay. I haven't been successful in reproducing your setup. Some additional settings that might help are 1. the constant values applied to the CONFIG interface of the XFFT IP - I assume the tlast port is tied to a constant one. 2. XFFT settings - both the Configuration and Implementation tabs include settings that affect what values are provided to the CONFIG interface.

I'd also be curious about why the XFFT S_AXIS_DATA interface's tlast port seems not to be connected - in simulation, not asserting tlast at the expected time causes the XFFT core to assert either an event_tlast_missing or event_tlast_unexpected error.

If you haven't, please review the product guides for both of these IP cores:

Hi @artvvb . I followed your guidelines and did the following changes in the design. The response of FFT is improved but not accurate. At first i was getting peak after 2 cycles but now its after about 10 to 11 cycles. Maybe I'm missing out some basic things to do this task.

Kindly guide me about it.

image.png

image.png

image.png

Edited by amna
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...