Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi, 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 workvmap 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!