-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
initial vunit support #6
Conversation
Thank you! I'll look at it tomorrow - its my wife's birthday today :-) |
Ok, I just tried your patch, and I get the following error (after I did
I don't have any experience with VUnit, so I'm unsure how to debug/proceed here. It seems like it is selecting the wrong top-level testbench, maybe? Could you please help me? BTW: I really appreciate you making this pull request and adding support for VUnit. This is a great improvement!! Now I just need to get it to work on my machine ... |
Ou, sorry, that I forgot to add a clear instructions how to use it! Added quick installation guide - https://github.com/Ruskuls/HyperRAM/tree/vunit-support/simulation-vunit I hope it will help! **Note! 1 ** I'm using Ubuntu machine with installed Lattice development tools (Modelsim is shipped as a part). But it should be similiar process if Quartus tools are used. **Note! 2 ** WARNING - Entity tb_clk matches testbench name regex ^(tb.)|(.tb)$. Vunit detects this module as a tesbench, but can't find Vunit related initialization precudures. To fix this warning, it has to be renamed, can't contain |
I was able to reproduce the same error. It's because env is missing
|
Ok, I made some progress, but I still get (new) errors. Just to add to the confusion, I'm working alternately on two different machines (home and work). So, I'm currently trying on an "Ubuntu 22.04.2 LTS" (with QuestaSim installed as part of Quartus Lite version), but with very restricted Internet access ( Anyway, with VUnit version 4.7 manually installed I now get the result shown below. This error seems related to OSVVM. Do you think this problem is related to the manual install? I can't check on my other machine at the moment. Any idea how to proceed?
|
I will try to install Questa Sim on my local machine and replicate this error. |
Thank you for this extra information. I've finally managed to run this test on my own machine. It turned out I had a very old version of ModelSim (10.6c). I've now installed intelFPGA_lite/22.1std (with the QuestaSim Free Starter Edition), and now I can run the simulation as well. |
Vunit simulation - preferred simulator, that supports also Verilog files. For tests Modelsim were used.
Possible improvements:
simulation-vunit
folderdelay.vhd
,tb_clk.vhd
)