Skip to content
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

Does this project have a trace function? #12

Open
lost2015 opened this issue Aug 30, 2021 · 2 comments
Open

Does this project have a trace function? #12

lost2015 opened this issue Aug 30, 2021 · 2 comments

Comments

@lost2015
Copy link

Hi,

this is a great project which can help me to understand the arm architecture, but when I try to bring up some application on this model, it seems has no trace function which can record all executed instructions and values in related registers or memory, like tarmac trace.
is there any similar function in it and how to enable it?
and does the sail project also support arm v9-A and arm v8-M model?

thanks
Gu

@bacam
Copy link
Contributor

bacam commented Sep 5, 2021

There's a little tracing available using the --verbosity 0x1 option. It's implemented in the model itself (in elfmain.sail) - we don't currently have any automatically generated tracing. If you'd like more feedback I suggest adding similar print statements to the parts that you're interested in. For example, the R_set function where the general purpose registers are updated.

We expect to produce models for more recent v8a/v9a architectures but I don't have a time frame for them. There aren't any plans for v8m at the moment.

@PeterSewell
Copy link
Contributor

PeterSewell commented Sep 5, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants