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

DMA设计调研 #18

Open
meton-robean opened this issue Nov 10, 2019 · 5 comments
Open

DMA设计调研 #18

meton-robean opened this issue Nov 10, 2019 · 5 comments

Comments

@meton-robean
Copy link
Owner

参考资料:
Direct memory access

Repository owner locked and limited conversation to collaborators Nov 10, 2019
@meton-robean
Copy link
Owner Author

meton-robean commented Nov 10, 2019

DMA除了用于CPU内存和外设的数据传输, 还可以更细粒度,例如 PE和核内缓存间的数据传输

DMA is also used for intra-chip data transfer in multi-core processors. Computers that have DMA channels can transfer data to and from devices with much less CPU overhead than computers without DMA channels. Similarly, a processing element inside a multi-core processor can transfer data to and from its local memory without occupying its processor time, allowing computation and data transfer to proceed in parallel.

@meton-robean
Copy link
Owner Author

meton-robean commented Nov 10, 2019

DMA导致CACHE一致性问题

解决方法:

Cache-coherent systems implement a method in hardware whereby external writes are signaled to the cache controller which then performs a cache invalidation for DMA writes or cache flush for DMA reads.

@meton-robean
Copy link
Owner Author

DMA用于PE间的数据传输 例子

Selection_090

@meton-robean
Copy link
Owner Author

meton-robean commented Jan 12, 2020

@meton-robean
Copy link
Owner Author

chisel实现DMA模块

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

No branches or pull requests

1 participant