Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17264 Discussions

simulation of FFT megacore in modelsim

Altera_Forum
Honored Contributor II
2,233 Views

Hi all, 

 

I am trying to simulate the FFT megacore using modelsim. I compile the project and open modelsim separately. I add my design files to a created work directory, including the .vo file. It is not working and i'm a bit stuck on where to go from here, even after reading the tutorials and documentation. Can anyone give a step by step guide on how to simulate the FFT core after compilation in quartus? 

 

Thank you, 

Gabriella.
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
1,044 Views

 

--- Quote Start ---  

Hi all, 

 

I am trying to simulate the FFT megacore using modelsim. I compile the project and open modelsim separately. I add my design files to a created work directory, including the .vo file. It is not working and i'm a bit stuck on where to go from here, even after reading the tutorials and documentation. Can anyone give a step by step guide on how to simulate the FFT core after compilation in quartus? 

 

Thank you, 

Gabriella. 

--- Quote End ---  

 

 

Hi, 

 

you would like to run simulation after P&R ? Did you get a functional mishaviour or do have a problem with the flow ( e.g. Modelsim compile error ) ? 

 

Kind regards 

 

GPK
0 Kudos
Altera_Forum
Honored Contributor II
1,044 Views

I wish to first do a standalone simulation of the FFT megacore within modelsim. I first compile fft.v, fft.vo, fft_syn and the automatically generated testbench into the work folder. The simulations runs but it seems that the input_real.txt and input_imag.txt files aren't bein read into the simulation because sink_real and sink_imag remain empty. Do I need to include any additional libraries to get it to work?

0 Kudos
Altera_Forum
Honored Contributor II
1,044 Views

I suggest to try with the post syntesis simulation. 

 

The HDL models of the megafunctions are often not behavioural and need full P&R in orer to be simulated. 

 

Hope this helps.
0 Kudos
Altera_Forum
Honored Contributor II
1,044 Views

I'm still struglling to determine what is wrong. After instantiating the FFT megacore (with clock enable), I perform A&E. In modelsim, I compile the relevant files successfully, but still the core does not respond. I thought the only requirement for functional simulation was the generation of the .vo and synthesis files when the core is generated. 

 

I don't know how to do full P&R without violating the license.
0 Kudos
Altera_Forum
Honored Contributor II
1,044 Views

Apologies, I've finally got it working. It was a nativelink problem. Thank you all for helping.

0 Kudos
Altera_Forum
Honored Contributor II
1,044 Views

just to clarify, all you need is the 3rd party EDA simulation model .vo/.vho which you have to enable in the MegaWizard 

 

glad its working now
0 Kudos
Altera_Forum
Honored Contributor II
1,044 Views

i have a problem in simulating fft megacore in quartus  

 

i performed following steps 

 

1. added all file generated by megacore wizard (ip toolbench) of FFT in quartus and compiled it successfully.(including .vho $_tb.vhd) 

 

2. created a vector wave form file and added all signal using node finder. 

 

3. Exported .vwf to .vht  

 

4. Assignment>>EDA tool setting>>Simulation 

 

5. in nativelink setting  

>> Compile test bench (clicked test bench) 

>> new  

>>in top level module in test bench (<name>_vhd_vec_tst) 

>> added .vwf(from step 2) file in testbench file 

6. TOOLs>>EDA simulation tool 

 

i am not getting any signal only straight lines in all input and output 

i think i have problem in native link setting  

plz guide me where i am wrong .
0 Kudos
Altera_Forum
Honored Contributor II
1,044 Views

>> added .vwf(from step 2) file in testbench file 

 

shouldn't you add the .vht you created from the .vwf?
0 Kudos
Reply