-
Notifications
You must be signed in to change notification settings - Fork 772
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
[topgen.py]FileNotFoundError: ‘hw/top_earlgrey/data/ip/ast/data/ast.hjson’ #24595
Comments
I just ran locally with Looking at the difference in what runs in the two cases, I notice that the working version runs
(notice the different path to the hjson file). The path you're giving as an input is actually an output from But the error that comes out is a bit rubbish! Let's keep this issue open until we've sorted that out. |
This should fix issue lowRISC#24595. The problem that caused the issue is that we compute paths to the various IP blocks that should be included by following relative paths from the `-t` argument. This doesn't work very well if the top_earlgrey.hjson file moves around! A sensible design would probably point more explicitly at where to find IPs, but this should hopefully be a little easier to debug. Signed-off-by: Rupert Swarbrick <[email protected]>
Thanks for your help.
|
I'm keeping this open to track the fact that we could improve the tooling messages to explain what's going on more clearly. That change is hopefully available in the linked PR. |
Description
util/topgen.py -t hw/top_earlgrey/data/autogen/top_earlgrey.gen.hjson -o hw/top_earlgrey/
FileNotFoundError: [Errno 2] No such file or directory: 'hw/top_earlgrey/data/ip/ast/data/ast.hjson'
The text was updated successfully, but these errors were encountered: