Serial-to-parallel transceiver multi-channel connector and serial-to-parallel transceiver multi-channel connection chip
By designing data transmission and reception modules in a serial-parallel transceiver, using cross-switch matrix, cross-clock domain FIFO components and variable speed components, the flexible configuration of serial-parallel transceiver and processing unit channels is realized, and the connection method in the prior art is solved The problems of low flexibility and high cost improve system fault tolerance and diversity of test paths, and meet the needs of delay-sensitive applications.
Patent Information
- Application Number
- CN202410725481.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-06-06
AI Technical Summary
The existing serial-parallel transceiver channel and processing unit connection method are low, resulting in poor system fault tolerance, low testing convenience, large data exchange delay, and inability to meet the needs of delay-sensitive application scenarios. The high-speed serial-parallel transceiver price is high , making it difficult to control the total cost of chips and systems.
A multi-channel connector for serial-parallel transceiver is designed, including a data sending module and a data receiving module. It adopts a cross-switch matrix, a cross-clock domain FIFO component and a variable speed component to realize the flexibility of the data channel between serial-parallel transceiver and the processing unit. Configuration and management reduce the need for the number of serial and parallel transceiver channels, improve the fault tolerance of hardware design and the diversity of test paths.
It realizes flexible configuration between the serial-parallel transceiver channel and the processing unit channel, reduces the chip or system's demand for the total number of serial-parallel transceiver channels, reduces costs, and improves the fault tolerance of hardware design and the diversity of test paths. Meets the needs of delay-sensitive scenarios.
Smart Images

