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
Incorrect paths when compiling from Git #1318
Comments
Original Redmine Comment So, I found something that would work for me, but the steps I took are markedly quite different from that documented on your installation page. From scratch, these are the steps I took, in their entirety: First, make sure I'm starting from a clean slate.
Next, make sure it all works in a single directory:
At this point, everything seems like it should work OK. Next step is to lay the project files out into their intended destinations.
Success!! So the problem the whole time seems to be the VERILATOR_ROOT environment variable. After you run ```make install
|
Original Redmine Comment Sorry this was painful. I added a new final section to https://www.veripool.org/projects/verilator/wiki/Installing if this doesn't cover it or you have other suggestions please let me know and I'll update it further. |
Original Redmine Comment Documentation updated earlier, if you have additional suggestions please feel free to suggest more comments. |
Author Name: Samuel Falvo (@sfalvo)
Original Redmine Issue: 1318 from https://www.veripool.org
I compiled by distribution of Verilator from git sources, per the instructions published on the website. It compiled version 3.922.
However, when I tried to execute the instructions in the tutorial for Verilog, modified for where I've placed my C++ and Verilog files accordingly, I get the following results:
After some research in the issues, I found this issue which summarizes similar behavior I'm seeing: https://www.veripool.org/issues/1220-Verilator-Example-Makefile-seems-to-have-incorrect-paths . The resolution of this issue indicates it's fixed in 3.914.
I tried rebuilding version 3.914 by these steps:
However, the problem persists; this suggests I have either completely missed something obvious in the installation instructions, OR, the instructions are not truly general across all operating systems.
To test this theory, I decided to rebuild Verilator like so:
After resetting my path and VERILATOR_ROOT variables, I rebuilt the obj_dir subdirectory and tried to re-make the project, only to receive this as the error:
At this point, I give up. I just can't win. :(
What am I missing?
Thanks for any help you can offer.
The text was updated successfully, but these errors were encountered: