A method and device for processing read and write scheduling of decomposable data

By adopting a read-write scheduling processing method that can decompose data in the fast Fourier transform, the data throughput rate is improved, the problem of low data throughput rate in the existing technology is solved, efficient data processing in the 5G system is realized, and the cost of the data is reduced. frequency requirements and support the high data throughput rate of NR systems.

CN113591022BActive Publication Date: 2024-08-30STAR CONNECT (SHANGHAI) SEMICON CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110751875.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-02
Publication Date
2024-08-30
Estimated Expiration
2041-07-02

AI Technical Summary

Technical Problem

The data throughput rate in the fast Fourier transform calculation process in the existing technology is low, and it is difficult to meet the high data throughput rate requirements of the 5G system, especially when the main frequency of the platform is limited.

Method used

Using a read-write scheduling processing method that can decompose data, the input data is combined with the data in the buffer to perform butterfly operations, and the data is temporarily stored in the buffer for the next round of operations. It supports radix2, radix4, radix8, The combination of radix3 and radix5 realizes multi-level cache allocation and pipeline scheduling to ensure the continuous operation of the butterfly computing unit.

Benefits of technology

It improves the data throughput rate in the fast Fourier transform calculation process, is suitable for a variety of fftSize N, reduces the demand for main frequency, reduces power consumption, and realizes parallel computing in frequency-limited scenarios, supporting NR systems. High data throughput rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113591022B
    Figure CN113591022B
Patent Text Reader

Abstract

The present invention discloses a method and device for scheduling the reading and writing of decomposable data in the field of communication systems, aiming to solve the problem of low data throughput in the fast Fourier transform calculation process in the prior art. A method for scheduling the reading and writing of decomposable data comprises: grouping the input data and the data stored in the buffer, and inputting them into a butterfly operation unit for butterfly operation; transmitting part of the data output by the butterfly operation unit to the next level, and storing the remaining data back into the buffer to be combined with the input new data for the next round of butterfly operation. The present invention improves the data throughput in the fast Fourier transform calculation process, and is applicable to a variety of fftSizes, with faster processing speed at the same main frequency, and in addition, realizes parallel calculation in the scenario where the main frequency is limited, effectively improves the calculation speed, effectively supports the high data throughput requirements of the NR system, and also helps to reduce the demand for the main frequency, thereby helping to reduce power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method and device for read-write scheduling processing of decomposable data, belonging to the technical field of communication systems. Background Art

[0002] FFT is an efficient algorithm of DFT, called Fast Fourier Transform, which is widely used in various digital signal processing systems, such as analyzing the spectral characteristics of signals, transform precoding in 5G wireless communication systems, OFDM modulation, PRACH waveform generation, and is also used at the receiving end. It inputs N numbers each time and outputs N numbers after transformation. Here, N is called the number of points of FFT, also denoted as fftSize. For example, the 5G system needs to support all FFTs with N = 12 * RBnum, where 0 < RB <= 273, and in the PRACH module, an FFT with up to N = 48 * 4096 may even be used.

[0003] The 5G system needs to support a very high data throughput rate, so the throughput rate of the FFT module is an important design index. When the platform main frequency is limited, it is necessary to improve the throughput rate through parallel computing or pipeline methods. However, in the existing technology, the data throughput rate is relatively low during the calculation process of the fast Fourier transform. Therefore, we propose a method and device for read-write scheduling processing of decomposable data. Summary of the Invention

[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a method and device for read-write scheduling processing of decomposable data, so as to solve the technical problem of relatively low data throughput rate during the calculation process of the fast Fourier transform in the prior art.

[0005] To achieve the above purpose, the present invention is implemented by the following technical solutions:

[0006] In the first aspect, the present invention provides a method for read-write scheduling processing of decomposable data, including:

[0007] Combining the input data and the data stored in the buffer into a group and inputting them into the butterfly operation unit for butterfly operation;

[0008] Sending part of the data output after the operation of the butterfly operation unit to the next level, and storing the remaining data back into the buffer to be combined with the newly input data for the next round of butterfly operation;

[0009] Wherein, the buffer is a device for temporarily storing data at each level.

[0010] Furthermore, if the output data of the butterfly operation in the buffer is stored to a specified number, the butterfly operation unit suspends the operation; otherwise, the butterfly operation unit continues to perform the operation.

[0011] Furthermore, the butterfly operation unit includes radix2, radix4, radix8, radix3 and radix5.

[0012] In a second aspect, the present invention provides a method for calculating a fast Fourier transform of decomposable data, comprising: inputting data into a buffer, processing the data in the buffer using the read and write scheduling processing method for decomposable data as described in the first aspect, and performing a fast Fourier transform calculation on the processed data.

[0013] In a third aspect, the present invention provides a decomposable data read and write scheduling processing device, including a processor and a storage medium;

[0014] The storage medium is used to store instructions;

[0015] The processor is used to operate according to the instructions to execute the steps of the method according to the first aspect.

[0016] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the steps of the method described in the first aspect.

[0017] Compared with the prior art, the present invention has the following beneficial effects:

[0018] The present invention provides a read and write scheduling processing method for decomposable data, thereby improving the data throughput rate in the fast Fourier transform calculation process, and is generally applicable to a variety of fftSize N, with a faster processing speed at the same main frequency. In addition, parallel computing is realized in the scenario where the main frequency is limited, thereby effectively improving the computing speed, effectively supporting the high data throughput rate requirements of the NR system, and also helping to reduce the requirements for the main frequency, thereby helping to reduce power consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is one of the data read and write scheduling schematic diagrams provided in the first embodiment of the present invention;

[0020] Figure 2 This is the second data read and write scheduling diagram provided in the first embodiment of the present invention. DETAILED DESCRIPTION

[0021] As an FFT algorithm, the Cooley-Turkey algorithm decomposes an FFT with a large N value into a combination of several shorter FFTs. For example, for N = N1N2, the Cooley-Turkey algorithm can decompose it into:

[0022]

[0023] Among them, 0≤n1≤N1-1; 0≤n2≤N2-1; n=N2n1+n2; k=N1k2+k1

[0024] Similarly, if N = N1N2N3, then the Cooley-Turkey algorithm can be decomposed into:

[0025]

[0026] in are the rotation factors, which are usually pre-generated and pre-stored offline in hardware implementation.

[0027] The present invention provides a unified pipeline scheduling algorithm, including a matching buffer allocation method at each level and a buffer read and write scheduling method that can handle the delay of radix (butterfly calculation) modules at each level. It can be applicable to the combination of radix2 / 4 / 8 / 3 / 5 and supports various FFT / FFT pipeline implementations of the current NR system.

[0028] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0029] Embodiment 1:

[0030] A method for processing read and write scheduling of decomposable data, comprising:

[0031] The input data and the data stored in the buffer are grouped together and input into a butterfly operation unit for butterfly operation. The butterfly operation unit includes a variety of basic units, such as radix2, radix4, radix8, radix3 and radix5; after a specified delay, the butterfly operation unit outputs a group of data, and part of the data output by the butterfly operation unit is transmitted to the next level, and the remaining data is stored in the buffer again and combined with the new input data for the next round of butterfly operation. It should be noted that if the output data of the butterfly operation in the buffer is stored to the specified number, the butterfly operation unit will suspend the operation; otherwise, the butterfly operation unit will continue to perform the operation. The system continues to run smoothly according to the above steps. Among them, the buffer is a device for temporarily storing data at each level. This method can also be applied to other combinations of basic butterfly operation units.

[0032] For example, at each level of the Cooley-Turkey algorithm, the buffer capacity allocated is (D2-1)*D3+d. For the specific read and write scheduling method, please refer to Figure 1 :

[0033] ifcnt<(D2-1)D3, x0~x11, these (D2-1)D3 data will enter the buffer (read y first and then write x), and radix will not be started;

[0034] elseifcnt>=(D2-1)D3, extract D2-1 data (interval D3) from the original buffer and make D2 point radix together with the new data;

[0035] During cnt>=(D2-1)D3, the newly arrived D3 x data will not enter the buffer, and p=mod(p+1, D2D3) will be updated every clk, where p is a variable used to control the internal state;

[0036] After d clks, radix done, output N numbers y[0~N-1], of which y[0] is directly passed to the next level, and y[1~N-1] is stored in the buffer again. At this time, cnt=14>=M, and the starting address idc0=cnt-(D2-1)D3=2, where cnt is a data counter for a processing cycle.

[0037] See also Figure 2 ,

[0038] x15x16 is directly stored in the buffer;

[0039] (D2-1)D3 data will enter the buffer;

[0040] During the period when cnt >= (D2 - 1) * D3, the newly arrived D3 x data will not enter the buffer, and p = mod(p + 1) is updated every clk;

[0041] If cnt == D2 * D3, record gPre[i] = g, and then update g, where i represents the i-th level and g is an auxiliary variable used to control the scheduling process;

[0042] When cnt = 13, 14, x13 and x14 do not enter the buffer, and N - 1 old x points are extracted to perform N-point radix;

