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

Read a sram that is changed by other host #90

Open
zyn810039594 opened this issue Apr 8, 2024 · 1 comment
Open

Read a sram that is changed by other host #90

zyn810039594 opened this issue Apr 8, 2024 · 1 comment

Comments

@zyn810039594
Copy link

Hi!
Is there anyway to read a block of sram that I have previously read but has been overwritten by another host(like a dma)? I use the Axi4 interface so there's not any cache coherency solution... Maybe there's someway to flush the cache?

@Dolu1990
Copy link
Member

Dolu1990 commented Apr 9, 2024

Hi,

They way that this is implemented in litex (for instance), is that there is an AXI to tilelink bridge which then goes toward the L2 cache.

val bridge = new Axi4ToTilelinkFiber(64, 4)

So all the axi trafic has to go through l2.

The main issue is that converting Axi to Tilelink is tricky / bottlneck, as AXI ordering need to be preserved for similar ID, while tilelink is fully out of order.
So it all depend how much efficiency / bandwidth / bridge implemention / axi ordering requirements you have

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