| CPC G06F 13/1668 (2013.01) [G06F 5/14 (2013.01); G06F 13/1621 (2013.01)] | 20 Claims |

|
1. A method for generating information based on a FIFO memory, comprising:
acquiring a read address and a write address of a current FIFO memory;
acquiring a read data enable signal value and a write data enable signal value of the current FIFO memory;
determining a write credit score and a read credit score of the FIFO memory by a total capacity of the FIFO memory, and the read address, the write address, the read data enable signal value and the write data enable signal value; wherein the write credit score represents the number of data sets that can be written into the FIFO memory normally; and the read credit score represents the number of data sets that can be read from the FIFO memory normally; and
sending the write credit score and the read credit score to a preceding-stage device, so that the preceding-stage device reads and writes data according to the write credit score and the read credit score.
|