[0043] After d clks, radix is done, and N numbers y[0 ~ N - 1] are output. Among them, y[0] is directly passed to the next level, and y[1 ~ N - 1] are re-stored in the buffer. At this time, cnt = 0 < M, and the starting storage address idc0 = cnt + D3 = 3.

[0044] Among them, D1, D2, and D3 are control variables of the current level, which are determined according to the decomposition situation of N and the scheduling order; x is the input of this level (also the output of the previous level); y is the output of this level, and radix is the butterfly operation unit.

[0045] Embodiment 2:

[0046] A fast Fourier transform calculation method for decomposable data. When calculating decomposable data using FFT, multi-level calculations need to be performed on the data. First, the allocation space of the buffer is determined in advance for data calculation to support the operation of the pipeline; then, the read-write scheduling processing method for decomposable data in Embodiment 1 is used to process the data in the buffer, and fast Fourier transform calculation is performed on the processed data. Using the above method, when FFT is calculated using the pipeline, one data can be processed per clock, and the throughput rate is high. When the pipeline is continuously running, it is necessary to reasonably arrange the scheduling addresses and orders of the data in the buffer to ensure the continuous operation of the pipeline.

[0047] Embodiment 3:

[0048] The embodiment of the present invention also provides a read-write scheduling processing device for decomposable data, including a processor and a storage medium;

[0049] The storage medium is used to store instructions;

[0050] The processor is used to operate according to the instructions to execute the steps of the following method:

[0051] The input data and the data stored in the buffer are grouped together and input into a butterfly operation unit for butterfly operation, wherein the butterfly operation unit includes radix2, radix4, radix8, radix3 and radix5; part of the data output by the butterfly operation unit is transmitted to the next level, and the remaining data is stored in the buffer again and combined with the new input data for the next round of butterfly operation. It should be noted that if the output data of the butterfly operation in the buffer is stored to the specified number, the butterfly operation unit will suspend the operation; otherwise, the butterfly operation unit will continue to perform the operation.

[0052] Embodiment 4:

[0053] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the following method are implemented:

[0054] The input data and the data stored in the buffer are grouped together and input into a butterfly operation unit for butterfly operation, wherein the butterfly operation unit includes radix2, radix4, radix8, radix3 and radix5; part of the data output by the butterfly operation unit is transmitted to the next level, and the remaining data is stored in the buffer again and combined with the new input data for the next round of butterfly operation. It should be noted that if the output data of the butterfly operation in the buffer is stored to the specified number, the butterfly operation unit will suspend the operation; otherwise, the butterfly operation unit will continue to perform the operation.

[0055] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0056] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0057] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0058] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0059] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing read and write scheduling of decomposable data, characterized in that: include: For D3 data with cnt>=(D2-1)D3, each of the D3 data is grouped with the corresponding D2-1 data with an interval of D3 stored in the buffer, and input into the butterfly operation unit for butterfly operation. cnt represents a data counter of a processing cycle. D2 and D3 are control variables of the current level, which are determined according to the decomposition of N and the scheduling order. The capacity of the buffer is (D2-1)*D3+d, where d represents the operation time required for the butterfly operation corresponding to the current decomposition level. The part of the data output by the butterfly operation unit is sent to the next level, and the remaining data is stored in the buffer again and combined with the new input data for the next round of butterfly operation; Among them, buffer is a device that temporarily stores each level of data; If the output data of the butterfly operation in the buffer is stored to the specified number, the butterfly operation unit will suspend the operation; otherwise, the butterfly operation unit will continue the operation.

2. The method for processing read and write scheduling of decomposable data according to claim 1, characterized in that: The butterfly operation unit includes radix2, radix4, radix8, radix3 and radix5.

3. A fast Fourier transform calculation method for decomposable data, characterized in that: include: The data is input into a buffer, the data in the buffer is processed using the read-write scheduling processing method for decomposable data as described in any one of claims 1-2, and a fast Fourier transform calculation is performed on the processed data.

4. A read-write scheduling processing device capable of decomposing data, characterized in that: including processor and storage medium; The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the steps of the method according to any one of claims 1 to 2.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 2 are implemented.

Citation Information

Patent Citations

  • 3780-point quick Fourier transformation processor of pipelining structure

    CN101136891A

  • Method containing four instructions and supporting fast Fourier transformation operation

    CN101706770A

  • Multiplier multiplexing method in base 2&lt;4&gt; algorithm-based multi-path FFT processor

    CN101937332A

  • FFT processor

    CN106383807A

  • Data processing method based on Fourier transform and related device

    CN111737638A