-
Notifications
You must be signed in to change notification settings - Fork 544
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
Running ibex-core dv env in questa #2108
Comments
Hi |
can you tell me how to run it with VCS? May be I can also try it. |
There are README's under
To start with, try running with the basic test listed in
|
Is xcelium is mandatory for running this env? did you meant synopsys vcs? |
The error that you've sent a screenshot about is not connected to your choice of simulator. The problem here is that pkgconfig doesn't know that |
Yes, I too initially faced this particular issue. The wrong step from my side was not setting
Then proceeded to install Spike simulator as shown here. Check for your spike installation and the paths you have given. Check if you have the following directories in the spike installation path: |
Thanks @rayamsumanth for your input and it's very relevant. With these instructions, we were able to overcome the issue and came up with the following error. Kindly let me know how to proceed from here since I have no clue about this error. |
Hmm, that's not a great error message on our end (sorry). I've just looked at the Python and it's complaining that I think that this is being caused by the fact that the substitution is happening with a dictionary that doesn't have a definition with the key |
@hcallahan-lowrisc: I think this code came from you in the first place. Would you mind taking a look and trying to work out what has come unstuck? |
@imranjithkumar Are you able to run the flow with questa? |
#2096 should have fixed the error about parameters not being substituted in the riscvdv command. At this point, I cannot test further because I do not have access to questa. (I get the error Could you let me know if you get further?
Thanks |
Hi, We have successfully run a test in Questa. The attached document contains the number of errors and their corresponding fixes: We disabled the ISS Spike model for the test to pass. However, when we enable the model, we encounter the following error: UVM_FATAL /home/edveon/Desktop/ibex_core/main/ibex/dv/uvm/core_ibex/common/ibex_cosim_agent/ibex_cosim_scoreboard.sv(168) @ 2245653: uvm_test_top.env.cosim_agent.scoreboard [uvm_test_top.env.cosim_agent.scoreboard] Cosim mismatch Synchronous trap was expected at ISS PC: 80000000 but the DUT didn't report one at PC 80000080 Thanks. |
Hey @Mowneesh, thanks for getting back to me and listing out all the errors you encountered. |
Many of these fixes were suggested by GitHub user @Mowneesh in this comment: lowRISC#2108 (comment) This commit incorporates most of those suggestions and adds some other improvements.
Would anyone happen to know how to run ibex-core tests in the Questa simulator? I would appreciate it if you could share your thoughts on how to run the ibex-core dv tests.
Thanks,
Ranjith
The text was updated successfully, but these errors were encountered: