-
Notifications
You must be signed in to change notification settings - Fork 188
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
SBT test failed #127
Comments
I think you need a C++14 or newer compiler: verilator/verilator#4898 There was a change recently on upstream Chisel to indicate |
I think my gcc version support C++14. $ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. As I read in documentation, C++14 is fully supported since gcc version 6. Version 11 should be good no ? |
It's likely that GCC is treating This is (empirically) working on Ubuntu 22.04 in CI with Verilator 5.012 built from source. It may be that Verilator 5.0.12+ started causing this. I can kick off CI and see what happens. |
I recompiled verilator with version 5.012 and it works now. |
@jackkoenig and I will get a release out with the fix for 5.022. I can reproduce the failure you're seeing when trying to bump to 5.022 here: #128 We'll get the template updated once there is a suitable release. Thanks for the issue report! |
This is fixed on |
Can't simulate the template with sbt test :
Same error occur with chisel version 6.1.0 and 7.0.0-M1 in build.sbt.
Tested with following verilator versions :
The text was updated successfully, but these errors were encountered: