-
Notifications
You must be signed in to change notification settings - Fork 8
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
make prep fails #25
Comments
Hm interesting. We don't use yosys slang for much so I think it can safely be ignored. Looks like probably there's a stray stdc++ flag preventing the header from being found: |
Btw this is almost certainly due to windows. Happy to merge a patch for docker on windows builds but we don't directly support the platform. Are you using WSL? |
I am using WSL (unfortunately, don't have a Linux machine right now). I was hoping the docker image would be enough to get a basic test going. The prep_lite is still building (with some hiccups), so I'm still waiting to see if it goes through. |
I was able to build prep_lite, but the test fails:
Specific errors seems to be related to verilator.
Related issues: Trying latest verilator version... BTW, is the Eval Guide is out of date? Example Commands use [ACTION].v/sc, but I don't think those are recognized. |
Yeah seems the same issue, unrecognized C++20 support Thanks for the reminder; yes vcs/verilator are the correct extensions |
vcs doesn't work for me, or at least isn't recognized.
I know it's not related to this topic, but just figured I would ask. |
The target is correct but synopsys vcs is a proprietary tool, so you first need to have it installed. The actual error message there is:
which is saying that the binary itself is not found |
Ah got it. I misunderstood your original message. I'm currently attempting to re-build the docker image on a ubuntu machine, and will be re-running the instructions to try and test both ubuntu 20.04 and the docker instructions. I tried to run the docker instructions on an AlmaLinux machine (RedHat 8.1), but the docker ran into the same issue with concepts |
It looks like the docker image is using gcc 9 instead of the installed gcc 10. Adding this from https://askubuntu.com/a/1331764 to the docker file seems to have fixed this issue, but I'm still unable to sim.
Turns out, there's nothing calling |
Even when setting the submodules correctly, verilator keeps complaining about bad libraries:
With what the makefile produces:
Despite the environment, I would have to think that the docker image should be a guarantee way of being able to run the simulation in this repo. |
That'll be because of a mixed build of gcc-9 and gcc-10. You'd need to clean out the verilator build with e.g. git submodule deinit <path_to_verilator>. The submodules get checked out as part of "make checkout" which runs before prep. So likely something failed or was interrupted and then the repo checkpointed success for whatever reason. I'll take a quick look with a fresh build to make sure it works on my end. I also have a 24.04 docker I've been playing with for other reasons so I'll give that a shot too. Since 20.04 is EOL this year, might be worth updating |
So I've learned ahah. I've been bleaching things to re-test things to try and get something going.
👍 |
Okay, so I was finally able to get something to build, but man that was painful.
This took multiple tries though. I had to run make prep_lite multiple times, and I'm not really confident it will work again if I clean and try again, so I'm going to do it again to verify. |
Interesting thanks for the update! |
As an FYI, I haven't see the output
yet.... just a bunch of
|
Okay great, that's not your setup. I just got an email yesterday with the same issue. I think there's some verilator-related problem with the latest versions (VCS works fine). I'll try to look into it by this weekend but ping me if you don't hear back! |
Great thanks! |
After seeing that email chain , I updated black-parrot to latest, and it works now. |
Solution is: Update black-parrot to latest commit.
To the docker file OR transition to 24.04. That being said, 24.04 hasn't been fully tested. |
I am trying to follow the docker build (since I am on Windows 11), but finding no success in building prep.
My docker version is
Docker version 27.5.1, build 9f9e405
.Running make prep:
Currently, I'm cleaning and redoing this with prep_lite and will report back once I'm done.
The text was updated successfully, but these errors were encountered: