-
Notifications
You must be signed in to change notification settings - Fork 15
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
Example fails to build #9
Comments
Thanks for the report. |
It looks like verilator changed the default naming scheme for the generated C++ source somewhere between 4.108 and 4.222. |
Fixes djg#9. Might not always work, but it does for the current example. Tested with verilator 4.222.
I just repulled again (and switched to main). At efab3b3
on Asahi Linux (fully up-to-date). On up-to-date Ubuntu/RISC-V it fails with
In all cases Rust is fully updated to version 1.64 Maybe it would make sense to include verilator as a submodule so we are building a known-good version? |
FWIW, current version (version 0.1.6) builds and runs perfectly for me with (However clippy has something to say). Also FWIW, it still fails to build on Asahi-Linux/M1, but I'm not sure that's the fault of verilated-rs. I think we can close? |
Executing verilator with And verilator renamed |
Has this crate been abandoned? There are four pull requests with not even a comment |
Perhaps, I'm looking into maybe writing a more general set of bindings, potentially also handling cxxrtl. I did similar work for Calyx (think LLVM for hardware) by writing bindings to Calyx's hand rolled simulator. |
This seems like a super cool project, unfortunately, the example in the repo fails to build on my machine, with a missing cpp file:
Trying to build with rust 1.59 and verilator version 4.222
The text was updated successfully, but these errors were encountered: