Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

How to set up simulation files of custom module to ModelSim

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

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi

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

    Thank you.