An Interlaken interface conversion method and bridge system based on AXI bus

By adopting the data conversion method and bridging system from the AXI bus to the Interlaken interface in the AI ​​chip, the Interlaken bus is used to increase the transmission bandwidth of the NoC main route, solving the problem of insufficient transmission bandwidth in the AI ​​chip, and achieving efficient data transmission and simplified System design.

CN118227542BActive Publication Date: 2024-09-06WUHAN LINGJIU MICROELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410640413.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-09-06
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

In AI chips, the insufficient transmission bandwidth of the NoC main route leads to excessive bus data transmission pressure, affecting real-time performance. Existing technologies cannot meet high bandwidth requirements by increasing the data bit width and clock frequency of the AXI bus, and the back-end design is complex. The probability of failure increases.

Method used

The Interlaken interface conversion method and bridging system based on the AXI bus are used to convert the AXI bus data into the Interlaken interface format through data encapsulation, compression, flow rate control and FIFO cache processing, and the Interlaken bus is used as the transmission bus of the NoC main route to realize AXI Data frame conversion between bus and Interlaken interface.

Benefits of technology

It effectively reduces the data conversion delay, simplifies the logic complexity of the bridge system, increases the transmission bandwidth of the NoC main route, solves the problem of insufficient transmission bandwidth of the AI ​​chip, and enhances real-time performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118227542B
    Figure CN118227542B
Patent Text Reader

Abstract

The present invention is applicable to the technical field of on-chip bus data exchange network, and provides an Interlaken interface conversion method based on AXI bus, including data conversion methods in the sending direction and the receiving direction. At the same time, a bridge system is also designed, which can be applied to the connection module of the AXI bus to the Interlaken interface, the on-chip network and the bus system and other high-speed bandwidth transmission devices. The present invention utilizes the characteristics of high transmission bandwidth, port number flexibility and ease of use of the Interlaken interface, uses the Interlaken bus as the transmission bus of the NoC main route, and realizes the low-latency conversion of frame data between the AXI bus and the Interlaken interface by data stream transmission, so as to solve the problem of insufficient NoC main route transmission bandwidth of the existing AI chip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of on-chip bus data exchange networks, and in particular relates to an Interlaken interface conversion method and a bridge system based on an AXI bus. Background Art

[0002] As computer performance continues to improve and various AI application scenarios continue to expand, the performance requirements for AI chips are also getting higher and higher. At the same time, the data transmission performance requirements of the chip bus are also increasing. The emergence of NoC (Network on Chip) can realize data communication between internal components of the chip system and access to on-chip storage devices and off-chip storage devices. When multiple components in the chip send a large amount of request data to the on-chip network at the same time, it is easy to cause excessive bus data transmission pressure on the NoC main route, resulting in congestion, which ultimately leads to increased bus transmission delays, thereby seriously affecting the real-time performance of AI chips.

[0003] The existing NoC main route mainly adopts the AXI (Advanced Extensible Interface) bus. By increasing the data bit width and clock frequency of the AXI bus to increase the transmission bandwidth of the NoC main route, the transmission bandwidth of the NoC main route can be effectively broadened.

[0004] Although this method can simplify the logic complexity of NoC and effectively expand the transmission bandwidth of NoC main routing, when the bandwidth demand of NoC main routing increases to hundreds of Gbps or even higher Tbps, the back-end design requirements of NoC main routing using AXI bus become increasingly higher, and the probability of failure of chip bus system also increases greatly.

[0005] The Interlaken protocol (high-speed serial interface protocol) is applied to high-speed data transmission buses due to its high transmission bandwidth, port number flexibility and ease of use. Integrating the Interlaken protocol into the NoC of the AI ​​chip can perfectly solve the problem of excessive bus data transmission pressure in the NoC main route, and realize the conversion between the data frames of the AXI bus and the data frames on the Interlaken interface. Summary of the invention

[0006] In view of the above problems, the object of the present invention is to provide an Interlaken interface conversion method and a bridging system based on an AXI bus, aiming to solve the technical problem of insufficient transmission bandwidth of the existing NoC main routing.

[0007] The present invention adopts the following technical solution:

[0008] On the one hand, the Interlaken interface conversion method based on the AXI bus includes a data conversion method from the AXI bus to the interlaken interface in the sending direction, and the process is as follows:

[0009] Step S11, encapsulating and compressing two groups of channel data from the AXI bus interface;

[0010] Step S12, performing flow rate control and FIFO buffer processing on the input and output of the data stream;

[0011] Step S13: read the data stream from the FIFO buffer, convert it into the data frame format of the Interlaken interface and send the data.

[0012] On the other hand, the Interlaken interface conversion method based on the AXI bus includes a data conversion method from the interlaken interface to the AXI bus in the receiving direction, and the process is as follows:

[0013] Step S21, receiving an Interlaken data frame from an Interlaken interface;

[0014] Step S22, compressing the Interlaken data frame into a data frame of a target format and performing flow rate control and FIFO buffer processing;

[0015] Step S23: read the data frame from the FIFO buffer, parse the data frame into valid AXI request data, extract and send it to the channels corresponding to the two groups of AXI bus interfaces according to the channels.

[0016] In a third aspect, a bridging system between an AXI bus and an Interlaken interface, the bridging system being applied to the Interlaken interface conversion method based on the AXI bus, the bridging system comprising an AXI bus interface, a sending line, a receiving line and an Interlaken module, the Interlaken module comprising a sending module and a receiving module, wherein the AXI bus interface has two groups, each group comprising a master interface and a slave interface, the two groups of AXI bus interfaces are connected to the sending line and the receiving line, the output end of the sending line is connected to the sending module, and the receiving module is connected to the receiving line;

[0017] The sending line includes a data encapsulation and compression module, a data flow scheduling module, a FIFO buffer A, and a data flow conversion Interlaken interface frame module connected in sequence, and the receiving line includes a data compression and data flow scheduling module, a FIFO buffer B, an Interlaken data frame parsing module, and an AXI data extraction module connected in sequence; the data encapsulation and compression module and the AXI data extraction module each have two paths, each of which is connected to the AXI bus interface of the corresponding group;

[0018] The data encapsulation and compression module is used to encapsulate and compress the data of each channel of the AXI bus interface;

[0019] The data flow scheduling module is used to control the data flow rate;

[0020] The FIFO buffer A is used to buffer the compressed data stream;

[0021] The data stream conversion Interlaken interface frame module is used to convert the data stream into a data frame in the Interlaken interface format;

[0022] The data compression and data flow scheduling module is used to compress the received Interlaken data frame into a data frame of a target format and perform flow rate control;

[0023] The FIFO buffer B is used to buffer the compressed data frame;

[0024] The Interlaken data frame parsing module is used to parse the data frame into valid AXI request data;

[0025] The AXI data extraction module is used to extract data from the AXI request data according to the channel and send it to the channels corresponding to the two groups of AXI bus interfaces.

[0026] The beneficial effects of the present invention are as follows: the present invention designs a data conversion method and a bridge system from an AXI bus to an Interlaken interface, and realizes the mutual frame data conversion between the AXI bus and the Interlaken interface; by merging the parallel data of the AXI bus interface into a packet data format for transmission in a data stream, it is possible to adopt a data scheduling and FIFO cache mechanism, so that the master interface and the slave interface of the AXI bus interface can perform read and write operations at the same time, reduce the logical complexity of the bridge system, and effectively reduce the data conversion delay. According to the characteristics of the high transmission bandwidth, port number flexibility and ease of use of the Interlaken interface, the present invention uses the Interlaken bus as the transmission bus of the NoC main route to solve the problem of insufficient transmission bandwidth of the NoC main route of the existing AI chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a principle block diagram of a bridging system between an AXI bus and an Interlaken interface provided by an embodiment of the present invention;

[0028] Figure 2 It is a schematic diagram of encapsulating channel data into valid signals and serial data signals and truncating them into 12 groups;

[0029] Figure 3 It is a schematic diagram of converting two groups of 135-bit data into data frames of the Interlaken interface;

[0030] Figure 4 It is a schematic diagram of compressing two groups of Interlaken data frames into a 132-bit data stream each;

[0031] Figure 5 This is a schematic diagram of the AXI data extraction module extracting data by channel. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0033] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.

[0034] The present invention provides an Interlaken interface conversion method based on an AXI bus, which can realize data conversion between the AXI bus and the Interlaken interface. The method of the present invention can be realized by a bridge system. In practical application, the bridge system can be applied to designing a connection module from the AXI bus to the Interlaken interface, an on-chip network, a bus system and other high-speed bandwidth transmission devices.

[0035] like Figure 1 The bridge system shown has an AXI bus interface at one end and an Interlaken module at the other end, with a parallel transmission line and a receiving line in the middle. The Interlaken module has an Interlaken transmission module and an Interlaken receiving module, that is, it serves as an Interlaken transmission interface and a receiving interface. The AXI bus interface has two groups, each of which includes a master interface AXImasterI / F and a slave interface AXIslaveI / F, and both groups of AXI bus interfaces are connected to the transmission line and the receiving line. The output end of the transmission line is connected to the transmission module, and the receiving module is connected to the receiving line.

[0036] The sending line includes a data encapsulation and compression module, a data flow scheduling module, a FIFO buffer A, and a data flow conversion Interlaken interface frame module connected in sequence, and the receiving line includes a data compression and data flow scheduling module, a FIFO buffer B, an Interlaken data frame parsing module, and an AXI data extraction module connected in sequence. In order to speed up the processing speed, the data encapsulation and compression module and the AXI data extraction module each have two paths, each of which is connected to the AXI bus interface of the corresponding group.

[0037] In this embodiment, in the figure, there are two groups of AXI bus interfaces, the Interlaken sending module and the Interlaken receiving module each have two Interlaken interfaces, and the data encapsulation and compression module and the AXI data extraction module each have two paths, which are distinguished by 0 and 1 respectively. This bridge system serves as an execution unit. If data conversion between 4 groups of AXI bus interfaces and 4 Interlaken interfaces is to be realized, only two execution units need to be integrated together. Therefore, this embodiment can realize the conversion between the two interfaces of an even group.

[0038] In addition, from the perspective of functional implementation, the data encapsulation and compression module is used to encapsulate and compress the data of each channel of the AXI bus interface; the data flow scheduling module is used to control the data flow rate; the FIFO buffer A is used to cache the compressed data flow; the data flow conversion Interlaken interface frame module is used to convert the data flow into a data frame in the Interlaken interface format. The data compression and data flow scheduling module is used to compress the received Interlaken data frame into a data frame in the target format and perform flow rate control; the FIFO buffer B is used to cache the compressed data frame; the Interlaken data frame parsing module is used to parse the data frame into valid AXI request data; the AXI data extraction module is used to extract data from the AXI request data by channel and send it to the channels corresponding to the two groups of AXI bus interfaces.

[0039] The AXI bus is connected to two groups of AXI bus interfaces of the bridge system, each of which is divided into the master interface AXImasterI / F and the slave interface AXIslaveI / F. Each interface has 5 channels, namely write address writeaddress, write data writedata, write response writerresponse, read address readaddress and read data readdata. For the convenience of description, the data of the 5 channels on the master interface are recorded as aw_m, w_m, b_m, ar_m, r_m, and the data of the 5 channels on the slave interface are recorded as aw_s, w_s, b_s, ar_s, r_s. The 5 channels are connected to the corresponding master interface AXImasterI / F and slave interface AXIslaveI / F.

[0040] Based on the above bridge system, the Interlaken interface conversion method based on the AXI bus provided in the embodiment of the present invention is described in terms of the process implementation from the sending direction and the receiving direction respectively.

