- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi !
I am new to megacore I generated the FFT core in vhdl. But I couldnt to run the stimulation in modelsim. I attached the tb_fft.vhd fft.vhd and fft.vho file to the project in modelsim.Should I do more? please help.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you paste what the error was? I don't think you need the FFT.vhd file - the FFT.vhd is for synthesis, the FFT.vho is for simulation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I cant get the outputs. The outputs are high impidance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So it simulates but doesn't produce an output? The transcript window will show you any errors or warnings - most likely that a component is unbound and therefore it's not actually being simulated, if that's the case have a look and see where the component it can't find is.
If you're still having trouble, try following the instructions listed as "Simulating in Third-Party Simulation Tools Using NativeLink" in the FFT user guide here: http://www.altera.co.uk/literature/ug/ug_fft.pdf- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check the transcript in modelsim, it'll likely tell you that one of the components is unbound - which means that it can't find the source for it so it's just driving the ports low. If there's an unbound component try compiling it into your project and simulating again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried it locally by running the following commands:
vlib work vcom fft.vho -work work vcom fft_tb.vhd -work work vsim fft_tb log -r /* add wave sim:fft_tb/fft_inst/* run -all and it worked for me in version 13.1 and modelsim AE- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I solved the problem thanks a lot.
The sink_real txt file was missing.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to vary the input size ?
For example for 8-fft megawizard creates 4 frame ( 32 length array), I want to apply it 8 frame ( 64 length array). Could I do that by adding the frames to inputs ( sink_real and sink_imag) ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi feradiskaras , i am also working on FFT , but my code gives so many errors,
can you just share your code, i am working on my FYP. thanks..help will be appreciated..- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if you specify what the errors, I can help you.
Do you use the megawizard plug-in fft? The code is generated by magwizard. I just modified it for my inputs. --- Quote Start --- hi feradiskaras , i am also working on FFT , but my code gives so many errors, can you just share your code, i am working on my FYP. thanks..help will be appreciated.. --- Quote End ---- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am unable to use megawizard plug_in FFT, i dont know but quartus show only basic libraries are installed.
dont know how to instal dsp library so that i can use fft..- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Megawizard Plug-In is conducted to Quartus web edition. You can download the web edition quartus website. You will fin the megawizard in the tools menu. After that you can find the fft DSP-Transformers section. It will create a top level VHDL code for you.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page