Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
14947 Discussions

Simulation of FFT IP Core in Modelsim fails, can't find "asj_fft_dualstream"

JRose37
Beginner
738 Views

I've generated HDL code for the FFT module into a simple project that I'd like to simulate. When I run my .do file for the simulation in Modelsim, however, it fails each time.

 

Here is a copy of the error:

# Loading work.IFFT_fft_ii_0 # ** Error: (vsim-3033) ./IFFT_fft_ii_0.sv(59): Instantiation of 'asj_fft_dualstream' failed. The design unit was not found. # Time: 0 ns Iteration: 0 Instance: /CSNEcommAddOn_tb/DUT/u0/fft_ii_0 File: ./IFFT_fft_ii_0.sv # Searched libraries: # C:/Users/USERNAME/Documents/HardwareDesign/FPGA/HARDWARE/PROJ/MBS_IFFT/libraries/work # Error loading design # Error: Error loading design # Pausing macro execution # MACRO ./runlab_CSNEcomm.do PAUSED at line 49

I've attached a copy of my *.do script and the *.tcl script that was generated from the IP Core. Not sure if any other info would be helpful though.

 

Thanks for the help!

0 Kudos
6 Replies
Vicky1
Employee
388 Views

Hi,

Have you instantiated the IP core in top level design?

Please refer the below old thread for reference,

https://forums.intel.com/s/question/0D50P00003yyO6LSAU/fft-ip-core-and-modelsim?language=en_US

Try to simulate through the Quartus tool using Native link so that Quartus tool itself will take care of path related issues,

https://www.youtube.com/watch?v=PmVVXQchv2c

would you like to provide your project .*qar file(Project menu->Archive Project...)?

Thanks,

Vicky

JRose37
Beginner
388 Views

Hi Vicky,

 

Thanks for the reply. The IP core has been instantiated in the top level design.

 

I'm trying to re-simulate through the Quartus tool using Native Link like you mentioned, but since I'm using Quartus LITE, the software throws error codes 204012 and 204009, saying that it "Can't generate the netlist output files ..." Looking online, I can disable the error if I avoid using the Native Link.

 

Is there any other way I can simulate the IP using Native link before deciding whether I'd like to purchase the IP core license?

 

Vicky1
Employee
388 Views

Hi,

"I'm trying to re-simulate through the Quartus tool using Native Link like you mentioned, but since I'm using Quartus LITE, the software throws error codes 204012 and 204009, saying that it "Can't generate the netlist output files ..." Looking online, I can disable the error if I avoid using the Native Link" ---- please refer the link below,

https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/soluti...

 

"Is there any other way I can simulate the IP using Native link before deciding whether I'd like to purchase the IP core license?" ------ You can use 30 days Evaluation period after installation of Quartus tool, please refer the Q.3 from link below,

https://www.intel.com/content/www/us/en/programmable/support/support-resources/download/licensing/q-...

Regards,

Vicky

Vicky1
Employee
388 Views

Hi,

May I know any update or should I consider that case to be closed?

Regards,

Vicky

JRose37
Beginner
388 Views

Hi Vicky,

 

I followed the youtube video you provided (https://www.youtube.com/watch?v=PmVVXQchv2c) to set up the native link. Doing this I could start modelsim and compile all the libraries.

 

Now when I try to simulate my design modelsim opens, but I cannot add signals from my instantiated modules--the instantiated modules don't show up. In other words, when I try to drag and drop signals into the waveform window, I see the top-level module, and oddly many signals from previous modules that I'm not instantiating, but not any of the other sub-modules. Attached is a screen shot.

 

Attached is my archived Quartus project as well if that's helpful.

 

Thanks!modelsimIssues.png

JRose37
Beginner
388 Views

Hello,

 

I started with a new Quartus project, and I can now successfully simulate the FFT IP.

 

For future users, it is important to add the .sip and .qip files to your project for successful simulation. This can be done by going to Project->Add/Remove Files in Project and then navigating to the files. The .sip file is located in <IP-name>/simulation folder and the .qip file is located in the <IP-name>/synthesis folder. If you don't add these folders and you try to perform Analysis & Synthesis, you will get an error about a missing entity.

 

Following the youtube video (https://www.youtube.com/watch?v=PmVVXQchv2c) from Intel was also helpful.

 

For the FFT IP I also had to add <IP-name>.v and one of its submodules to the project for successful Analysis & Synthesis.

 

Thanks for the help Vicky!

Reply