[0041] From the transmission direction, the data conversion method from the AXI bus to the interlaken interface is as follows:

[0042] Step S11: encapsulate and compress the two groups of channel data from the AXI bus interface.

[0043] The data encapsulation and compression of this step is realized by the data encapsulation and compression module. The aw_s, w_s, r_m, ar_s, b_m channel data on each group of the master interface and the slave interface are combined into one group, and the two groups of channel data are input into the two-way data encapsulation and compression modules for parallel processing one by one.

[0044] Each channel data is encapsulated in parallel into valid signals and serial data signals, and then the encapsulated data of each channel of the two groups of AXI bus interfaces are merged and further compressed into 12-bit valid signals and 1524-bit serial data signals, and integrated into 1536-bit valid data signals. Then it is divided into 12 groups of 128-bit valid data, and each group of valid data adds 1 bit of data valid signal, 4 bits of bit width valid signal, 1 bit of data start valid signal, and 1 bit of data end valid signal, and then truncated into 12 groups of 135-bit data.

[0045] like Figure 2In each group of 5 channels (aw_s channel, w_s channel, r_m channel, ar_schannel, b_m channel), the 82-bit data of the aw_s channel is encapsulated into a serial data signal data_aw_oh. Similarly, the 261-bit data of the w_s channel is encapsulated into a serial data signal data_w_oh, the 275-bit data of the r_m channel is encapsulated into a serial data signal data_r_oh, the 83-bit data of the ar_s channel is encapsulated into a serial data signal data_ar_oh, and the 18-bit data of the b_m channel is encapsulated into a serial data signal data_b_oh. Therefore, after encapsulation, one group has 719-bit serial data signals. In order to facilitate the subsequent interface conversion, 43 bits need to be filled here, so that one group has 762 bits, and the two groups combined have 1524 bits of serial data signals. At the same time, each channel sets a 1-bit valid signal, which is shown in the figure as valid_aw, valid_w, valid_r, valid_ar, and valid_b, and 1 bit is also filled, so one group has 6-bit valid signals, and the two groups combined have 12-bit valid signals. In this way, the effective signal compressed to 12 bits and the serial data signal compressed to 1524 bits are realized. Since the present embodiment uses two 256-bit AXI buses to be converted into two 128-bit Interlaken interface signals, the compressed 12-bit effective signal and the 1524-bit serial data signal need to be integrated into the effective data signal of 1536 bits, that is, integrated into the effective data signal payload_data of 1536 bits.

[0046] The 1536-bit payload_data is then truncated into 12 groups of 128-bit valid data payload_data[i]. At the same time, each group of 128-bit valid data adds a valid signal 1 bit (valid[i] 1 bit), a bit width valid signal 4 bits (size[i] 4 bits), a data start valid signal 1 bit (sob[i] 1 bit) and a data end valid signal 1 bit (eob[i] 1 bit), which can then be truncated into 12×135 bits of data as the data signal of the Interlaken interface.

[0047] In the above packages, the package contents of each channel have the following meanings:

[0048] awcache_s: indicates the write cache type

[0049] awprot_s: indicates the write protection type

[0050] awqos_s: indicates write quality of service

[0051] awlock_s: bus lock type signal

[0052] awuser_s: indicates writing user-defined signals

[0053] awid_s: write address ID

[0054] awaddr_s: write address

[0055] awlen_s: write burst length

[0056] awsize_s: write burst packet size

[0057] awburst_s: write burst type

[0058] cw_mask: write data chip select signal

[0059] cw_last: The last write data indication signal

[0060] wdata_s: write data signal

[0061] rresp_m: read response signal

[0062] rlast_m: The last read data indication signal

[0063] rdata_m: read data signal

[0064] rid_m : Read data ID

[0065] arcache_s : indicates the read cache type

[0066] arprot_s : indicates the read protection type

[0067] arqos_s : indicates read quality of service

[0068] arlock_s : bus lock type signal

