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

How to design a double precision floating point fft? And how to simulata this project in modelsim?

ming1
Beginner
227 Views

I have generated a Unified FFT ip in quartus prime pro21.1. Then the input terminal is connected  to the ROM module. I wonder if that will work well. how do I use Modelsim to simulate it. (The Version of Modelsim is ModelsimSE 10.4)

0 Kudos
1 Reply
ming1
Beginner
207 Views

set QSYS_SIMDIR ../
source $QSYS_SIMDIR/mentor/msim_setup.tcl

dev_com
com


vlog -vlog01compat -work work ../fft.v
vlog -vlog01compat -work work ../count/count.v
vlog -vlog01compat -work work ../rom/rom.v
vlog -vlog01compat -work work ../fftip/fftip.v
vlog -vlog01compat -work work ../tb_FFT.v


set TOP_LEVEL_NAME tb

elab

add wave *
view structure
view signals
run -all

 

This is my .do file, and the Error reported in ModelSim is 

# ** Error: D:/hxm/intelfpga_pro/21.1/quartus/eda/sim_lib/cyclone10gx_atoms.vhd(1358): Can't recompile existing protected design unit "cyclone10gx_mux41" as unprotected.
# ** Error: D:/hxm/intelfpga_pro/21.1/quartus/eda/sim_lib/cyclone10gx_atoms.vhd(1358): Error adding entity 'cyclone10gx_mux41' to library
# ** Error: D:/hxm/intelfpga_pro/21.1/quartus/eda/sim_lib/cyclone10gx_atoms.vhd(1358): VHDL Compiler exiting
# End time: 14:54:00 on Nov 13,2021, Elapsed time: 0:00:00
# Errors: 3, Warnings: 0
# ** Error: D:/hxm/modlesim/win64/vcom failed.
# Error in macro ./run.do line 4

 

What can I do to avoid  this and simulate the correct result?

Reply