A communication chip and data processing method

By designing multiple synchronization modules, cache modules and alignment modules in the communication chip, data alignment for multiple rate configuration combinations is achieved, which solves the problem of existing chips being incompatible with multiple protocols and rates, and reduces costs and resource occupation. Increased flexibility and efficiency.

CN114448560BActive Publication Date: 2024-08-27SANECHIPS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011233275.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-06
Publication Date
2024-08-27
Estimated Expiration
2040-11-06

AI Technical Summary

Technical Problem

Existing communication chips are not compatible with multiple protocols and speeds during high-speed data transmission, resulting in inflexible use and increased R&D and usage costs.

Method used

A communication chip is designed, which contains multiple synchronization modules, cache modules and alignment modules. It caches the synchronized data through the first-in-first-out queue FIFO, and realizes data alignment of multiple rate configuration combinations through the alignment module, reducing logical resource occupation and waste.

Benefits of technology

It realizes the data alignment requirements for multiple rate configuration combinations, reduces the occupation and waste of logic resources, optimizes the chip structure, reduces costs, and improves the flexibility and efficiency of communication chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114448560B
    Figure CN114448560B
Patent Text Reader

Abstract

An embodiment of the present application provides a communication chip and a data processing method, wherein the communication chip includes: multiple synchronization modules, a set of cache modules and multiple alignment modules; wherein each of the synchronization modules is configured to receive data of the corresponding channel, synchronize the received data, and store the synchronized data into the cache module; the cache module includes multiple first-in-first-out queues FIFO; the FIFO is configured to cache the synchronized data output by the corresponding synchronization module; at least one alignment module among the multiple alignment modules is configured to align the synchronized data of all channels in the cache module, and merge the aligned data for output.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a communication chip and a data processing method. Background Art

[0002] With the development of 5G communication technology, high-speed, high-quality data transmission has become an important issue that must be considered in chip design. When the required network rate exceeds the carrying capacity of physical devices, multi-channel parallel transmission to achieve high-speed interfaces is the general trend.

[0003] To ensure the quality of data transmission, the physical coding sublayer (PCS) of the communication chip usually selects the RS-Forward Error Correction (RS-FEC) encoding method when transmitting data at high speed. RS-FEC requires the sending side to insert an alignment marker (AM) in the data. After the data is transmitted through the optical fiber or cable, the receiving side looks for the AM in the data stream for data synchronization alignment. Summary of the invention

[0004] The embodiments of the present application provide a communication chip and a data processing method, which can realize the data alignment requirements of various rate configuration combinations, reduce the occupation and waste of logic resources, and achieve structural optimization.

[0005] The embodiment of the present application provides a communication chip, including: a plurality of synchronization modules, a set of cache modules and a plurality of alignment modules;

[0006] Wherein, the synchronization module is configured to receive data of the corresponding channel, synchronize the received data, and store the synchronized data into the cache module;

[0007] The cache module includes a plurality of first-in first-out queues FIFO; the FIFO is configured to cache synchronized data output by the corresponding synchronization module;

[0008] The alignment module is configured to align the synchronized data of the corresponding channels in the cache module, and merge and output the aligned data.

[0009] An embodiment of the present application provides a data processing method, which is applied to the communication chip provided in the present application, and the method includes:

[0010] Receiving data on the corresponding channel through each synchronization module, synchronizing the received data, and storing the synchronized data in the cache module;

[0011] Buffering the synchronized data output by the corresponding synchronization module through each first-in first-out queue FIFO in the cache module;

[0012] The synchronized data of all channels in the cache module are aligned by at least one alignment module among the plurality of alignment modules, and the aligned data are merged and output.

[0013] The technical solution provided by the embodiment of the present application may include multiple synchronization modules, a set of cache modules and multiple alignment modules, wherein a set of cache modules includes multiple FIFOs, and the FIFO cache corresponds to the synchronized data output by the synchronization module. The data synchronized by all channels of at least one FIFO cache in the cache module are aligned and merged for output through at least one alignment module. The data alignment requirements of various rate configuration combinations can be realized through multiple FIFOs, which can reduce the occupation and waste of logic resources and achieve structural optimization. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a schematic diagram of the structure of a communication chip provided in an embodiment of the present application;

[0015] Figure 2 is a flow chart of a data processing method provided in an embodiment of the present application;

[0016] Figure 3 This is a schematic diagram of data flow at a configured rate provided in an embodiment of the present application;

[0017] Figure 4 This is a schematic diagram of data flow at a configured rate provided in an embodiment of the present application;

[0018] Figure 5 This is a schematic diagram of data flow at a configured rate provided in an embodiment of the present application;

[0019] Figure 6 This is a schematic diagram of data flow at a configured rate provided in an embodiment of the present application;

[0020] Figure 7 This is a schematic diagram of data flow at a configured rate provided in an embodiment of the present application; DETAILED DESCRIPTION

[0021] To ensure the quality of data transmission, the physical coding sublayer (PCS) of the communication chip usually selects the Reed-Solomon forward error correction (RS-FEC) encoding method when transmitting data at high speed. RS-FEC requires the sending side to insert the synchronization alignment marker (AM) into the data. After the data is transmitted through the optical fiber or cable, the receiving side looks for the AM in the data stream for data synchronization alignment.

[0022] In the related art, the synchronous alignment method of data received by the communication chip is not compatible with multiple protocols and rates, which makes the use of the communication chip inflexible and greatly increases the research and development and use costs of the communication chip.

[0023] Figure 1 It is a structural schematic diagram of a communication chip provided by the present application, wherein the communication chip provided by the present application includes a physical coding sublayer (Physical Coding Sublayer, PCS) and supports an RS-FEC configuration environment.

[0024] like Figure 1 As shown, the communication chip provided by the present application includes multiple synchronization modules (lsync), a set of cache modules (al_fifo_8) and multiple alignment modules (including align_2, align_4, align_8).

[0025] The synchronization module is configured to receive data from the corresponding channel, synchronize the received data, and store the synchronized data in the cache module; the cache module includes multiple first-in first-out queues FIFO; the FIFO is configured to cache the synchronized data output by the corresponding synchronization module; the alignment module is configured to align the synchronized data of the corresponding channel in the cache module, and merge the aligned data for output. The merged output refers to the merged output.

[0026] In an exemplary manner, the number of synchronization modules is 8, the number of alignment modules is 7, and the number of FIFOs is 8. Figure 1 As shown, the cache module (al_fifo_8) may include 8 FIFOs, namely FIFO_0, FIFO_1, FIFO_2, FIFO_3, FIFO_4, FIFO_5, FIFO_6, and FIFO_7. The synchronized data output by the multiple synchronization modules are sequentially cached in the FIFOs, and the synchronization modules and FIFOs may correspond one to one.

[0027] It should be noted that the number of synchronization modules and the number of FIFOs can be the same, the number of synchronization modules and the number of FIFOs can also be other numbers, which can be set according to actual needs, and the number of alignment modules can also be other numbers.

[0028] In an exemplary manner, the data output rates of the multiple alignment modules are not completely the same. Specifically, the sizes of the output data supported by the multiple alignment modules are not completely the same, or the supported data of the multiple alignment modules are not completely the same.

[0029] In an exemplary manner, the plurality of alignment modules include four first alignment modules (align_2), two second alignment modules (align_4) and one third alignment module (align_8);

[0030] The first alignment module is configured to align the synchronized data of the two channels in the two FIFO corresponding buffers, and merge and output the synchronized data of the two channels;

[0031] The second alignment module is configured to align the synchronized data of the four channels in the four FIFO corresponding buffers, and merge and output the synchronized data of the four channels;

[0032] The third alignment module is configured to align the synchronized data of the eight channels cached by the eight FIFOs, and merge and output the synchronized data of the eight channels.

[0033] Specifically, Figure 1 As shown, the synchronization module (lsync) can be a single-channel synchronization module, which can be a synchronization state machine for a channel (lane) that completes a forward error correction FEC mode, and supports all Ethernet rates. The first alignment module (align_2) can be an alignment module for two channel data, which can be an alignment state machine with a completion rate of 50GE (gigabit Ethernet), and 2 FEClanes, which can complete the merging function of data types (symbol) on 2 FEC lanes. The second alignment module (align_4) can be an alignment module for four channel data, which can be an alignment state machine with a completion rate of 100GE, and 4 FEC lanes, which can complete the merging function of symbols on 4 FEC lanes. The third alignment module (align_8) can be an alignment module for 8 channel data, which can be an alignment state machine with a completion rate of 200GE, and 8 FEC lanes, which can complete the merging function of symbols on 8 FEC lanes.

[0034] In the embodiment of the present application, the data source may be the output data after RS-FEC encoding from the PCS transmitting side, and the data has been divided into N paths (which may be 1-8) according to different FCE lanes, that is, data on N channels. If the data transmission rate is 25GE, it includes data from 1 FEC lane; if the data transmission rate is 50GE, it includes data from 2 FEC lanes; if the data transmission size is 100GE, it includes data from 4 FEC lanes; if the data transmission rate is 200GE, it includes data from 8 FEC lanes.

[0035] The process of data processing by the communication chip provided in this application is as follows:

[0036] like Figure 1 As shown, the synchronization module performs data synchronization: the data on the N input channels, that is, the N input data, passes through the corresponding synchronization module, and completes the single FEC lane synchronization process of the N data. The specific synchronization process is to use the alignment marker (AM) generated at a fixed period in the PCS protocol during transmission and carried in the PCS processing data stream, query the alignment marker in the data, remove the data before the alignment marker, and use the alignment marker as the boundary of the transmitted data. For details, please refer to the relevant technology, and for details, please refer to IEEE 802.3-2018 clause82, 91, 108, 119, 134 and other chapters. After the synchronization module synchronizes the data of the corresponding channel, it outputs the synchronization signal (carrying the synchronization status information) and the channel identifier (FEC lane number) to the alignment module corresponding to the configuration rate, and gives the synchronized data to the cache module.

[0037] Cache module de-skew: The cache module includes 8 FIFOs, and the data of N (can be 8) FEC lanes after synchronization is directly written into the corresponding FIFO. The read and clear operations in each FIFO can be controlled by the downstream alignment module (first alignment module, second alignment module or third alignment module).

[0038] The alignment module performs data alignment: according to the configured rate of the port, the first alignment module (align_2), the second alignment module (align_4) or the third alignment module (align_8) realizes the alignment of multiple FEC lane data by controlling the upstream FIFO read and clear operations. Specifically, when the N FIFOs in the cache module have cached the synchronized data of all channels corresponding to the configured rate, a notification message is sent to the alignment module, the alignment module receives the notification message and the corresponding synchronization status information, and reads the synchronized data in the N FIFOs at the same time to realize data alignment, and outputs the data after sorting according to the channel identifier. Among them, the first alignment module (align_2) completes the data alignment with a rate of 50GE, the second alignment module (align_4) completes the data alignment with a rate of 100GE, and the third alignment module (align_8) completes the data alignment with a rate of 200GE. Among them, the configured rate of the port can be understood as the supported rate of the port configuration.

[0039] It should be noted that the communication chip provided in this application is not limited to Figure 1 In the structural form shown, the number of synchronization modules, FIFOs in the cache module, and the number of alignment modules can be adjusted according to actual needs.

[0040] The communication chip provided in the present application can complete the synchronization and alignment operations of data from the physical media adaptation layer (Physical Media Attachment, PMA), can support multiple rate configuration methods, can support the configuration and combination of multiple rates of the external network and CPRI, thereby presenting a configuration method of multiple port support rates, for example, it can support 4 25GE rates, or 4 50GE rates, or support 4 Common Public Radio Interface (CPRI) ports, or support 2 100GE rate ports, or support 1 rate 100GE and 2 25GE / 50GE / CPRI ports, or support 1 rate 200GE port.

[0041] The communication chip provided by the present application may include multiple synchronization modules, a set of cache modules and multiple alignment modules, wherein a set of cache modules includes multiple FIFOs, and the FIFO cache corresponds to the synchronized data output by the synchronization module. At least one alignment module is used to align the data synchronized by all channels of at least one FIFO cached in the cache module, and the data can be merged and output. The data alignment requirements of various rate configuration combinations can be achieved through multiple FIFOs, which can reduce the occupation and waste of logic resources and achieve structural optimization. In one embodiment, the cache module includes 8 FIFOs, and the data alignment requirements of various rate configuration combinations are achieved through 8 FIFOs. If the communication chip provided by the present application is not applicable, 24 FIFOs are required to achieve the same function, thereby reducing the occupation and waste of logic resources, optimizing the chip, and reducing costs.

[0042] Figure 2 A data processing method provided in an embodiment of the present application is applied to a communication chip provided in the present application, and the chip may be a chip including a PCS, such as Figure 2 As shown, the technical solution provided by the embodiment of the present application includes:

[0043] S210: receiving data on a corresponding channel through a synchronization module, synchronizing the received data, and storing the synchronized data into a cache module.

[0044] S220: Buffering the synchronized data outputted by the corresponding synchronization module through each first-in first-out queue FIFO in the cache module.

[0045] S230: aligning the synchronized data of all channels in the cache module through at least one alignment module among the plurality of alignment modules, and merging and outputting the aligned data.

[0046] The specific data communication method may refer to the method of communicating through a communication chip.

[0047] In an exemplary manner, the rates of the data of the plurality of alignment modules are not completely the same.

[0048] In an exemplary manner, the number of the synchronization modules is 8, the number of the alignment modules is 7, and the number of the FIFOs is 8.

[0049] In an exemplary manner, the method further includes: sending the synchronization status information and the channel identifier to the alignment module corresponding to the configuration rate through the synchronization module; sending a notification message to the alignment module corresponding to the configuration rate when the cache module caches the data synchronized with all channels corresponding to the configuration rate;

[0050] The method of aligning the synchronized data of all channels in the cache module and merging and outputting the aligned data includes: upon receiving the synchronization status information and the notification message, reading the synchronized data of the corresponding channel of the FIFO cache in the cache module, and arranging and outputting the read data based on the channel identifier.

[0051] Among them, the data on each channel can be sent simultaneously by the PCS sending side. Since the physical medium that may be passed through during the data transmission of each channel is not the same, there will be a delay in the data reception on some channels. In order to achieve data alignment of each channel, the synchronization module synchronizes the data of the corresponding channel and caches it in the corresponding FIFO in the cache module. When the synchronized data of all channels are cached in the corresponding FIFO, the alignment module reads the data in the non-empty FIFO at the same time to achieve data alignment.

[0052] Specifically, when the alignment module receives the synchronization status information, it can be determined that the received data has been synchronized. When the alignment module receives the notification message, it can be determined that the cache module has cached the synchronized data of all channels corresponding to the configured speed. Therefore, when the alignment module receives the synchronization status information and the notification message, it reads the non-empty FIFO in the cache module at the same time to align all channel data and arrange the read data according to the channel identifier, so that the output data is output in the order in which the data is sent.

[0053] In an exemplary embodiment, it also includes: when the time skew between the data after synchronization of each two channels exceeds a set range, the FIFO in the cache module is cleared through the alignment module, and the data on the corresponding channel is received through each synchronization module, and the received data is synchronized, and the synchronized data is stored in the cache module.

[0054] The time skew may refer to the interval between times, and the setting range may be set according to the actual situation. When the time skew between the data after synchronization of each two channels exceeds the setting range, the FIFO overflows and the data alignment fails. It is necessary to reset the non-empty FIFO and restart the synchronization alignment process.

[0055] Among them, in the embodiments of the present application, the specific data processing method can refer to the method of processing through a communication chip.

[0056] like Figure 1 As shown, the synchronization module performs data synchronization: the data on the N input channels, that is, the N input data, passes through the corresponding synchronization module, and completes the single FEC lane synchronization process of the N data. The specific synchronization process is to use the alignment marker (AM) generated at a fixed period in the PCS protocol during transmission and carried in the PCS processing data stream, query the alignment marker in the data, remove the data before the alignment marker, and use the alignment marker as the boundary of the transmitted data. For details, please refer to the relevant technology, and for details, please refer to IEEE 802.3-2018 clause82, 91, 108, 119, 134 and other chapters. After the synchronization module synchronizes the data of the corresponding channel, it outputs the synchronization signal (carrying the synchronization status information) and the channel identifier (FEC lane number) to the alignment module corresponding to the configuration rate, and gives the synchronized data to the cache module.

[0057] Cache module de-skew: The cache module includes 8 FIFOs, and the data of N (can be 8) FEC lanes after synchronization is directly written into the corresponding FIFO. The read and clear operations in each FIFO can be controlled by the downstream alignment module (first alignment module, second alignment module or third alignment module).

[0058] The alignment module performs data alignment: according to the configured rate of the port, the first alignment module (align_2), the second alignment module (align_4) or the third alignment module (align_8) realizes the alignment of multiple FEC lane data by controlling the upstream FIFO read and clear operations. Specifically, when the N FIFOs in the cache module have cached the synchronized data of all channels corresponding to the configured rate, a notification message is sent to the alignment module, the alignment module receives the notification message and the corresponding synchronization status information, and reads the synchronized data in the N FIFOs at the same time to realize data alignment, and outputs the data after sorting according to the channel identifier. Among them, the first alignment module (align_2) completes the data alignment with a rate of 50GE, the second alignment module (align_4) completes the data alignment with a rate of 100GE, and the third alignment module (align_8) completes the data alignment with a rate of 200GE. Among them, the configured rate of the port can be understood as the supported rate of the port configuration.

[0059] Among them, Figure 1 As shown, taking the third alignment module (align_8) as an example, the specific operations of data alignment are as follows:

[0060] Step 1: After reset, the third alignment module (align_8) clears the 8 FIFOs in the cache module (al_fifo_8);

[0061] Step 2: When a channel (the number is less than 8) is synchronized, the corresponding FIFO is only written but not read;

[0062] Step 3: When all 8 channels are synchronized and all 8 FIFOs are not empty, the cache module (al_fifo_8) starts to read the synchronized data in the 8 FIFOs simultaneously, and the first data read is AM;

[0063] Step 4: When any FIFO overflows, it means that the time skew between channels exceeds the allowable range and the alignment fails. At this time, the third alignment module (align_8) resets all 8 FIFOs and restarts the synchronous alignment process.

[0064] Step 5: After alignment is successful, rearrange the 8-way input data in order according to the FEC lane number given by the synchronization module and then output it.

[0065] Among them, the alignment process of the first alignment module (align_2) and the second alignment module (align_4) is similar to that of the third alignment module (align_8). The difference is that the first alignment module (align_2) inputs data from the corresponding two FIFOs and controls the read and clear operations of the two FIFOs, and the second alignment module (align_4) inputs data from the corresponding four FIFOs and controls the read and clear operations of the four FIFOs.

[0066] In an exemplary manner, when the configuration rate is the data rate of a channel, each synchronization module receives data on the corresponding channel, synchronizes the received data, and sends the synchronized data to the downstream receiving side. Specifically, Figure 3 As shown in the figure, the data rate of a channel is 25GE, and the configuration rate includes 4 25GE; 4 synchronization modules receive data on 4 channels respectively, synchronize the received data, and send the synchronized data to the downstream receiving side, that is, the synchronized data does not pass through the cache module and the alignment module. The reason is that: since the configuration rate is the same as the data rate of a channel, there is no need to merge and output the synchronized data of at least two channels, so the data output by the synchronization module can be directly sent to the downstream receiving side.

[0067] In an exemplary manner, when the configuration rate is the sum of the data rates of the two channels, and the plurality of alignment modules receive data on 8 channels respectively,

[0068] Aligning the synchronized data of all channels in the cache module through at least one alignment module among the plurality of alignment modules, and merging and outputting the aligned data, including:

[0069] Through four first alignment modules, the synchronized data of the eight channels cached by the eight FIFOs in the cache module are aligned, and the aligned data are merged and output; wherein each first alignment module is configured to align the synchronized data of the two channels cached by the two FIFOs in the cache module, and merge the synchronized data of the two channels and output them.

[0070] Specifically, Figure 4As shown, the data rate of a channel is 25GE, and the configured rates include: 4 50GE, receiving data on 8 channels through 8 synchronization modules (lsync), synchronizing the received data, and caching the synchronized data in the corresponding 8 FIFOs; aligning the synchronized data cached in the 8 FIFOs through 4 first alignment modules (align_2), and merging the aligned data for output, wherein each first alignment module (align_2) aligns the synchronized data cached in 2 FIFOs, and merges the output.

[0071] In an exemplary embodiment, when the configuration rate is the sum of the data rates of 4 channels and the plurality of alignment modules receive data on 8 channels, the data synchronized by all channels in the cache module are aligned by at least one alignment module among the plurality of alignment modules, and the aligned data are merged and output, including:

[0072] Through two second alignment modules, the synchronized data of 8 channels cached by 8 FIFOs in the cache module are aligned, and the aligned data are merged and output; wherein each second alignment module is configured to align the synchronized data of 4 channels cached by 4 FIFOs in the cache module, and merge the synchronized data of the 4 channels and output them.

[0073] Specifically, Figure 5 As shown, the data rate of one channel is 25GE, and the configuration rate includes 2 100GE. Data on 8 channels are received correspondingly through 8 synchronization modules (lsync), and the received data is synchronized, and the synchronized data is cached in the corresponding 8 FIFOs; the synchronized data of 8 channels cached in 8 FIFOs are aligned through 2 second alignment modules (align_4), and the aligned data are merged and output, wherein each second alignment module (align_4) aligns the synchronized data of 2 channels cached in 4 FIFOs, and merges and outputs them.

[0074] In an exemplary embodiment, when the configuration rate includes the sum of the data rates of the four channels and the data rates of the two channels, and the plurality of alignment modules receive data on the eight channels,

[0075] The synchronized data of all channels in the cache module are aligned through at least one alignment module among the multiple alignment modules, and the aligned data are merged and output, including: aligning the synchronized data of 4 channels cached by 4 FIFOs in the cache module through a second alignment module, aligning the synchronized data of 4 channels cached by the other 4 FIFOs in the cache module through two first alignment modules, and merging the synchronized data and outputting them.

[0076] Specifically, Figure 6 As shown, the data rate of one channel is 25GE, and the configured rates include 1 100GE and 2 50GE. Data on 8 channels are received correspondingly through 8 synchronization modules (lsync), and the received data is synchronized, and the synchronized data is cached in the corresponding 8 FIFOs; the synchronized data of 4 channels cached in 4 FIFOs are aligned through 1 second alignment module (align_4), and the synchronized data of 4 channels in 4 FIFOs are merged and output, and at the same time, the synchronized data of 4 channels cached in other 4 FIFOs are aligned through 2 first alignment modules (align_2), and the synchronized data of 4 channels in other 4 FIFOs are merged and output.

[0077] In an exemplary embodiment, when the configured transmission rate is the sum of the transmission rates of 8 channels and the plurality of alignment modules receive data on the 8 channels, the data synchronized by all channels in the cache module are aligned by at least one alignment module among the plurality of alignment modules, and the aligned data are merged and output, including:

[0078] Through a third alignment module, the synchronized data of 8 channels cached by 8 FIFOs corresponding to the cache module are aligned, and the synchronized data of the 8 channels are merged and output; wherein the third alignment module is configured to align the synchronized data of 8 channels cached by 8 FIFOs corresponding to the cache module, and merge the synchronized data of the 8 channels and output.

[0079] Specifically, Figure 7 As shown, the data rate of one channel is 25GE, and the configuration rate includes 1 200GE. Data on 8 channels are received correspondingly through 8 synchronization modules (lsync), and the received data is synchronized and cached in the corresponding 8 FIFOs. The synchronized data of 8 channels cached in 8 FIFOs are aligned through 1 third alignment module (align_8), and the synchronized data of 8 channels cached in 8 FIFOs are merged and output.

[0080] It should be noted that Figure 1 , Figure 2-Figure 7 In the figure, the direction of the arrow is the direction of data flow. Figure 2-Figure 7 In the figure, the direction of the curve with arrows is the actual data flow under different configuration rates.

[0081] The technical solution provided in the present application can support the configuration and combination of multiple Ethernet rates. The communication chip only includes one set of cache modules, wherein the cache module can include 8 FIFOs. During the data processing process, the communication chip can be flexibly configured and used, and circuit logic resources can be saved, thereby reducing the area and power consumption of the communication chip.

Claims

1. A communication chip, It is characterized in that include: Multiple synchronization modules, a set of cache modules, and multiple alignment modules; Wherein, the synchronization module is configured to receive data of the corresponding channel, synchronize the received data, and store the synchronized data into the cache module; The cache module includes a plurality of first-in first-out queues FIFO; the FIFO is configured to cache synchronized data output by the corresponding synchronization module; The alignment module is configured to align the synchronized data of the corresponding channels in the cache module, and merge and output the aligned data; The number of the synchronization modules is 8, the number of the alignment modules is 7, the number of the FIFOs is 8, and the multiple alignment modules include 4 first alignment modules, 2 second alignment modules and 1 third alignment module; The first alignment module is configured to align the synchronized data of the two channels in the two FIFO corresponding buffers, and merge and output the synchronized data of the two channels; The second alignment module is configured to align the synchronized data of the four channels in the four FIFO corresponding buffers, and merge and output the synchronized data of the four channels; The third alignment module is configured to align the synchronized data of the eight channels cached by the eight FIFOs, and merge and output the synchronized data of the eight channels.

2. The communication chip according to claim 1, It is characterized in that The output data rates of multiple alignment modules are not exactly the same.

3. A data processing method, It is characterized in that The method is applied to the communication chip according to any one of claims 1 to 2, and the method comprises: The synchronization module receives data on the corresponding channel, synchronizes the received data, and stores the synchronized data in the cache module; Buffering the synchronized data output by the corresponding synchronization module through each first-in first-out queue FIFO in the cache module; Aligning the synchronized data of all channels in the cache module through at least one alignment module among the plurality of alignment modules, and merging and outputting the aligned data; When the configuration rate is the sum of the data rates of the two channels, and multiple alignment modules receive data on 8 channels respectively, Aligning the synchronized data of all channels in the cache module through at least one alignment module among the plurality of alignment modules, and merging and outputting the aligned data, including: The synchronized data of the eight channels corresponding to the eight FIFOs in the cache module are aligned through four first alignment modules, and the aligned data are merged and output; Each first alignment module is configured to align the synchronized data of two channels cached in two FIFOs in the cache module, and merge and output the synchronized data of the two channels.

4. The method according to claim 3, It is characterized in that The method further comprises: The synchronization module sends the synchronization status information and the channel identifier to the alignment module corresponding to the configuration rate; In the case where the cache module caches data synchronized with all channels corresponding to the configured rate, sending a notification message to an alignment module corresponding to the configured rate; The step of aligning the synchronized data of all channels in the cache module and merging and outputting the aligned data comprises: When the synchronization status information and the notification message are received, the synchronized data of the corresponding channel in the FIFO buffer in the buffer module is read, and the read data is arranged and output based on the channel identifier.

5. The method according to claim 3, It is characterized in that When the configuration rate is the data rate of one channel, the data on the corresponding channel is received by each synchronization module, the received data is synchronized, and the synchronized data is sent to the downstream receiving side.

6. The method according to claim 3 or 4, It is characterized in that When the configuration rate is the sum of the data rates of the four channels and multiple alignment modules receive data on eight channels, Aligning the synchronized data of all channels in the cache module through at least one alignment module among the plurality of alignment modules, and merging and outputting the aligned data, including: The synchronized data of the eight channels of the eight FIFOs corresponding to the cache in the cache module are aligned through two second alignment modules, and the aligned data are merged and output; Each second alignment module is configured to align the synchronized data of the four channels cached by the four FIFOs in the cache module, and merge and output the synchronized data of the four channels.

7. The method according to claim 3 or 4, It is characterized in that When the configured transmission rate is the sum of the transmission rates of the 8 channels and multiple alignment modules receive data on the 8 channels, Aligning the synchronized data of all channels in the cache module through at least one alignment module among the plurality of alignment modules, and merging and outputting the aligned data, including: The synchronized data of 8 channels in the 8 FIFOs corresponding to the cache in the cache module are aligned by a third alignment module, and the synchronized data of the 8 channels are merged and output; The third alignment module is configured to align the synchronized data of the eight channels cached by the eight FIFOs in the cache module, and merge and output the synchronized data of the eight channels.

8. The method according to claim 3 or 4, It is characterized in that In the case where the configuration rate includes the sum of the data rates of the four lanes and the data rates of the two lanes, and multiple alignment modules receive data on eight lanes, Aligning the synchronized data of all channels in the cache module through at least one alignment module among the plurality of alignment modules, and merging and outputting the aligned data, including: Through a second alignment module, the synchronized data of the four channels of the four FIFOs corresponding to the cache in the cache module are aligned, and through two first alignment modules, the synchronized data of the four channels of the other four FIFOs corresponding to the cache in the cache module are aligned, and the synchronized data are merged and output.

9. The method according to claim 3 or 4, It is characterized in that Also includes: When the time skew between the data after synchronization of every two channels exceeds the set range, the FIFO in the cache module is cleared through the alignment module, and the data on the corresponding channel is received through each synchronization module, and the received data is synchronized and stored in the cache module.