[0069] aruser_s: indicates reading user-defined signals

[0070] arid_s : Read address ID

[0071] araddr_s : read address

[0072] arlen_s: read burst length

[0073] arsize_s: Read burst packet size

[0074] arburst_s : burst type

[0075] bid_m : write response ID

[0076] bresp_m: write response signal.

[0077] Step S12: Perform flow rate control and FIFO buffer processing on the input and output of the data stream.

[0078] The data flow scheduling module performs input and output flow rate control processing on the compressed 12 groups of 135-bit data. F caches the data into the FIFO buffer A according to the valid number of data valid signals valid[i]. When FIFO buffer A is not full, that is, it has not exceeded the full waterline, and there is enough valid data stored, subsequent data transmission can be carried out, that is, 12 groups of 135-bit data output can be started.

[0079] As a specific implementation, FIFO cache A is a two-level cache, where the size of the first-level cache is 23×135bit. Each time, only a few groups of 12×135bit data sent over may be valid. By processing multiple 12×135bit data, there are more than 12×132bit data in the first-level cache, and then output to the second-level cache. The second-level cache is in FIFO mode, with 12×135bit data as input and 12×135bit data as output. Through this setting, multiple 12×132bit data can be stored to prevent the Interlaken interface from being unable to process, causing data congestion and packet loss.

[0080] Step S13: read the data stream from the FIFO buffer, convert it into the data frame format of the Interlaken interface and send the data.

[0081] Waiting for the data read request of the data stream conversion Interlaken interface frame module, after receiving the request, the data can be read from FIFO buffer A. Each time 2 groups of 135-bit data are read, and they are adjusted into the data frame format of the Interlaken interface according to the Interlaken interface transmission signal requirements and sent out.

[0082] like Figure 3As shown in the figure, taking the sequence number 0 and 1 groups as an example, the payload_data, size, eob, sob and valid signals of the two groups of 135-bit data are adjusted into the payload signal (tx_data), valid signal (tx_valid), data start valid signal (tx_sob), packet start valid signal (tx_sop), data end valid signal (tx_eob), packet end valid signal (tx_eop), bit width valid signal (tx_sz), link status signal (tx_chan) and packet end error signal (tx_eop_err) according to the requirements of the Interlaken interface transmission signal, and sent to the interface of the Interlaken transmission module under the control of the clock signal to complete the data conversion from the AXI bus to the Interlaken interface transmission direction.

[0083] From the receiving direction, the data conversion method from the interlaken interface to the AXI bus is as follows:

[0084] Step S21: receiving an Interlaken data frame from an Interlaken interface.

[0085] Step S22: compress the Interlaken data frame into a data frame in a target format and perform flow rate control and FIFO buffer processing.

[0086] like Figure 4 As shown in the figure, the data compression and data flow scheduling module receives the Interlaken data frame (whose format includes valid, sob, eob, sop, eop, eop_err, size, data,, chan) sent from the Interlaken receiving module. According to the needs of the AXI bus to parse the frame data, the payload signal (rx_data), valid signal (rx_valid), data start valid signal (rx_sob), data end valid signal (rx_eob) and receiving error flag signal (rx_err) in the two groups of Interlaken data frames are compressed into a 132-bit data stream. The effective payload signal (rx_data) is 128 bits, and the others are all 1 bit, so the total is 132 bits.

[0087] Cache two groups of 132-bit data into FIFO buffer B (size is 23×132 bits). When FIFO buffer B does not exceed the full waterline and there is enough valid data stored in the buffer, start data transmission of 12 groups of 132-bit data frames.

[0088] Step S23: read the data frame from the FIFO buffer, parse the data frame into valid AXI request data, extract and send it to the channels corresponding to the two groups of AXI bus interfaces according to the channels.

