-
Notifications
You must be signed in to change notification settings - Fork 11
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
Isla-footprint RISC-V #82
Comments
I think you've just put the source files in the wrong order. I can build it with the following change to the
|
Hello, Thanks for your response. Indeed the order of the source files needed to be fixed. I am able to build the IR now. But even then, generating instruction traces with Isla-footprint does not work and I get the following error: Even though val sys_pmp_count is defined in the sail source (and it's not really a function as Isla-footprint seems to be expecting). Can you please confirm if you see the same output or not? I appreciate the help! |
This is one of the configuration options for the RISC-V model, which they occasionally add to. You can provide a value for it by adding a |
There were a couple of issues preventing that from working which I've fixed and pushed, along with an updated configuration file. In particular, the integer needs to have the right size, so I've added the ability to specify which size it has in the config file. Ideally it would be automatically inferred, but this should be sufficient for now. |
Hello Brian, Thanks a lot for the help and prompt responses. The trace generation works now. 👍 |
Hello,
I am trying to use the Isla-footprint tool to generate traces for RISC-V instructions but so far I have not been successful. I get an error for sail_barrier being an unknown event. (See image attached)
I assumed that it is because of outdated Isla IR snapshots, so I tried to regenerate them using Isla-sail. If that is not the case, please let me know if you have any idea why I am getting this error.
For regenerating the snapshots, I followed the following advice from the README of this repo:
"To generate this IR in the correct format a tool is available in the isla-sail directory. Building this requires various arcane OCaml incantations, but mostly one can follow the Sail install guide here, followed by the instructions here. It will only work with the latest HEAD of the sail2branch in the Sail repository."
So the sail I use is from the sail2 branch. But running the Isla-sail tool for all the sail files in the RISC-V model throws the following error:
If you could point me to where I might be going wrong, I will highly appreciate that.
Thanks in advance.
Regards,
Neelu
The text was updated successfully, but these errors were encountered: