Closed suoto closed 8 years ago
@suoto Unfortunately we don't have the type of tool provider deal with Mentor like we do with Aldec so we don't have access to any DE licenses. Anyway, I'm noticing that you are having problems with one of the basic examples. Is this the first thing you've tested or do you see the same problems for other examples as well? Also, your DE license is a few years old. Do you see the same problem with an equally old Altera edition? That we could debug.
I just began using VUnit actually (could be my fault somewhere...). I had success with the Altera's version testing other VUnit examples and some code at work also. I haven't tested with other ModelSim versions, I can try to test with an older Altera version and check if the same thing happens.
I would expect that this has to do with the tool rather than a mistake from your side. It not much that you can do wrong when trying one of the examples, especially when it works with AE. Let's see what your investigation on an older AE reveals and take it from there.
The problem is with very likely that Modelsim DE 10.1a faults on some part of the VUnit VHDL code. So it is not something you have done wrong. Maybe this part of the code can be rewritten but we have no way of trying it ourselves. If the error could be duplicated in some altera modelsim version maybe we could.
I've tested with other versions and the results are as follows:
Version | Result |
---|---|
ModelSim ALTERA 6.6d (11/02/2010) | Unknown, can't compile AlertLogPkg.vhd |
ModelSim ALTERA 10.0c (09/21/2011) | Unknown, can't compile AlertLogPkg.vhd (different error) |
ModelSim ALTERA 10.1b (04/27/2012) | Everything runs fine |
ModelSim ALTERA 10.3c (09/20/2014) | Everything runs fine |
ModelSim ALTERA 10.4b (05/27/2015) | Everything runs fine |
Unfortunately I couldn't find an Altera's 10.1a version to try.
Thanks. It turns out that I had old Altera editions installed, both 10.0d and 10.1b. 10.0d fails on AlertLogPkg.vhd (part of OSVVM) as well so I tested the user guide examples which doesn't include OSVVM. Then it fails with
Context declaration not yet implemented.
OSVVM is also VHDL-2008 so this is probably just a case of lacking language support. 10.1b is working just fine and I suspect that our claims of supporting 10.1 - 10.4 should be 10.1b - 10.4 since ModelSim AE is what we've been using for verification. Anyway, it might be possible for me to get hold of the correct version with ModelSim PE and run the tests with that.
Fixed by #163
I'm running the example from examples/vhdl/uart folder and ModelSim DE 10.1a is terminating with SIGSEGV when launching the vsim command.
I have both ModelSim DE 10.1a and ModelSim Altera 10.3c and this happens only with ModelSim DE 10.1a. (I have cleaned all generated files when switching between the two).
The shell output is as follows:
For the record, the full ModelSim version strings are
I'm using Debian 7.10 and VUnit 0.52.0.
If you need more info please let me know.