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

Tarmac-browser syntax error #17

Closed
adedespirlet opened this issue Mar 26, 2024 · 4 comments
Closed

Tarmac-browser syntax error #17

adedespirlet opened this issue Mar 26, 2024 · 4 comments

Comments

@adedespirlet
Copy link

Hello,
I keep getting this error when trying to run tarmac-browser on multiple different tarmac traces:

Reading trace file (0%)/projectdata/despir01/bigL3/corinth/logical/testbench/execution_tb/logs/aarch64_maxpwr_l3.exec_pe_0.mti/tarmac.cluster_execution_tb_u_cluster_g_core_0__g_big_u_ares_core_u_vcpu_u_cpu_u_ares_tarmac_capture_uinstracer.log:199: expected register contents
R V0<63:0> 00000000
^
I saw that it has been "fixed" a few years ago but despite the fixes i still get this error. Do you know what the issue is?

Thank you in advance.

@statham-arm
Copy link
Contributor

The line you quote specifies a bit range <63:0>, meaning it's 64 bits wide. But the data field 00000000 only describes 32 bits of zeroes. Normally the TTU parser expects that the number of digits in the data matches the number of bits it's expected to occupy.

Can you tell me what Tarmac producer generated this file? And can you share a snippet of it in full, instead of just the error message?

@adedespirlet
Copy link
Author

adedespirlet commented Mar 26, 2024 via email

@statham-arm
Copy link
Contributor

Sorry, but your image attachment is nowhere to be seen. I guess you made that comment by replying to the Github email? Apparently, when you do that, the email attachments aren't transferred on to the bug ticket.

However, a screenshot wouldn't have been much use anyway. Could you provide a snippet of the actual Tarmac file, please? Not a picture, but some text.

Also, what tool or product generated the Tarmac file? You've told me what you used to read the file (Tarmac Trace Utilities, the project this bug tracker is all about). But what wrote it?

@adedespirlet
Copy link
Author

Yes indeed I replied to the Github email, this is probably why.
The tarmac file is generated when I execute the testbench through Modelsim. The generation of the tarmac file is specified in a Makefile that is used to execute the simulation on modelsim. I don't know if this is an answer to your question but it is hard to understand exactly how it is generated since I did not install it , it was already included in the whole setup directory received by ARM for the DSU and Neoverse N1 core IPs. I have attached in this mail the tarmac generation flow described in a txt file that we received. I also attached the generated tarmac file. Both via github this time.
tarmac.cluster_execution_tb_u_cluster_g_core_0__g_big_u_ares_core_u_vcpu_u_cpu_u_ares_tarmac_capture_uinstracer.log
cm-tarmac-usage.txt

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

2 participants