Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

How to set up simulation files of custom module to ModelSim

Altera_Forum
Honored Contributor II
1,552 Views

hello 

 

I am trying to simulate Nios II with custom module. 

But ModelSim could not find a part of simulation file for custom module. 

Error message is following. 

 

** Error: (vsim-3033) xxx.v(31): Instantiation of 'yyy' failed. The design unit was not found. 

 

I created xxx modue by Component Editor of SOPC Builder. 

xxx module is including yyy. 

yyy is a megafunction. 

 

Maybe I have to set up search pass of yyy on ModelSim or Nios EDS. 

Does somebody know how to set it? 

 

Thank you
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
835 Views

Hi 

 

I understood that I can resolve this problem by adding include sentence to <ALTERA_NOTE> section at the out of testbench. 

 

Thank you.
0 Kudos
Reply