| CPC G06F 13/1684 (2013.01) [G06F 13/1657 (2013.01); G06F 13/1678 (2013.01)] | 20 Claims |

|
1. A data transfer method, applied to a data transfer device comprising at least one first-stage memory, at least one second-stage memory and at least one third-stage memory which are connected in sequence, the method comprising:
receiving a first input comprising a number of input lanes and/or a number of output lanes;
selecting a corresponding second-stage memory according to the number of input lanes and/or the number of output lanes, and controlling a first read signal and a second read signal according to the number of input lanes and/or the number of output lanes;
storing data of the input lanes through the at least one first-stage memory;
reading data of the at least one first-stage memory and writing the data into the corresponding second-stage memory when the first read signal is enabled; and
reading data of the corresponding second-stage memory and writing the data into the at least one third-stage memory when the second read signal is enabled.
|