[0089] 12 groups of 132-bit data are cached in FIFO buffer B, waiting for the data read request from the Interlaken data frame parsing module. The Interlaken data frame parsing module reads 12 groups of 132-bit data frames from FIFO buffer B, and parses the payload signal rx_data into AXI request data under the control of the receiving valid signal rx_valid, the data start valid signal rx_sob, and the data end valid signal rx_eob. Specifically, the payload signal in each group of 132-bit data frames is 128 bits, and 12 groups are 1536 bits. 12 bits are taken out as the valid signals of 5 channels (generally 1 bit per channel, and the read data channel r_channel is divided into two channels, and 2 bits are used to indicate the valid signals of these two channels), thus forming a 1524-bit payload signal and a 12-bit valid signal. In addition, since the AXI bus data may be truncated and transmitted by the Interlaken bus, a 24×128-bit cache space is added to store rx_data to ensure that each AXI request data is parsed complete.

[0090] Similarly, FIFO cache B is also a two-level cache, where the size of the first-level cache is 23×132bit. By processing multiple 12×132bit data, there is more than 12×132bit data in the first-level cache, and then output to the second-level cache. The second-level cache is in FIFO mode, with 12×132bit data as input and 12×132bit data as output. Through this setting, multiple 12×132bit data can be stored to prevent data congestion and packet loss.

[0091] Finally, if Figure 5 As shown in the figure, the AXI data extraction module parses the parsed data (12-bit valid signal and 1524-bit serial data signal) into the corresponding AXI bus interface channel in the order of aw_m, w_m, ar_m, r_s, and b_s, and sends it to the AXI bus under clock control, completing the data conversion from the Interlaken interface to the AXI bus receiving direction.

[0092] In summary, the present invention designs a bridge system and conversion method from an AXI bus to an Interlaken interface, which can connect the Interlaken bus to the AXI bus system of an AI chip; utilizing the characteristics of the Interlaken interface, such as high transmission bandwidth, flexibility in the number of ports, and ease of use, the Interlaken bus is used as the transmission bus of the NoC main route, and low-latency conversion of frame data between the AXI bus and the Interlaken interface is achieved through data stream transmission, thereby solving the problem of insufficient transmission bandwidth of the NoC main route of the existing AI chip.

[0093] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An Interlaken interface conversion method based on AXI bus, characterized in that: The conversion method includes a data conversion method from an AXI bus to an interlaken interface in a sending direction, and the process of the data conversion method is as follows: Step S11, encapsulating and compressing two groups of channel data from the AXI bus interface; Step S12, performing flow rate control and FIFO buffer processing on the input and output of the data stream; Step S13, reading the data stream from the cache, converting it into the data frame format of the Interlaken interface and sending the data; There are two groups of AXI bus interfaces, each group is divided into the master interface AXImasterI / F and the slave interface AXIslaveI / F, each interface has 5 channels, namely write address writeaddress, write data writedata, write response writeresponse, read address readaddress and read data readdata, the data of the 5 channels on the master interface are recorded as aw_m, w_m, b_m, ar_m, r_m, and the data of the 5 channels on the slave interface are recorded as aw_s, w_s, b_s, ar_s, r_s; In step S11, the aw_s, w_s, r_m, ar_s, and b_m channel data on each group of the master interface and the slave interface are combined into one group, and the data of each channel is encapsulated in parallel into a valid signal and a serial data signal, and then the encapsulated data of each channel of the two groups of AXI bus interfaces are combined and further compressed into a 12-bit valid signal and a 1524-bit serial data signal, integrated into a 1536-bit valid data signal, and then divided into 12 groups of 128-bit valid data, and each group of valid data is increased by 1 bit of data valid signal, 4 bits of bit width valid signal, 1 bit of data start valid signal, and 1 bit of data end valid signal, and then truncated into 12 groups of 135-bit data; In step S12, the flow rate of input and output of the 12 groups of 135-bit compressed data is controlled, and the data is cached in the FIFO buffer according to the valid number of valid data signals. When the FIFO buffer is not full and has enough valid data stored, subsequent data transmission can be performed; In step S13, two groups of 135-bit data are read from the FIFO buffer each time, and the data are adjusted into the data frame format of the Interlaken interface according to the signal transmission requirement of the Interlaken interface and sent out.

