Forum Discussion
Altera_Forum
Honored Contributor
10 years agoI tried what vadimula suggested. See imgur.com/XEF7nkT.
https://www.alteraforum.com/forum/attachment.php?attachmentid=11316 How do I verify whether the result was correct or not? --- Quote Start --- Hi, everyone! I contacted Altera about this problem and got quick reply. To successfully compile and simulate Verilog version of FFT megafunction in ModelSim: 1. Create project in ModelSim, append fft.vo and fft_tb.v files into it; 2. Execute following lines in transcript window (or put these to .do file): vlib work vmap work work vlog -reportprogress 300 -work work fft.vo vlog -reportprogress 300 -work work fft_tb.v vlog -reportprogress 300 -work work C:/Altera/13.0/quartus/eda/sim_lib/altera_lnsim.sv vlog -reportprogress 300 -work work C:/Altera/13.0/quartus/eda/sim_lib/220model.v vlog -reportprogress 300 -work work C:/Altera/13.0/quartus/eda/sim_lib/altera_mf.v vlog -reportprogress 300 -work work C:/Altera/13.0/quartus/eda/sim_lib/sgate.v vsim fft_tb add wave sim:/fft_tb/* Of course, you may need to change file pathes. Good luck! --- Quote End ---