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

Q: Un-aligned write #45

Open
mslijepc opened this issue Jul 11, 2023 · 5 comments
Open

Q: Un-aligned write #45

mslijepc opened this issue Jul 11, 2023 · 5 comments
Assignees

Comments

@mslijepc
Copy link

Hi Eyck,
not sure if there is a bug in this line:

https://github.com/Minres/SystemC-Components/blob/7d8a0173b219d684c80ba268086b31027d4a7402/src/bus_interfaces/axi/pin/axi4_initiator.h#L174C13-L174C13

In case we have e.g. 32B wide bus, we want to have single 4B write, with an offset 30, strb will be all zeros.
How this write should be handled?

@eyck eyck self-assigned this Jul 12, 2023
@eyck
Copy link
Contributor

eyck commented Jul 12, 2023

I'll have a look...

@mslijepc
Copy link
Author

mslijepc commented Jul 12, 2023

and also, data will be all zeros. Not sure, by the spec, if this should be done as burst?

@eyck
Copy link
Contributor

eyck commented Aug 28, 2023

Hmm, I connot reproduce the issue although I tried hard ( found an issue with the second beat but not the first one) . This is what I get:
grafik
Did you attach an axi4_extension to the incoming transaction?

@mslijepc
Copy link
Author

Yes, axi4_extension was attached. How do you reproduce error, can you manually set address and len?

@eyck
Copy link
Contributor

eyck commented Sep 14, 2023

Address and length are taken from the tlm_generic_payload so this way you can control it

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