Forum Discussion

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

[Quartus & Modelsim-Altera] simulation of altera's megafunction components

I have generated a pll using the Quartus IP-Core.

I have created a simple testbench which includes the pll.

The project top compiles successfully, However when I launch the RTL simulation tool(Modelsim-Altera)

the modelsim raise an error


alt_pll.v(67): Instantiation of 'altpll' failed. The design unit was not found

At the library panel I can see the library called "altera_mf"

But it seems like modelsim search for libraries only in rtl_work library and not in the pre-compiled libraries of modelsim-altera.

How to set modelsim to load the precompiled libraries ?

Thanks

2 Replies

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

    Anyone here, could help with a Modelsim installer in a W7? I will need a Sw and craker..... Kind regards,

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

    --- Quote Start ---

    I have generated a pll using the Quartus IP-Core.

    I have created a simple testbench which includes the pll.

    The project top compiles successfully, However when I launch the RTL simulation tool(Modelsim-Altera)

    the modelsim raise an error

    
    alt_pll.v(67): Instantiation of 'altpll' failed. The design unit was not found
    

    At the library panel I can see the library called "altera_mf"

    But it seems like modelsim search for libraries only in rtl_work library and not in the pre-compiled libraries of modelsim-altera.

    How to set modelsim to load the precompiled libraries ?

    Thanks

    --- Quote End ---

    Try adding following to your vsim command "-L altera_mf" or use the Native link simulation to setup simulation

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

    Best Regards,

    arslanusman2003

    (This message was posted on behalf of Intel Corporation)