Inventor(s)

Abstract

A data transfer between memory interfaces of unequal bus width and latency loses much of the available bandwidth when a central processing unit (CPU) drives the transfer with ordinary load and store instructions.  A secure subsystem often has no hardware direct memory access (DMA) engine.  To address these deficiencies, this disclosure describes a software-emulated direct memory access (SW-DMA) method that maps a destination region as write-back cacheable memory and coalesces narrow stores in a level one (L1) data cache into complete lines.  A cache clean instruction then hands each completed line to a hardware cache controller for a full-width burst.  A sliding window loop overlaps the burst for one block with the loads for a later block, so the SW-DMA method can raise throughput several times over without a dedicated DMA engine.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.

Share

COinS