Modelsim PE 6.5a Issue
Hi,
I have been driven round the bend with a problem I am experiencing with Modelsim. I am trying to to a functional simulation of a design and I believe I am having problems with the libraries.
I am using a Cyclone III device that has a few megafunctions included (PLL, ROM:1 port, altclkctra).
In modelsim I have mounted the relevant libraries (altera, altera_mf and cycloneiii libraries) using the commands from a script I found on a previous post here. They seemed to compile ok and it seems modelsim recognises the compiled libraries.
Anyway when I run the design with the PLL instantiated, the output of the PLL is undefined. I dont recieve any warning in Quartus and I don´t think it is a problem in my design. I have double checked everything and can´t see any problems. In the Modelsim transcript window I recieve the following messages:
<attachment 1>
I dont understand what the INTERNAL ERROR: pkgref: export lookup failed means. I havent been able to find any real info on this online. Is this warning an issue? Various other messages are output as can be seen, but I don´t think any of them are serious (but please put me right on this if I am overlooking something). It also says that Cyclone III PLL was reset (as the testbench should do) so I don´t understand what the problem might be.
If I remove the PLL from the deisgn and just leave the remaining megafunction instatiated with code (ROM1 ports and altclkctra) I recieve a fatal error when I try to start the simulation. The following messages are presented to me on the transcript window.
<attachment 2>
I do not understand the nature of the fatal error, as the cyclone iii_atoms.vhd llibrary seems to be properly compiled and recognised by quartus.
Is it nessesery to modify the modelsim .ini file after compiling new libraries? I have tried this by placing in the following commands for the libraries which are mapped in the same directory:
cycloneiii = cycloneiii
alter = altera
altera_mf = altera_mf
Anyway this made no difference.
Please let me know if I have done something dumb or have overlooked something.
Many thanks for any help.
EDIT: I also forgot to say that I only experience these problems with a megafunction instantiated. When I simulate only my VHDL code, I do not have any such problems. This is what leads to to believe it is a library issue. Also I am using Quartus v9 and compiled the librraies from its eda_lib directory.
Last edited by Ardni; June 4th, 2009 at 12:08 AM.