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

AXI UVM issue when integrating HPDCache #2076

Closed
1 task done
JeanRochCoulon opened this issue Apr 25, 2024 · 8 comments
Closed
1 task done

AXI UVM issue when integrating HPDCache #2076

JeanRochCoulon opened this issue Apr 25, 2024 · 8 comments
Assignees
Labels
Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system

Comments

@JeanRochCoulon
Copy link
Contributor

Is there an existing CVA6 bug for this?

  • I have searched the existing bug issues

Bug Description

When switching WT cache to HPD cache, 4 AXI assertions stop the simulations:
image

When commenting the 4 assertions, the hello word test stops on timeout after 300s. When switching the AXI from active to passive, the test passes.

This failure is using vcs-uvm target.
The Thales developing branch is hpdcache0

@JeanRochCoulon JeanRochCoulon added the Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system label Apr 25, 2024
@AEzzejjari
Copy link
Member

When I debugged the 'hello-world' test in the smoke-tests, I found that the problem is originating from the RTL.
The bug occurs when we randomize the 'aw_delay,' which indicates the delay between AWVALID and AWREADY.

@cfuguet
Copy link
Contributor

cfuguet commented Apr 29, 2024

Hello,

Thank you for the report.

Can you please send the command line to rerun your test ?

When I debugged one of the ADD assembly tests, I saw that the problem came effectively for a write, but what I saw, is that the HPDcache sent both the address (AW) and the data (W) but it never received a response for it (B). So, in my case it looks more like a problem from the test environment.

@AEzzejjari
Copy link
Member

When I reviewed the log file, I didn't notice that the agent didn't sent response, but when you mentioned it, I observed the waveform and I realized that when the address is accepted by the agent after the data, the agent does not send a response. Therefore, this is a bug in the agent.

@cfuguet
Copy link
Contributor

cfuguet commented Apr 29, 2024

Ok, yes, that was what I observed too. Let me know if I can help.

@cfuguet
Copy link
Contributor

cfuguet commented May 2, 2024

Hi @AEzzejjari,

Do you have any news on this issue ? :)

Thanks and regards

@JeanRochCoulon
Copy link
Contributor Author

I think @AEzzejjari is oOo Today.
Alae has fixed the AXI agent.
I am (trying) to bump core-v-verif to CVA6... Not sure to succeed soon, because two PRs are in collision.

@cfuguet
Copy link
Contributor

cfuguet commented May 2, 2024

Ok great ! No problem, I'm glad that you have found (and fixed) some issues.

@JeanRochCoulon
Copy link
Contributor Author

fixed by #2125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Projects
None yet
Development

No branches or pull requests

3 participants