Forum Discussion

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

Using Modelsim with Quartus II Megafunction IP

How can I use Modelsim to test designs that included megafunction generated IP? (Which files do I have to add to the Modelsim project, etc?)

3 Replies

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

    HI,

    When you create the IP, you may find which library file to be compiled in EDA tab in the MegaWizard. Also you should check "Generate simulation model" and use ".vho" or ".vo" file of megacore top module instead of ".vhd" or ".v". The "vho/vo" file includes whole the IP model for many IPs, but some IPs, such as DDRx-HP, require other wrapper files.

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

    You need to compile the correct libraries. If you are using the oem version, I believe these libraries come precompiles. Otherwise you will need to create and compile the required libraries.

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

    Refer to the documentation. In Quartus Help on the Contents tab, go to "Integrating Other EDA Tools --> Using Other EDA Simulation Tools". In the QII 8.1 handbook, see Volume 3, Section I, Chapter 2.