-
Notifications
You must be signed in to change notification settings - Fork 549
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
Trying to use v5.xxx: what GCC compiler and what timing settings? #4362
Comments
So moving to a compiler that supports
|
Issue #4243 seems to suggest that C++20 is only required when using The following is the offending include file generated by Verilator when using
|
OK, now I'm stumped, after removing all #delays from our design so try and work around this until someone answers, I still get the same So where is that defined? I must be missing an new v5 include or something. The only place I've found it defined so far is in |
I think I can see why this happens. Does your design use They belong to SystemVerilog stdlib and use timing, which is not supported for older standards of C++. If you don't actually use any of these classes, you could try verilating with |
We're using gRPC in our top level Verilator model and that uses the Abseil library for synchronisation which I think uses And yes, adding However, I'm now seeing another issue which might be its own ticket. Has something changed in how Verilator treats edges at time 0? We're using |
@kiryk Thanks for that. I've confirmed that with the patch I can drop the |
I'm trying to port our project to use v5.012 but have hit a few compilation errors that I'm not sure how to solve. I also failed to find any documentation about the new timing options but perhaps I missed it - can you point me at any?
We have some #delays in our code which seem to require the use of the
--no-timing
switch to work around. However, when I compile our model I then see the following error:If I add the include file
verilated_timing.h
I then get issues about#include <coroutine>
. I'm using GCC v9.3.0p6 as we're on Centos in a managed HPC chamber.The text was updated successfully, but these errors were encountered: