DMA Memory Shifting with Priority Writes for Overlap Integrity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data shifting methods within memory face issues of data corruption when source and destination areas overlap, leading to unnecessary consumption of additional bandwidth in separate memory devices.
Innovation Solution
A method and system that utilizes a DMA controller to determine the priority of data items based on source and destination addresses, generating sequential write requests to prevent data corruption by ensuring data items are stored in the destination area according to their priority, allowing parallel read and write operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data is shifted within memory using conventional methods, then data corruption occurs when source and destination areas overlap, but using a separate memory device consumes additional bandwidth unnecessarily
Solution Approach 1:
The target data is divided into multiple data items, and write requests are generated and transmitted sequentially according to determined priority. This segmentation allows the system to process data in controlled portions, preventing corruption while staying within the same memory device.
Solution Approach 2:
The system determines priority of each data item based on source and destination addresses before generating write requests. This preliminary prioritization ensures that data items are written in the correct sequence, preventing corruption proactively rather than reactively.
2Productivity
If data items are processed in parallel during memory shifting, then processing efficiency increases, but data corruption risk increases when source and destination areas overlap
Solution Approach 1:
The system dynamically adjusts the processing approach based on address analysis. By determining priority based on source and destination addresses, the system can process data items in an optimized sequence that maintains integrity while maximizing throughput, adapting the processing order to the specific memory layout.
Solution Approach 2:
The system uses address information as feedback to determine priority and control the sequence of write requests. This feedback mechanism ensures that data items are processed in the correct order based on their memory locations, preventing corruption while maintaining efficient processing.
Data Source
AI summary
Provided is a method for shifting data within a memory, which is performed by a direct memory access (DMA) controller, and which includes receiving a task associated with an operation of shifting target data stored in a first area of a memory connected to the DMA controller to a second area of the memory, receiving the target data from the memory, determining a priority of each of a plurality of data items divided from the target data based on an address of the first area and an address of the second area, generating a plurality of write requests corresponding to the plurality of data items, and transmitting the plurality of generated write requests sequentially to a memory controller associated with the memory, so that the plurality of data items are stored in the second area in sequence according to the determined priority.


