Asynchronous RAM read-write method and device, terminal equipment and readable storage medium
A read-write method and asynchronous technology, applied in the field of memory, can solve the problems of RAM data read-write conflict, affecting the effective writing and reading of RAM data, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] An example of this application, such as figure 1 As shown, the first asynchronous RAM read and write method proposed includes the following steps:
[0059] S100: Obtain the read address at the current time in the read time domain and the write address at the current time in the write time domain.
[0060] The read and write address of RAM can be based on figure 2 The shown asynchronous RAM storage matrix shows that X0~Xn can be used to represent row selection lines, Y0~Yn can be used to represent column selection lines, and X0~Xn and Y0~Yn can be used to represent read addresses and write addresses.
[0061] Exemplarily, if the address is 00010001, it means address "1" corresponding to the intersection of row X0 and row Y0, and if the address is 00010011, it means address "3" corresponding to the intersection of row X0 and row Y2.
[0062] S200: Synchronize the read address at the current moment and the write address at the current moment on the same time domain.
...
Embodiment 2
[0076] An example of this application, such as Figure 5 As shown, a second asynchronous RAM reading and writing method is proposed, which also includes the following steps after step S200:
[0077] S320: In the same time domain, if 0 ≤ the write address at the current moment - the read address at the current moment, and the write full mark of the asynchronous RAM indicates that it is full, then suspend the write operation of the asynchronous RAM and keep the asynchronous RAM The read operation is normal.
[0078] If 0≤the write address at the current moment-the read address at the current moment, and the full mark of the asynchronous RAM indicates that it is full, such as Figure 6 As shown, the write pointer Wdr is written to the maximum address N of the asynchronous RAM, and after writing the write pointer Wdr one round, write from the minimum address "1" again, and exceed the read pointer Rdr, resulting in the unread data data4 and data5 being Data dataN+4 and dataN+5 co...
Embodiment 3
[0080] An example of this application, such as Figure 7 As shown, a third asynchronous RAM reading and writing method is proposed, which also includes the following steps after step S200:
[0081] S330: In the same time domain, if the second threshold
[0082] If the second threshold Figure 8 As shown, the write pointer Wdr is written to the maximum address N of the asynchronous RAM, that is, the write pointer Wdr completes one round of writing, and writes again from the minimum address "1". And, the write address of the current moment corresponding to the write pointer Wdr minus the read address of the current moment corresponding to the read pointer Rdr is less than or equal to 0, and greater than the second...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com