-
Notifications
You must be signed in to change notification settings - Fork 21
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
Ubuntu support #789
Comments
Do you mean re-trying the command while in the vcs-verilator-svdpi-fix branch? I gave that a go but make regression still failed.
|
Ah, you're on Ubuntu |
Well WSL 2 technically, but yes Ubuntu xD |
We haven't run through the steps on Ubuntu in a while, it's on our todo list. @dpetrisko was going to take a look last week but I know he's busy. To solve the error above, the following diff will work:
|
The next issue you will probably run into is a linking error with
After that, the notation Last week when we went down this path the executable segfaulted. We haven't had time to get that far yet, so your mileage may vary. (We use Centos 7 for our development, but I've been meaning to try on Ubuntu for a while. Haven't had time) |
I made all those changes and am running the command again. If all goes well, I'll close out this issue, otherwise I will send another comment. Thank you for your prompt responses, they were very much appreciated and helpful! |
If they work, keep this issue open, but retitle to Ubuntu support |
It's likely because of how our regression works. It searches for a success message using grep and if it doesn't find it, it fails. In other words, it is probably searching the stale log from when your computer crashed in test_vcache_flush. Make clean in that directory and try again. You might also consider running the pod_X1Y1_ruche_X8Y4_hbm machine. It is faster to compile and simulate. |
You can run Verilator is a lot slower than VCS at the moment. There are optimizations, but we haven't explored them due to lack of resources. Ignore this failure for now. I need to look into this, and it should not be related to Verilator. I would say that your system is working. If you want more assurance, try running |
Presumably it's related to 8x4? It is concerning that is a hardware assertion and not a test failure though |
I don't think it's related to 8x4. I think it's related to the icache, which now has to be written in series (and in blocks of 4 words). This test was likely not updated and we somehow didn't catch it. |
Oh I see, this test may be manually writing I$ incorrectly and that would trigger the assertion. I was concerned because I thought it was a demand fill coming back out of order |
Yeah, it's failing in VCS but not causing simulation to terminate. The test still passes. Will look into |
I bet the latter triggered the former, or there is probable cause. In the end, I would call your installation working. My impression is there are some issues in our code that don't show up on our system so we'll have to spin up Ubuntu and iron them out there. But you should be safe to develop. However, if you're willing to poke a bit, can you comment out this line and re-run test_binary_load_buffer?
|
For reference I'm using the pod_X1Y1_ruche_X16Y8_hbm machine and the bigblade-verilator platform
Here is a screenshot of the error I'm getting:
Previous commands had the include -I/mnt/c/Projects/bsg_bladerunner/verilator/include/vltstd, which is where this svdpi.h is located:
But for some reason the command causing the issue doesn't have this include, which would seem to be the cause for the error that's happening.
I'm not entirely sure how to move forward in solving this issue since it seems to be caused by something internally, so I would appreciate any help. Thanks!
The text was updated successfully, but these errors were encountered: