Data writing method, data reading method and first-in first-out memory
A first-in-first-out, data writing technology, applied in the input/output process of data processing, data transformation, electrical digital data processing and other directions, can solve the problems of increasing chip area, different data, waste of resources, etc. The effect of chip area, resource saving and quantity reduction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] figure 1 It is a schematic flowchart of a data writing method provided by an embodiment of the present disclosure. Such as figure 1 As shown, the method includes:
[0053] S101. Determine the target number of write interfaces to be enabled according to the working mode of the FIFO memory;
[0054] Specifically, the FIFO memory receives raw data in different data formats in different application scenarios, and each application scenario corresponds to a different working mode, and the number of write interfaces enabled in each working mode is different.
[0055]S102. Split the original data to be written into a target number of sub-data according to the reference bit width of the FIFO memory;
[0056] During specific implementation, the reference bit width of the FIFO memory is fixed, the depth of the FIFO memory is also fixed, and the reference bit width of the write interface and the FIFO memory is also consistent. After receiving the original data to be written, th...
Embodiment 2
[0091] Figure 4 It is a schematic flowchart of a data readout method provided by an embodiment of the present disclosure. Such as image 3 As shown, the method includes:
[0092] S401. Determine the target number of readout interfaces to be enabled according to the working mode of the FIFO memory;
[0093] Specifically, the FIFO memory can read raw data in different data formats in different application scenarios, each application scenario corresponds to a different working mode, and the number of readout interfaces enabled in each working mode is different.
[0094] S402. Read out a target number of sub-data from the first-in-first-out memory through a target number of read interfaces;
[0095] During specific implementation, in order to ensure that the read data is the same as the original data, it is necessary to read the sub-data to be read from multiple read interfaces at the same time. The number of enabled read interfaces is the same as the number of sub-data to be...
Embodiment 3
[0115] The embodiment of the present disclosure also discloses a first-in first-out memory, the bit width of the first-in first-out memory is a reference bit width;
[0116] The first-in-first-out memory includes multiple write interfaces and multiple read interfaces;
[0117] The first-in-first-out memory includes a plurality of working modes, and the working modes are used to determine the target number of writing interfaces or reading interfaces to be enabled.
[0118] To sum up, the FIFO memory provided by the embodiments of the present disclosure determines the number of write interfaces or read interfaces that need to be enabled by judging the working mode of the FIFO memory, and splits the data into data with the same format as the interface. The data size is written to or read from FIFO memory. Through the above solution, the present disclosure realizes the multiplexing of FIFO memory, which can meet the needs of different application scenarios, reduces the number of ...
PUM
Property | Measurement | Unit |
---|---|---|
Bit width | aaaaa | aaaaa |
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