2. An Interlaken interface conversion method based on AXI bus, characterized in that: The conversion method includes a data conversion method from an interlaken interface to an AXI bus in a receiving direction, and the process of the data conversion method is as follows: Step S21, receiving an Interlaken data frame from an Interlaken interface; Step S22, compressing the Interlaken data frame into a data frame of a target format and performing flow rate control and FIFO buffer processing; Step S23, reading the data frame from the cache, parsing the data frame into valid AXI request data, and extracting and sending the data to the channels corresponding to the two groups of AXI bus interfaces according to the channels; There are two groups of AXI bus interfaces, each group is the master interface AXImasterI / F and the slave interface AXIslaveI / F, each interface has 5 channels, namely write address writeaddress, write data writedata, write response writeresponse, read address readaddress and read data readdata, the data of the 5 channels on the master interface are recorded as aw_m, w_m, b_m, ar_m, r_m, and the data of the 5 channels on the slave interface are recorded as aw_s, w_s, b_s, ar_s, r_s; In step S22, two groups of Interlaken data frames are received, compressed into two groups of 132-bit data frames according to the format requirements, and then the two groups of 132-bit data frames are cached in the FIFO cache. When the FIFO cache is not full and stores enough valid data, the subsequent 12 groups of 132-bit data frames can be transmitted. In step S23, 12 groups of 132-bit data frames are read from the FIFO buffer, parsed into AXI request data under the control of the receive valid signal, the data start valid signal, and the data end valid signal, and then parsed into the aw_m, w_m, ar_m, r_s, and b_s channels in the two groups of AXI bus interfaces, and sent to the AXI bus under clock control; In step S23, a buffer space is additionally set up for buffering the effective load signal.

3. A bridge system for an AXI bus and an Interlaken interface, characterized in that: The bridge system is applied to the Interlaken interface conversion method based on the AXI bus according to claim 1 or 2, the bridge system comprises an AXI bus interface, a sending line, a receiving line and an Interlaken module, the Interlaken module comprises a sending module and a receiving module, wherein the AXI bus interface has two groups, each group comprises a master interface and a slave interface, the two groups of AXI bus interfaces are connected to the sending line and the receiving line, the output end of the sending line is connected to the sending module, and the receiving module is connected to the receiving line; The sending line includes a data encapsulation and compression module, a data flow scheduling module, a FIFO buffer A, and a data flow conversion Interlaken interface frame module connected in sequence, and the receiving line includes a data compression and data flow scheduling module, a FIFO buffer B, an Interlaken data frame parsing module, and an AXI data extraction module connected in sequence; the data encapsulation and compression module and the AXI data extraction module each have two paths, each of which is connected to the AXI bus interface of the corresponding group; The data encapsulation and compression module is used to encapsulate and compress the data of each channel of the AXI bus interface; The data flow scheduling module is used to control the data flow rate; The FIFO buffer A is used to buffer the compressed data stream; The data stream conversion Interlaken interface frame module is used to convert the data stream into a data frame in the Interlaken interface format; The data compression and data flow scheduling module is used to compress the received Interlaken data frame into a data frame of a target format and perform flow rate control; The FIFO buffer B is used to buffer the compressed data frame; The Interlaken data frame parsing module is used to parse the data frame into valid AXI request data; The AXI data extraction module is used to extract data from the AXI request data according to the channel and send it to the channels corresponding to the two groups of AXI bus interfaces.

Citation Information

Patent Citations

  • Packet cutting device and method for Interlaken enhanced dispatch

    CN103560982A

  • AXI / PCIE bus converting device

    CN104901859A

  • Method and device for converting axi4 into avalon bus, terminal and storage medium

    CN111858429A

  • Bridging system of PCIE bus and AXI bus

    CN113961494A

  • Mesh network-on-a-chip (NOC) with heterogeneous routers

    US20230325345A1