Method for storing a plurality of data in SDRAM
A data and data block technology, applied in the field of data storage, can solve the problems of limited SDRAM access bandwidth, high data storage efficiency, low efficiency, etc., and achieve the effect of saving reading time, improving system performance, and improving access bandwidth
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2015-04-01
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The present invention relates to a method for storing data in SDRAM, especially a method for storing several picture data therein. Background technique
[0002] With the development and wide application of information technology, the use of SDRAM for data storage and reading is becoming more and more widespread.
[0003] Such as figure 1 As shown, currently, in the SOC (system on chip) system design where each MASTER has a relatively high probability of concurrent access to multiple blocks of data packets with similar offsets, there is no requirement for the storage location of the stored data in SDRAM . Such as figure 2 As shown, the storage method of these data in SDRAM is sequential storage, that is, after one data is stored, the next data is stored until all the data are stored. Assuming that the burst length of the data read is 4word, then the data read method please refer to image 3 shown. Since the way data is stored does not correspond ...
Examples
Embodiment Construction
[0022] see Figure 4 As shown, the method 100 for storing data in SDRAM involved in an embodiment of the present invention includes the following steps of determining to read the length information 110 of the BURST using the data of the SDRAM where the data is stored. Then, the stored data is divided according to the BURST length, so that it includes several data blocks 120 with the size of the BURST length, and finally each data is interleavedly stored in the SDRAM 130 .
[0023] Wherein, in SDRAM, it is composed of several storage arrays (banks), and each bank is composed of several storage units (pages). It reads the data stored therein usually in BURST mode (BURST MODE). The number of banks included in different SDRAMs is different, and the BURST length (BURST LENGTH) of the read data is also different, which can be 1, 2, 4 or 8 words.
[0024] Therefore, after the selected SDRAM is determined, the data block division of each data can be carried out, so that the size of ...