mrflibble
Advanced Member level 5
- Joined
- Apr 19, 2010
- Messages
- 2,720
- Helped
- 679
- Reputation
- 1,360
- Reaction score
- 652
- Trophy points
- 1,393
- Activity points
- 19,551
Amusing how these things & thought processes work, because while I was reading the above I was thinking "mmmh, he (talkyztalky) had better be damn sure that his simulation actually reflects the latest sources". Because recently I had a fun little puzzle that was 100% my own fault, but annoying nonetheless. And the root cause was that I didn't delete all the old intermediate results.Well there is nothing wrong with the vlog compilation. Did you post this snippet of the transcript because of the warnings? The warning is not a problem it only signifies that you probably didn't stop the previous simulation so that it released the wlf file. Exiting Modelsim completely and delete all the wlf files will allow Modelsim to open the default vsim.wlf.
What is the vsim command line look like, it appears that it was left out of your post?
Yup, exactly that! Throw away the "work" directory & then re-run simulation. Otherwise you may be seeing old results.I don't know if you are running the VHDL & Verilog simulations in the same directory, but I would probably try deleting the work library and recreate it, so you start fresh with only the verilog modules complied into the work library. This at a minimum will ensure you aren't using some old module or picking up something compiled for VHDL.
As for posting logs with warnings, by all means keep up that habit. Posting too little information generally is infuriatingly annoying far more often than by posting too much information. If only because logs can sometimes contain little clues.
And indeed the Z's are might suspicious. In fact, I really thought that the endit in the initial block was holding up the rest of the simulation from running. Which is why I suggested removing it.
talkyztalky:
Could you post a screenshot of the simulation AFTER you removed the endit block?