Altera_Forum
Honored Contributor
15 years agoHow to simulate pll module, generated using megafunction wizard, in Altera-Modelsim
Hi,
I have generated a PLL.v module using Quartus II megafunction wizard engine. I am tryiing to simulate my design, with PLL.v as an instance, in altera-modelsim. I am invoking the modelsim tool from within Quartus II. By doing so, I get a the elaboration of PLL and PLL_ALTPLL modules done inside the "work" directory. On the top of this I am elaborating my testbench, which instantiates the top level module of my design. When I am running following command: vsim -t ps work.<toplevel_module_name>, I am getting follwoing error: "Instantiation of 'altpll' failed. The design unit was not found." Would anyone help me inthis regards, please? It seems to me that the PLL.v module has an instantiation of ALTPLL module. But the automatic flow has compiled the module PLL_ALTPLL. Is my analysis correct? If yes, would you please tell me how to resolve this problem. I tried to rename the module names, but didnt help. Any help is appreciated! Thanks Kapil