Figure CN118300908B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data transmission, and in particular to a serial-parallel transceiver multi-channel connector and a serial-parallel transceiver multi-channel connection chip. Background Art
[0002] Serializer / Deserializer (Serdes) is a mainstream time division multiplexing (TDM) and peer-to-peer (P2P) serial communication technology. Serial-to-parallel transceivers usually play the role of physical layer devices and are increasingly widely used in modern high-speed and large data transmission scenarios.
[0003] The existing serial-to-parallel transceiver channels and the processing unit channels in the data flow processing chip often adopt a one-to-one fixed connection method, or adopt a mux connection in a fixed manner within a small range, which leads to low flexibility in the connection method between the serial-to-parallel transceiver channels and the internal channels of the chip. At the same time, the connection method between the serial-to-parallel transceiver channels and the internal channels of the chip also leads to poor system fault tolerance, fewer selectable data loopback test paths, low test convenience, large data exchange delay, and inability to meet the needs of delay-sensitive application scenarios. In addition, high-speed serial-to-parallel transceivers have relatively high requirements for hardware design. Currently, chips and systems have a high demand for the number of channels of serial-to-parallel transceivers, but high-speed serial-to-parallel transceivers are expensive, so the total cost of chips and systems using multi-channel serial-to-parallel transceivers is difficult to control. Summary of the invention
[0004] The purpose of the present application is to provide a serial-to-parallel transceiver multi-channel connector and a serial-to-parallel transceiver multi-channel connection chip, which are used to solve the problem that the existing serial-to-parallel transceiver channels and the connection methods of each channel of the processing unit are low in flexibility, the chip and the system have a high demand for the number of channels of the serial-to-parallel transceiver, but the high price of high-speed serial-to-parallel transceivers makes it difficult to control the total cost of the chip and the system.
[0005] In a first aspect, the present application provides a serial-to-parallel transceiver multi-channel connector, including a data transmission module for implementing data transmission channel management between the serial-to-parallel transceiver and the processing unit and a data receiving module for implementing data reception channel management between the serial-to-parallel transceiver and the processing unit;
[0006] The data sending module and the data receiving module both include a cross switch matrix, a cross-clock domain FIFO component and a speed change component connected in sequence. The cross switch matrix in the data sending module is configured to send data to the multi-channel direction of the serial-parallel transceiver, and the cross switch matrix in the data receiving module is configured to receive data from the multi-channel direction of the serial-parallel transceiver.
[0007] In an embodiment of the present application, the cross-clock domain FIFO component includes at least one cross-clock domain FIFO, and the cross-clock domain FIFO is used to control the synchronization of transmission data on the clock domain.
[0008] In one embodiment of the present application, the speed change component includes at least one speed change unit, and the speed change unit is used to achieve matching of data bit widths between multiple channels of the serial-to-parallel transceiver and the processing unit through an internal shift register.
[0009] In one embodiment of the present application, the speed change unit includes:
[0010] A signal counter is connected to the shift register, the signal generator and the data output device respectively, and is used to count the input data valid indication signal and obtain the counting data;
[0011] A signal generator, configured to adjust an input data valid indication signal based on the count data to obtain an output data valid indication signal, wherein the output data valid indication signal and the input data valid indication signal are in the same clock domain;
[0012] A shift register connected to the data output device and used to realize shift storage of data;
[0013] A data outputter is used to read a preset number of bit data from the shift register based on the counting data to obtain output data.
[0014] In an embodiment of the present application, the crossbar switch matrix in the data sending module is configured to send data to the serial-parallel transceiver in multiple channels, including:
[0015] Configure the corresponding relationship between the data transmission direction processing unit and each channel of the serial-parallel transceiver;
[0016] Configure the correspondence between the data transmission direction processing unit and the control information of each channel of the serial-parallel transceiver.
[0017] In one embodiment of the present application, the crossbar switch matrix in the data receiving module is configured to receive data from multiple channels of the serial-parallel transceiver, including:
[0018] Configure the corresponding relationship between the data receiving direction processing unit and each channel of the serial-parallel transceiver;
[0019] Configure the corresponding relationship between the data read request sent by the data receiving direction processing unit and the FIFO of each channel in the serial-to-parallel transceiver.
[0020] In one embodiment of the present application, the receiving end of the speed change component in the data receiving module is connected to the output end of the speed change component in the data sending module to implement the loopback of input data from the data sending direction to the data receiving direction.
[0021] In one embodiment of the present application, the input end of the cross-switch matrix in the data sending module is connected to the output end of the cross-switch matrix in the data receiving module to implement the loopback of the cross-switch matrix in the data sending module to the output data of the cross-switch matrix in the data receiving module, and to implement the loopback of the cross-switch matrix in the data receiving module to the input data of the cross-switch matrix in the data sending module.
[0022] In one embodiment of the present application, the output end of the cross switch matrix in the data sending module is connected to the input end of the cross switch matrix in the data receiving module to implement the loopback of the cross switch matrix output data in the data sending module by the cross switch matrix in the data receiving module.
[0023] In a second aspect, the present application provides a serial-to-parallel transceiver multi-channel connection chip based on the serial-to-parallel transceiver multi-channel connector, comprising a serial-to-parallel transceiver, a serial-to-parallel transceiver multi-channel connector and a processing unit connected in sequence.
[0024] Compared with the prior art, one or more embodiments of the above scheme may have the following advantages or beneficial effects:
[0025] The serial-to-parallel transceiver multi-channel connector provided by the embodiment of the present invention is applied to manage the data transmission channel between the serial-to-parallel transceiver and the processing unit through the data transmission module, and manage the data receiving channel between the serial-to-parallel transceiver and the processing unit through the data receiving module, so as to realize flexible configuration between the serial-to-parallel transceiver channel and the processing unit channel, realize multiplexing of multiple channels of the serial-to-parallel transceiver, reduce the total number of serial-to-parallel transceiver channels required by the chip or system, and help reduce the cost of the chip and the system. It also further reduces the coupling between the physical position of the serdes in the chip and the position of the processing unit, improves the fault tolerance of the hardware design, and reduces the requirements of the PCB design. The present invention also enriches the diversity of data paths during chip testing, and can configure data short paths to meet the needs of delay-sensitive scenarios.
[0026] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0028] Figure 1Shown is a schematic diagram of the structure of the serial-to-parallel transceiver multi-channel connector described in an embodiment of the present application.
[0029] Figure 2 Shown is a schematic structural diagram of the serial-to-parallel transceiver multi-channel connector speed change unit described in an embodiment of the present application.
[0030] Figure 3 Shown is a schematic diagram of the structure of an 8-channel serial-to-parallel transceiver multi-channel connector according to an embodiment of the present application.
[0031] Figure 4 Shown is a schematic diagram of the crossbar switch matrix channel configuration in the 8-channel serial-to-parallel transceiver multi-channel connector described in an embodiment of the present application.
[0032] Figure 5 Shown is a specific structural schematic diagram of the serial-to-parallel transceiver multi-channel connection chip described in an embodiment of the present application. DETAILED DESCRIPTION
[0033] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0034] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.
[0035] The following embodiments of the present invention provide a serial-to-parallel transceiver multi-channel connector and a serial-to-parallel transceiver multi-channel connection chip, which solves the problem that the existing serial-to-parallel transceiver channel and processing unit channel connection method has low flexibility, the chip and system have a high demand for the number of serial-to-parallel transceiver channels, but the high price of high-speed serial-to-parallel transceivers makes it difficult to control the total cost of the chip and the system.
[0036] It should be noted that the serial-to-parallel transceiver, the serial-to-parallel transceiver multi-channel connector and the processing unit in this embodiment are all arranged on the DPU chip.
[0037] The principles and implementation methods of a serial-to-parallel transceiver multi-channel connector and a serial-to-parallel transceiver multi-channel connection chip of this embodiment will be described in detail below in conjunction with the accompanying drawings, so that those skilled in the art can understand the serial-to-parallel transceiver multi-channel connector and the serial-to-parallel transceiver multi-channel connection chip of this embodiment without creative work.
[0038] like Figure 1 As shown, this embodiment provides a serial-to-parallel transceiver multi-channel connector, including a data sending module and a data receiving module. The data sending module is used to manage the data sending channel between the serial-to-parallel transceiver and the processing unit, and the data receiving module is used to manage the data receiving channel between the serial-to-parallel transceiver and the processing unit.
[0039] The data sending module and the data receiving module both include a crossbar, a cross-clock domain FIFO component and a speed change component connected in sequence. The cross-clock domain FIFO component includes at least one cross-clock domain FIFO (i.e., clock domain crossing). The speed change component includes at least one speed change unit (i.e., gearbox). The cross-clock domain FIFO in the cross-clock domain FIFO component and the speed change unit in the speed change component are in a one-to-one correspondence.
[0040] The channels in the cross-switch matrix can be grouped, and the number of channels in each group can be parameterized, that is, the number of channels supported and the required resources and area can be determined by setting parameters during compilation. Preferably, the cross-switch matrix can realize its internal parameter configuration through existing parameter configuration software. Further, the cross-switch matrix mainly realizes a one-to-one or one-to-many interconnection effect between the cross-switch matrix channels and the processing unit channel fingers under specific parameter configuration.
[0041] Furthermore, the cross-switch matrix in the data transmission module is configured to realize data transmission in the direction of multiple channels of the serial-parallel transceiver. Furthermore, the cross-switch matrix in the data transmission module realizes the configuration of the corresponding relationship between the processing unit channel and each channel of the serial-parallel transceiver in the data transmission direction, and also realizes the configuration of the corresponding relationship between the processing unit channel and each channel control information of the serial-parallel transceiver. It should be noted that the cross-switch matrix in the data transmission module can also perform parameter adaptive configuration in other data transmission directions. Through the above configuration, the flexible configuration of the data transmission direction, the serial-parallel transceiver and the processing unit channel can be realized.
[0042] Similarly, the cross switch matrix in the data receiving module is configured to receive data from the multi-channel direction of the serial-parallel transceiver. Furthermore, the cross switch matrix in the data receiving module implements the configuration of the corresponding relationship between the processing unit channel and each channel of the serial-parallel transceiver in the data receiving direction, and also implements the configuration of the corresponding relationship between the data read request sent by the processing unit channel and the FIFO of each channel in the serial-parallel transceiver. It should be noted that the cross switch matrix in the data receiving module can also perform adaptive configuration of parameters in other data receiving directions. The above configuration can realize the flexible configuration of the data receiving direction, the serial-parallel transceiver and the processing unit channel.
[0043] The cross-clock domain FIFO component needs to be set between the cross switch matrix and the speed change component. The cross-clock domain FIFO in the cross-clock domain FIFO component is mainly used to control the synchronization of transmission data in different clock domains, and further realize the bidirectional synchronization of transmission data and status information in the serdes parallel data interface clock domain and the clock domain where the processing unit is located. The cross-clock domain FIFO is also used to synchronize the status information of the serial-to-parallel transceiver to the processing unit.
[0044] The speed change unit in the speed change component is mainly used to match the data bit width between the serial-parallel transceiver multi-channel and the processing unit through the internal shift register. Figure 2 As shown, the speed change unit can be provided to include a signal counter, a signal generator, a shift register and a data output device. The signal counter is connected to the shift register, the signal generator and the data output device respectively, and the shift register is also connected to the data output device. The signal counter is mainly used to count the input data valid indication signal and obtain the count data as the data bit width adjustment base. The signal generator is mainly used to adjust the input data valid indication signal based on the count data to output the output data valid indication signal corresponding to the output data. It should be noted that the output data valid indication signal is in the same clock domain as the input data valid indication signal, and it only adjusts the output signal segment of the input data valid indication signal. This component does not contain a large number of buffers for caching, and the total bandwidth of the input and output data is consistent. For example, if the input data bit width is 32 bits, the input data valid indication signal is valid in each clock cycle, and can be smoothly converted to the output data bit width of 128 bits, and the output data valid indication signal is valid for 1 clock cycle in every 4 clock cycles. The shift register is mainly used to realize the shift storage of data. The data output device is used to read the preset number of bits of data from the shift register based on the count data and output it to output the output data. For example, if the input data is 32-bit data and the preset number of bits is 64 bits, the data output device needs to read 64 bits of data from the shift register each time based on the count data as output data.
[0045] In order to achieve the diversity of data loopback test paths during chip testing, the present embodiment also provides a connection between the receiving end of the speed change component in the data receiving module and the output end of the speed change component in the data sending module, so as to realize the collection of input data of the speed change component in the data receiving module by the speed change component in the data sending module. The collected data can be directly returned to the serial-to-parallel transceiver, thereby realizing the loopback of the input data of the speed change unit in the data receiving module, and then realizing the loopback of the data within the same lane of the serial-to-parallel transceiver.
[0046] In order to achieve the diversity of data loopback test paths during chip testing, this embodiment also sets the input end of the cross switch matrix in the data sending module to be connected with the output end of the cross switch matrix in the data receiving module. This connection method can realize the acquisition of the output data of the cross switch matrix in the data receiving module by the cross switch matrix in the data sending module. The acquired data can be returned to the serial-parallel transceiver via the sending channel, thereby realizing the loopback of the output data of the cross switch matrix in the data receiving module, realizing the cross loopback of data between different lanes of the serial-parallel transceiver, and realizing the loopback of the data of the same channel inside the chip. At the same time, the above connection method can also realize the acquisition of the input data of the cross switch matrix in the data receiving module by the cross switch matrix in the data sending module. The acquired data can be returned to the processing unit channel via the receiving channel, thereby realizing the loopback of the input data of the cross switch matrix in the data sending module, that is, realizing the loopback of the data of the same channel inside the chip.
[0047] In order to achieve the diversity of data loopback test paths during chip testing, this embodiment also sets a connection between the output end of the cross switch matrix in the data sending module and the input end of the cross switch matrix in the data receiving module, so as to realize the collection of the output data of the cross switch matrix in the data sending module by the cross switch matrix in the data receiving module. The collected data can be returned to the processing unit channel via the receiving channel, thereby realizing the loopback of the input data of the cross switch matrix in the data transmitter, and realizing the cross loopback of data between different channels inside the chip, and also realizing the loopback of data in the same channel inside the chip.
[0048] Furthermore, in the specific implementation process, there should be a one-to-one correspondence between the data transmission channel and the data receiving channel, thereby forming multiple data loopback test paths. It should be noted that the serial-parallel transceiver multi-channel connector of this embodiment can also set other reasonable data loopback test paths, which will not be described in detail here.
[0049] In order to describe the serial-to-parallel transceiver multi-channel connector in more detail, the embodiment of the present invention Figure 3A schematic diagram of a multi-channel connector structure of an 8-channel serial-parallel transceiver is provided. The cross-switch matrix of the data sending module and the data receiving module in the device adopts an 8x8 form. The serial-parallel transceiver includes 8 serdes lanes, such as Figure 4 As shown, any lane in the eight serdes lanes can be connected to any channel of the processing unit through configuration. The cross-clock domain FIFO component includes eight cross-clock domain FIFOs, and the speed change component includes eight speed change units.
[0050] The serial-to-parallel transceiver multi-channel connector provided by the embodiment of the present invention realizes data transmission channel management between the serial-to-parallel transceiver and the processing unit through a data transmission module, realizes data receiving channel management between the serial-to-parallel transceiver and the processing unit through a data receiving module, realizes flexible configuration between the serial-to-parallel transceiver channel and the processing unit channel, realizes multiplexing of multiple channels of the serial-to-parallel transceiver, reduces the total number of serial-to-parallel transceiver channels required by the chip or system, and is conducive to reducing the cost of the chip and the system. It further reduces the coupling between the physical position of the serdes in the chip and the position of the processing unit, improves the fault tolerance of the hardware design, and reduces the requirements of the PCB design. The present invention also enriches the diversity of data paths during chip testing, and can configure data short paths to meet the needs of delay-sensitive scenarios.
[0051] This embodiment also provides a serial-parallel transceiver multi-channel connection chip, which includes a serial-parallel transceiver, a serial-parallel transceiver multi-channel connector and a processing unit connected in sequence, wherein the serial-parallel transceiver multi-channel connector is the serial-parallel transceiver multi-channel connector in the above embodiment. Figure 5 A specific example of the serial-parallel transceiver multi-channel connection chip according to an embodiment of the present invention being applied to a network flow processor is also shown, wherein the processing unit is a processing unit inside the network flow processor. The processing unit is connected to a main control device such as a host or server, and the serial-parallel transceiver is connected to an external network through an optical module group.
[0052] In the above example, the host data is processed by the processing unit, and after being processed by the Ethernet media access control sublayer (MAC) and the physical coding sublayer (PCS), the data of a certain port is exchanged to the corresponding physical transceiver channel through the serial-to-parallel transceiver multi-channel connector to complete the data transmission between the host and other network devices.
[0053] The serial-to-parallel transceiver multi-channel connection chip provided in the embodiment of the present invention realizes channel management between the serial-to-parallel transceiver and the processing unit, enables flexible configuration between the serial-to-parallel transceiver channels and the processing unit channels, realizes multiplexing of multiple channels of the serial-to-parallel transceiver, reduces the total number of serial-to-parallel transceiver channels required by the chip or system, is conducive to reducing chip and system costs, enriches the diversity of data paths during chip testing, and can configure data short paths to meet the needs of delay-sensitive scenarios.
[0054] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.
[0055] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.
Claims
1. A serial-parallel transceiver multi-channel connector, characterized in that: It includes a data transmission module for implementing data transmission channel management between the serial-parallel transceiver and the processing unit, and a data receiving module for implementing data reception channel management between the serial-parallel transceiver and the processing unit; The data sending module and the data receiving module both include a cross switch matrix, a cross-clock domain FIFO component and a speed change component connected in sequence, the cross switch matrix in the data sending module is configured to send data to the multi-channel direction of the serial-parallel transceiver, and the cross switch matrix in the data receiving module is configured to receive data from the multi-channel direction of the serial-parallel transceiver; Among them, the channels in the crossbar switch matrix are grouped, and the number of channels in each group is parameterized. The number of channels supported and the required resources and area are determined by setting the parameters during compilation. The crossbar switch matrix mainly realizes a one-to-many interconnection effect between the crossbar switch matrix channels and the processing unit channels under specific parameter configurations. The speed change component receiving end in the data receiving module is connected to the speed change component output end in the data sending module to realize the loopback of the input data in the data sending direction to the data receiving direction; The input end of the cross switch matrix in the data sending module is connected to the output end of the cross switch matrix in the data receiving module to implement the loopback of the output data of the cross switch matrix in the data receiving module by the cross switch matrix in the data sending module.
2. The connector according to claim 1, characterized in that: The cross-clock domain FIFO component includes at least one cross-clock domain FIFO, and the cross-clock domain FIFO is used to control transmission data synchronization on the clock domain.
3. The connector according to claim 1, characterized in that: The speed change component includes at least one speed change unit, and the speed change unit is used to achieve the matching of data bit widths between the serial-to-parallel transceiver multi-channels and the processing unit through an internal shift register.
4. The connector according to claim 3, characterized in that: The speed change unit comprises: A signal counter is connected to the shift register, the signal generator and the data output device respectively, and is used to count the input data valid indication signal and obtain the counting data; A signal generator, configured to adjust an input data valid indication signal based on the count data to obtain an output data valid indication signal, wherein the output data valid indication signal and the input data valid indication signal are in the same clock domain; A shift register connected to the data output device and used to realize shift storage of data; A data outputter is used to read a preset number of bit data from the shift register based on the counting data to obtain output data.
5. The connector according to claim 1, characterized in that: The crossbar switch matrix in the data sending module is configured to send data to the serial-parallel transceiver in multiple channels, including: Configure the corresponding relationship between the data transmission direction processing unit and each channel of the serial-parallel transceiver; Configure the correspondence between the data transmission direction processing unit and the control information of each channel of the serial-parallel transceiver.
6. The connector according to claim 1, characterized in that: The crossbar switch matrix in the data receiving module is configured to receive data from multiple channels of the serial-parallel transceiver, including: Configure the corresponding relationship between the data receiving direction processing unit and each channel of the serial-parallel transceiver; Configure the corresponding relationship between the data read request sent by the data receiving direction processing unit and the FIFO of each channel in the serial-to-parallel transceiver.
7. The connector according to claim 1, characterized in that: The input end of the cross switch matrix in the data sending module is connected to the output end of the cross switch matrix in the data receiving module, so that the cross switch matrix in the data receiving module loops back the input data of the cross switch matrix in the data sending module.
8. The connector according to claim 1, characterized in that: The output end of the cross switch matrix in the data sending module is connected to the input end of the cross switch matrix in the data receiving module to implement the loopback of the output data of the cross switch matrix in the data sending module by the cross switch matrix in the data receiving module.
9. A serial-to-parallel transceiver multi-channel connection chip based on the serial-to-parallel transceiver multi-channel connector according to any one of claims 1 to 8, characterized in that: The invention comprises serial-parallel transceivers, a serial-parallel transceiver multi-channel connector and a processing unit which are connected in sequence.
