US 12,373,364 B2
Asynchronous FIFO read/write control method and system, and electronic device
Wei Liu, Shandong (CN); Shengcai Lu, Shandong (CN); and Hongliang Wang, Shandong (CN)
Assigned to IEIT SYSTEMS CO., LTD., Shandong (CN)
Appl. No. 18/878,995
Filed by IEIT SYSTEMS CO., LTD., Shandong (CN)
PCT Filed Apr. 3, 2023, PCT No. PCT/CN2023/085935
§ 371(c)(1), (2) Date Dec. 26, 2024,
PCT Pub. No. WO2024/077890, PCT Pub. Date Apr. 18, 2024.
Claims priority of application No. 202211244073.6 (CN), filed on Oct. 12, 2022.
Prior Publication US 2025/0165412 A1, May 22, 2025
Int. Cl. G06F 13/16 (2006.01); G06F 13/40 (2006.01)
CPC G06F 13/1689 (2013.01) [G06F 13/1642 (2013.01); G06F 13/4027 (2013.01)] 19 Claims
OG exemplary drawing
 
1. An asynchronous FIFO read/write control method, applied to a processor having a front-end interface and a back-end interface, the method comprising:
parsing data received by the front-end interface to obtain a data packet length and valid video data;
determining an almost empty threshold of a first First Input First Output (FIFO) queue and a second FIFO queue according to the data packet length, and writing the valid video data into the first FIFO queue and the second FIFO queue in a ping-pong manner;
determining a minimum time interval of FIFO readings according to a sending time sequence of the back-end interface; and
reading data from the first FIFO queue and the second FIFO queue in the ping-pong manner according to the almost empty threshold and the minimum time interval, so as to output the read data through the back-end interface;
wherein determining the minimum time interval of FIFO readings according to the sending time sequence of the back-end interface comprises:
querying the sending time sequence of the back-end interface; wherein the sending time sequence comprises a time sequence of sending data; and
calculating the minimum time interval between two FIFO readings according to the sending time sequence;
wherein the minimum time interval between two FIFO readings comprises a minimum time interval for reading data from the first FIFO queue and the second FIFO queue in the ping-pong manner.