AXI protocol-oriented device type can be equipped with cross-chip transmission circuit and method

By designing the device type oriented to the AXI protocol, it can be equipped with a cross-core transmission circuit, and adopts time-division multiplexing and bit-width conversion technology to achieve arbitrary configuration and efficient data transmission of master-slave devices between cores, solving the hardware problems in the existing technology. The problem of low resource utilization reduces the hardware cost.

CN118568043BActive Publication Date: 2024-10-22NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411061090.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-22
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

When the existing technology implements cross-core transmission of the AXI protocol, it is difficult to achieve arbitrary configuration of the master-slave device relationship between cores, and the utilization rate of hardware resources is low, resulting in high hardware costs.

Method used

Design a device type for the AXI protocol that can be equipped with a cross-die transmission circuit, using two unidirectional cross-die transmission paths with the same structure, including a bit-width regularizing bit-width converter, a multiplexer, a sending buffer, and an interconnection interface and receive buffering, through time-division multiplexing and bit-width conversion to realize arbitrary configuration and data transmission of master-slave devices between chips.

Benefits of technology

It realizes the flexible configuration of the master-slave device relationship between cores, improves the resource utilization of the buffer module, reduces the hardware resource overhead, and improves the compatibility and efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118568043B_ABST
    Figure CN118568043B_ABST
Patent Text Reader

Abstract

The present invention discloses a device type configurable cross-chip transmission circuit and method for AXI protocol. The device type configurable cross-chip transmission circuit for AXI protocol of the present invention includes a first chip and a second chip that are configurable for master and slave device types. Two unidirectional cross-chip transmission paths with the same structure are arranged between the first chip and the second chip. The unidirectional cross-chip transmission path includes a bit width regularization bit width converter, two two-to-one selectors, a sending buffer, a three-to-one selector, an interconnection interface, a one-to-three selector, a receiving buffer, two one-to-two selectors, and a bit width restoration bit width converter. The present invention aims to realize the arbitrary configuration of the master-slave device relationship between two communicating chiplets when cross-chip transmission is performed between chiplets through a chip interface compatible with the AXI protocol, and save hardware resource overhead, improve the resource utilization of the buffer module, and reduce the hardware cost of the architecture design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of high-speed interconnection interfaces between chiplets, and in particular to a device type configurable cross-chiplet transmission circuit and method oriented to an AXI protocol. Background Art

[0002] Chiplet technology is an important way to continuously improve chip integration and chip computing power as System on Chip (SoC) integration develops into today's era and Moore's Law gradually slows down.

[0003] AXI (Advanced eXtensible Interface) is a bus protocol widely used in system-on-chip (SoC). It was designed and launched by ARM and is used to connect processors, memories, peripherals and other subsystems. The AXI protocol defines a set of specifications and interfaces for high-performance, low-power and scalable communication in SoC. It provides a flexible, point-to-point communication architecture that supports parallel data transmission between multiple master devices and multiple slave devices. The AXI protocol defines five transmission channels (transaction channels) to transmit relevant data and control commands between master devices and slave devices. These five transmission channels are: write address channel (AW) for transmitting write address information, read address channel (AR) for transmitting read address information, write data channel (WDATA) for transmitting write data, read data channel (RDATA) for transmitting read data, and write reply channel (WRSP) for transmitting write reply signals. The five transmission channels are independent of each other, realizing the separation of address and data channels and improving the efficiency of transmission.

[0004] The initiator of the request between two devices using the AXI protocol for point-to-point communication is set as the master device, and the other device is correspondingly set as the slave device. Only the master device can initiate requests (including write requests and read requests), and the slave device needs to respond to the master device's request. Specifically, the master device initiates read and write requests by sending a write address (AW), a read address (AR), and write data (WDATA) to the slave device; the slave device completes the master device's read and write requests by feeding back read data (RDATA) and a write response (WRSP) to the master device. The read and write transactions specified by the AXI protocol include read transactions and write transactions. The schematic diagram of the read transaction of the AXI protocol is shown in the figure below. Figure 1 As shown, the schematic diagram of the write transaction of the AXI protocol is as follows Figure 2 shown.

[0005] High compatibility is the basic requirement for realizing chiplet interconnection. Considering the widespread use of the AXI protocol in on-chip systems, how to realize cross-chiplet transmission of the AXI protocol is an issue that needs to be considered to improve the compatibility of chiplet interconnection. Designing a cross-chiplet transmission circuit for the AXI protocol not only takes into account some basic characteristics of chiplet interconnection, but also combines the characteristics of the AXI protocol itself, and also considers how to reduce hardware overhead. It is a relatively comprehensive design.

[0006] When two chiplets communicate through the AXI bus protocol, usually only one of the chiplets is configured as a master device and the other is configured as a slave device. However, which one is the master device needs to be set according to the specific situation of the communication between the chiplets. Therefore, the master-slave relationship between the chiplets should be configurable. When chiplet A sends a read or write request to chiplet B, chiplet A is configured as the master device and chiplet B is configured as a slave device. Conversely, when chiplet B sends a read or write request to chiplet A, chiplet B is configured as the master device and chiplet A is configured as a slave device. Usually, in the scenario where a chiplet acts as both a master device and a slave device, the need for inter-chiplet communication through the AXI protocol is very rare and does not need to be considered.

[0007] To achieve the compatibility of the chiplet interface with the AXI protocol, the device types of the chiplets at both ends of the AXI protocol must first be arbitrarily configured. Secondly, the master device needs to regularize the data length of each transmission channel of the AXI protocol to the length of the packet defined by the chiplet interconnection interface specification, and send the buffer through a buffer so that it can be transmitted across the chiplets through the interconnection interface. Correspondingly, the received data needs to be received and buffered in the slave device, and the data of the transmission channel needs to be restored to its original length. The key issue is how to achieve arbitrary configuration of the master and slave devices between the two chiplets, and how to set the buffer to minimize the hardware overhead of the buffer.

[0008] A typical cross-chip transmission architecture diagram from a master device to a slave device is shown below: Figure 3 As shown, the device type of the chip cannot be configured, one is fixed as the master device and the other is fixed as the slave device. Figure 3 In the example, the data path at the bottom is the data path from the master device to the slave device, and the data path at the top is the data path from the slave device to the master device. Figure 3 In the framework shown, the device on the left side of the interconnection port can only be fixed as the master device, and the device on the right side can only be fixed as the slave device, and arbitrary configuration of the master device and the slave device at both ends of the interface cannot be achieved.

[0009] If you want to realize that any chip can be configured as a master device or a slave device during chip communication, the simplest way to achieve this is as follows Figure 3The architecture shown in the figure is completely copied and implemented as two symmetrical sets of chiplet interconnection buses, which is called a "symmetric copy" architecture. Figure 4 When the left chip is configured as a master device, the upper bus is used; when the right chip is configured as a master device, the lower bus is used. In actual operation, only half of the paths are working according to the configuration of the chip. Although this architecture can realize any configuration of the master and slave devices at both ends of the chip, the hardware cost is Figure 3 The architecture is twice as large, and because the data flows of the two frameworks are completely opposite, the number of interconnect interfaces required is also doubled.

[0010] Xilinx has proposed an architecture for chip-to-chip interconnection in which the master-slave relationship of the devices at both ends of the chip can be arbitrarily configured, which can also be used for chiplet interconnection, such as Figure 5 In this architecture, 10 channels are set up at the same time on the devices at both ends of the chip, of which 5 channels are used to send data from the corresponding 5 channels of the device to the other device, and the other 5 channels are used to receive information from the corresponding 5 channels of the other device. This framework can realize any configuration of the master and slave devices at both ends of the chip. Figure 4 Compared with the "symmetric replication" architecture in the FPGA, this architecture avoids doubling the number of interconnect interfaces. However, no matter whether the left device is configured as a master device or the right device is configured as a master device, each device requires 5 send buffers and 5 receive buffers. However, each time data is transmitted across chips through the AXI protocol, there are only 5 buffers in each device that are actually working, and the resource utilization rate of the buffer module is only 50%. Obviously, the hardware resources are not fully utilized, and the hardware cost of the architecture design is high.

[0011] In summary, the above three architectures can be compared, as shown in Table 1.

[0012] Table 1: Performance comparison of three architectures

[0013]

[0014] Therefore, based on Figure 5 The data transmission scheme across chips that supports arbitrary master-slave configurations shown in the figure has become a key technical issue that needs to be solved urgently, such as how to improve the resource utilization of the buffer module and reduce the hardware cost of the architecture design. Summary of the invention

[0015] Technical problem to be solved by the present invention: In view of the above-mentioned problems in the prior art, a device type-configurable cross-chip transmission circuit and method for the AXI protocol is provided. The present invention aims to realize the arbitrary configuration of the master-slave device relationship between two communicating chiplets when cross-chip transmission is performed between chiplets through a chiplet interface compatible with the AXI protocol, save hardware resource overhead, improve the resource utilization of the buffer module, and reduce the hardware cost of the architecture design.

[0016] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0017] A device type configurable cross-chip transmission circuit for an AXI protocol comprises a first chip and a second chip configurable as a master device and a slave device, two unidirectional cross-chip transmission paths with the same structure are arranged between the first chip and the second chip, the unidirectional cross-chip transmission paths comprise a bit width regularization bit width converter, two two-to-one selectors, a sending buffer, a three-to-one selector, an interconnection interface, a one-to-three selector, a receiving buffer, two one-to-two selectors and a bit width restoration bit width converter, when one of the first chip and the second chip sends data, the data of its five data channels are regularized by the bit width regularization bit width converter The write data channel WDATA and the read data channel RDATA are sent to a two-to-one selector, the write address channel AW and the write reply channel WRSP are sent to another two-to-one selector, and the read address channel AR is directly sent to the sending buffer with the output of the two two-to-one selectors, buffered by the sending buffer, sent to the three-to-one selector and then output through the interconnection interface, and then unpacked into three-way data through the one-to-three selector in turn, buffered by the receiving buffer, and unpacked through two one-to-two selectors to restore the data of the five data channels, and finally restored to the original data length through the bit width recovery converter and sent to another core particle.

[0018] Optionally, the bit width regularization bit width converter performs bit width regularization, which means that the bit width regularization bit width converter converts the data bit width of the five data channels of the AXI protocol into a length supported by the data package for cross-chip transmission through the interconnection interface by padding or clipping.

[0019] Optionally, the bit width restoration of the bit width restoration bit width converter refers to the bit width restoration bit width converter recovering data of the data bit widths of five data channels of the AXI protocol from the data package through an inverse method of padding or clipping.

[0020] Optionally, the sending buffer is composed of a group of six buffers, which are used to cache the data of the five data channels of the AXI protocol when the AXI protocol is transmitted across core particles through the interconnection interface, so that the interconnection interface has enough time to package the data of the five channels to achieve pipeline data transmission; the buffer is a first-in-first-out memory.

[0021] Optionally, the receiving buffer is composed of a group of six buffers, which are used to cache the data of the five data channels of the AXI protocol when the AXI protocol is transmitted across core particles through the interconnection interface, so that the interconnection interface has enough time to unpack the data of the five channels to realize the pipelining of data transmission; the buffer is a first-in-first-out memory.

[0022] Optionally, the first core particle and the second core particle each include a 10-channel data interface, which is respectively connected to the two unidirectional cross-core particle transmission paths with the same structure.

[0023] Optionally, the interconnection interface is a core particle interface compatible with the AXI protocol.

[0024] The present invention also provides an application method of the aforementioned AXI protocol-oriented device type that can be configured with a cross-chip transmission circuit, comprising:

[0025] S101, configuring one of the first and second core particles as a master device and the other core particle as a slave device;

[0026] S102, when the master device performs cross-chip transmission from the slave device, the unidirectional cross-chip transmission path sent from the master device to the slave device only needs to send data of the three channels of write address channel AW, read address channel AR and write data channel WDATA, and the remaining two channels of write reply channel WRSP and read data channel RDATA do not need to send data, so that the unidirectional cross-chip transmission path sent from the master device to the slave device is realized through two two-to-one selectors to send data of the three channels of write address channel AW, read address channel AR and write data channel WDATA and finally transmit them to the slave device; the unidirectional cross-chip transmission path sent from the slave device to the master device only needs to send data of the two channels of write reply channel WRSP and read data channel RDATA, and the three channels of write address channel AW, read address channel AR and write data channel WDATA do not need to send data, so that the unidirectional cross-chip transmission path sent from the slave device to the master device is realized through two two-to-one selectors to send data of the two channels of write reply channel WRSP and read data channel RDATA and finally transmit them to the master device.

[0027] In addition, the present invention also provides a multi-chip processor, which includes a plurality of chiplets connected via an interconnection interface, and the aforementioned AXI protocol-oriented device type configurable cross-chiplet transmission circuit is provided between the chiplets.

[0028] In addition, the present invention also provides a computer device, including a microprocessor and a memory connected to each other, wherein the microprocessor is the aforementioned multi-core processor.

[0029] Compared with the prior art, the present invention mainly has the following advantages:

[0030] 1. Good flexibility. Under this architecture, the devices in the two communicating cores can be configured as master devices (the corresponding device in the other core is configured as a slave device). As long as there is a relevant need, they can send requests to each other, change the data of the other party, or ask the other party to provide the required data to themselves (when configured as a master device); they can also receive signals from the other device and respond to the request of the other device (when configured as a slave device).

[0031] 2. Good economy. The biggest advantage of this architecture is that it makes full use of existing hardware resources, especially buffer resources, by time-division multiplexing of the AXI protocol transmission channel. Without losing any performance, the cost of hardware resources is greatly reduced. During each cross-chip transmission of the AXI protocol, five of the six buffers in a group are working, and the working efficiency reaches 83.33%.

[0032] 3. High compatibility. The framework does not make any changes to the transmission and handshake mechanism of the AXI protocol. It only packages it into a data packet compatible with the chip interconnect interface when transmitting across chiplets, and restores the original five-channel signal form when transmitting to the destination chiplet. Therefore, the framework can support any master device or slave device defined in the AXI protocol specification to exchange information with each other through cross-chiplet transmission via the AXI protocol.

[0033] 4. Completeness. The present invention provides a complete framework for how to perform cross-chip transmission using the AXI protocol, including the regular bit width processing of the five channel signals of the AXI protocol, channel selection and time-division multiplexing, cross-chip transmission, and the recovery of the original data of the five channels from the package of the chip interconnection interface. It provides a detailed solution reference for independently developed high-speed interconnection between chips through the AXI protocol, and takes into account the characteristics that the master-slave relationship between the communicating chips can be arbitrarily configured, as well as how to reduce the overhead of hardware resources without losing performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of a read transaction of the AXI protocol in the prior art.

[0035] Figure 2 It is a schematic diagram of a write transaction of the AXI protocol in the prior art.

[0036] Figure 3 The figure is a schematic diagram of the structure of a typical cross-chip transmission architecture from a master device to a slave device in the prior art.

[0037] Figure 4 A schematic diagram of a structure in which a symmetrical replication architecture in the prior art realizes any configuration of master-slave communication between core particles.

[0038] Figure 5 It is a structural diagram of an arbitrary configuration of master-slave communication between core particles realized by Xilinx architecture in the prior art.

[0039] Figure 6 FIG. 1 is a schematic diagram of the structure of a chiplet portion in a device type configurable cross-chiplet transmission circuit in an embodiment of the present invention.

[0040] Figure 7 FIG. 1 is a schematic diagram of the structure of another chiplet portion in a device type configurable cross-chiplet transmission circuit according to an embodiment of the present invention.

[0041] Legend: 1. Bit width regularization bit width converter; 2. Two-to-one selector; 3. Send buffer; 4. Three-to-one selector; 5. Interconnection interface; 6. One-to-three selector; 7. Receive buffer; 8. One-to-two selector; 9. Bit width restoration bit width converter. DETAILED DESCRIPTION

[0042] The present invention aims to realize arbitrary configuration of the master-slave device relationship between two communicating core particles when cross-core transmission is performed between core particles through a core particle interface compatible with the AXI protocol, save hardware resource overhead, improve resource utilization of the buffer module, and reduce the hardware cost of circuit design.

[0043] To solve the above problems, the present invention provides an improved architecture that supports any configuration of the master-slave relationship between two communication core particles when cross-core transmission is performed between two communication core particles through the AXI protocol, and requires less hardware resource overhead than the above Xilinx architecture. Figure 6 and Figure 7As shown, the device type configurable cross-chip transmission circuit for the AXI protocol in this embodiment includes a first chip and a second chip that are configurable as a master device and a slave device. Two unidirectional cross-chip transmission paths with the same structure are arranged between the first chip and the second chip. The unidirectional cross-chip transmission path includes a bit width regularization bit width converter 1, two two-to-one selectors 2, a sending buffer 3, a three-to-one selector 4, an interconnection interface 5, a one-to-three selector 6, a receiving buffer 7, two one-to-two selectors 8 and a bit width restoration bit width converter 9. When sending data, the data of the five data channels of one of the first chip and the second chip are regularized by the bit width regularization bit width converter 1. The write data channel WDATA and the read data channel RDATA are sent to a two-to-one selector 2, the write address channel AW and the write reply channel WRSP are sent to another two-to-one selector 2, and the read address channel AR is directly sent to the sending buffer 3 with the outputs of the two two-to-one selectors 2, and then buffered by the sending buffer 3 and sent to the three-to-one selector 4 and then output through the interconnection interface 5, and then unpacked into three-way data by the one-to-three selector 6 and buffered by the receiving buffer 7, and then unpacked and restored to the data of the five data channels by two one-to-two selectors 8, and finally restored to the original data length by the bit width recovery converter 9 and sent to another core particle.

[0044] The master device and slave device that can be configured by the first chiplet and the second chiplet refer to two devices that belong to two chiplets and communicate using the AXI protocol and have a subordinate relationship (the subordinate relationship specified by the AXI protocol). They are no different from the master device and slave device described in the AXI protocol specification document. In this embodiment, the first chiplet and the second chiplet each include a data interface of ten channels, which are respectively connected to two unidirectional cross-chiplet transmission paths with the same structure.

[0045] There are two types of bit width converters involved in this embodiment, which are inverse operations of each other: bit width regularization. The bit width regularization performed by the bit width converter 1 refers to the bit width regularization. The bit width converter 1 converts the data bit width of the five data channels of the AXI protocol into the length supported by the data package for cross-chip transmission through the interconnection interface 5 by means of padding or clipping, so as to perform cross-chip transmission through the interconnection interface 5; bit width restoration. The bit width restoration of the bit width converter 9 refers to the bit width restoration. The bit width converter 9 recovers the data bit width of the five data channels of the AXI protocol from the data package by the inverse method of padding or clipping.

[0046] The multiplexers involved in this embodiment are of the following types: 2-to-1 selector (2to1 mux) 2, 3-to-1 selector (3to1 mux) 4, 1-to-3 selector (1to3 mux) 6 and 1-to-2 selector (1to2 mux) 8. The function of the 2-to-1 selector 2 is to realize the time-sharing multiplexing of the write address channel (AW) and the write reply channel (WRSP), and the time-sharing multiplexing of the write data channel (WDATA) and the read data channel (RDATA). (When the corresponding device is configured as a master device, two groups of 2-to-1 selectors 2 select the AW channel and the WDATA channel for packaging operations, and when the corresponding device is configured as a slave device, two groups of 2-to-1 selectors 2 select the WRSP channel and the RDATA channel for packaging operations). The 3-to-1 selector 4 further selects the three channels selected from the five channels so as to package them into a package length that can be transmitted by the interconnection interface 5 for cross-chip transmission. In addition, the one-to-three selector 6 is the reverse operation of the three-to-one selector 4 , and the one-to-two selector 8 is the reverse operation of the two-to-one selector 2 .

[0047] In this embodiment, the sending buffer 3 is composed of a group of six buffers, which are used to cache the data of the five data channels of the AXI protocol when the AXI protocol is transmitted across the chip particles through the interconnection interface 5, so that the interconnection interface 5 has enough time to package the data of the five channels to realize the pipeline of data transmission; the buffer is a first-in-first-out memory (FIFO).

[0048] In this embodiment, the interconnection interface 5 is a chip interface compatible with the AXI protocol.

[0049] In this embodiment, the receiving buffer 7 is composed of a group of six buffers, which are used to cache the data of the five data channels of the AXI protocol when the AXI protocol is transmitted across the chip particles through the interconnection interface 5, so that the interconnection interface 5 has enough time to unpack the data of the five channels to realize the pipeline data transmission; the buffer is a first-in-first-out memory (FIFO).

[0050] The present embodiment also provides an application method of the aforementioned AXI protocol-oriented device type configurable cross-chip transmission circuit, including: S101, configuring one of the first and second chiplets as a master device and the other chiplet as a slave device; S102, when the master device performs cross-chip transmission from the slave device, the unidirectional cross-chip transmission path sent by the master device to the slave device only needs to send data of three channels: a write address channel AW, a read address channel AR, and a write data channel WDATA, and the remaining two channels, a write reply channel WRSP and a read data channel RDATA, do not need to send data, so that the unidirectional cross-chip transmission path sent from the master device to the slave device is transmitted through The two selectors 2 send data from the write address channel AW, the read address channel AR and the write data channel WDATA and transmit them to the slave device. The one-way cross-chip transmission path from the slave device to the master device only needs to send data from the write reply channel WRSP and the read data channel RDATA. The three channels of the write address channel AW, the read address channel AR and the write data channel WDATA do not need to send data. Thus, the one-way cross-chip transmission path from the slave device to the master device sends data from the write reply channel WRSP and the read data channel RDATA through the two selectors 2 and transmits them to the master device. Figure 6 and Figure 7, under the condition that the corresponding chiplet is configured as the master device, the corresponding data path is as follows: (1) The data of the three channels (AW, AR, WDATAT) to be sent are regularized (cropped or filled) through the bit width regularization bit width converter 1, and regularized into the bit width length supported by the interconnection interface 5 for cross-chip transmission, so as to facilitate the subsequent cross-chip transmission. (2) The data of the AR channel is directly cached in the corresponding transmission buffer 3; the AW / WRSP channel is configured as the AW channel through a two-to-one selector 2 and enters the corresponding transmission buffer for cache; the WDATA / RDATA channel is configured as the WDATA channel through another two-to-one selector 2 and enters the corresponding transmission buffer 3 for cache. (3) The data of the three channels in the transmission buffer are successively packaged into the package supported by the interconnection interface 5 after passing through the three-to-one selector 4 for cross-chip transmission. (4) When transmitted to the destination chiplet, the cross-chip transmission package is unpacked into the signals of each channel by the one-to-three selector 6 and enters the relevant receiving buffer 7 for cache. (5) After passing through the receiving buffer 7, the AR channel directly enters the bit width restoration bit width converter 9 for bit width restoration. The AW / WRSP channel is configured as the AW channel through a one-to-two selector 8, and the WDATA / RDATA channel is configured as the WDATA channel through another one-to-two selector 8, and then enters the bit width restoration bit width converter 9 for bit width restoration. (6) The data of the three channels are restored to their original length through the bit width restoration bit width converter 9 and sent to the corresponding slave device. Similarly, under the condition that the corresponding device is configured as a slave device, the corresponding data path is as follows: (1) First, the data to be sent on the two channels (RDATAT, WRSP) is regularized (cropped or filled) through the bit width regularization bit width converter 1, and regularized into the bit width length supported by the interconnection interface 5 for cross-chip transmission, so as to facilitate the subsequent cross-chip transmission. (2) The AW / WRSP channel is configured as a WRSP channel through a two-to-one selector 2 and enters the corresponding send buffer for caching; the WDATA / RDATA channel is configured as an RDATA channel through another two-to-one selector 2 and enters the corresponding send buffer for caching. The AR channel has no data and is in an inactive state. (3) The data of the two channels in the send buffer 3 are successively packaged into the package supported by the interconnect interface 5 after passing through the three-to-one selector 4 for cross-chip transmission. (4) When transmitted to the destination chip, the cross-chip package is unpacked into the signals of each channel by the one-to-three selector 6 and enters the relevant receive buffer 7 for caching. (5) After passing through the receive buffer 7, the AW / WRSP channel is configured as a WRSP channel through the one-to-two selector 8, and the WDATA / RDATA channel is configured as an RDATA channel through the one-to-two selector 8, and then enters the bit width recovery converter 9 for bit width recovery.(6) The data of the two channels are restored to their original length by the bit width converter 9 and sent to the corresponding master device.

[0051] In addition, this embodiment further provides a multi-chip processor, which includes a plurality of chiplets connected via an interconnection interface 5, and the aforementioned AXI protocol-oriented device type configurable cross-chiplet transmission circuit is provided between the chiplets.

[0052] In addition, this embodiment also provides a computer device, including a microprocessor and a memory connected to each other, and the microprocessor is the aforementioned multi-core processor.

[0053] The device type for the AXI protocol in this embodiment can be configured with a cross-chip transmission circuit, which has two biggest advantages, including: advantage (1), it can realize any configuration of the master device and the slave device at both ends of the chip during AXI cross-chip transmission. Advantage (2), the hardware resource overhead for channel data buffering can be reduced through the time-division multiplexing mechanism of the channel. The specific method for realizing advantage (1) is to configure ten channels at both ends of the interconnection interface 5, five of which are responsible for sending signals to another device, and the other five channels are responsible for receiving information from another device, so that the devices at both ends of the interconnection interface 5 can send information and receive corresponding information, and any configuration of the master and slave devices can be completed. Advantage (2) is realized in that when a device is configured as a master device, only three channels, namely the AW channel, the AR channel, and the WDATA channel, need to send information, and the remaining two channels, namely the WRSP channel and the RDATA channel, do not send any information; accordingly, the device only receives feedback information from the WRSP channel and the RDATA channel, and the remaining three channels do not feedback any information. That is, for a device, only five of the ten channels are actually working. (The data flow from master to slave (master-slave) is only in three channels, and the data flow from slave to master (slave-master) is only in two channels) Among them, the AW channel, AR channel, and WDATA channel only have information transmission (in an activated state) when the corresponding device is configured as a master device, and the RDATA channel and WRSP channel only have information transmission when the corresponding device is configured as a slave device. Therefore, it is unnecessary to set a data buffer for each channel. Channels that do not transmit information at the same time can be time-division multiplexed (share a buffer) through a multiplexer, which can greatly reduce the hardware overhead of the buffer module. In this embodiment, the time-division multiplexing of the AW channel and the WRSP channel, as well as the time-division multiplexing of the WDATA channel and the RDATA channel are realized through two groups of eight multiplexers, and the eight multiplexers include a two-to-one selector (2to1 mux) 2, a three-to-one selector (3to1 mux) 4, a one-to-three selector (1to3 mux) 6, and a one-to-two selector (1to2 mux) 8. When the corresponding device is configured as a master device, the two sets of two-to-one selectors 2 select the AW channel and the WDATA channel for packaging operations; when the corresponding device is configured as a slave device, the two sets of two-to-one selectors 2 select the WRSP channel and the RDATA channel for packaging operations. In this way, the number of channels that need to be buffered has been reduced from the original five to the current three, and the total number of buffers has been reduced from the original twenty to the current twelve, and the hardware overhead of the buffer has been reduced by 40%.

[0054] To sum up, the device type of this embodiment can be equipped with a cross-chip transmission circuit. The data path of the device type that is oriented to the AXI protocol can be equipped with a cross-chip transmission circuit. The data path based on the data flow can be divided into a data path from a master device to a slave device; a data path from a slave device to a master device; a public data path, specifically including a master device, a slave device, a bit width converter (there are two types: a bit width regularization bit width converter 1 for regularizing the bit width, and a bit width restoration bit width converter 9 for restoring the bit width), a sending buffer 3 and a receiving buffer 7, a multiplexer, an interconnection interface 5, etc. The device type of this embodiment can be equipped with a cross-chip transmission circuit. When cross-chip transmission is performed between chips through a chip interface compatible with the AXI protocol, it can realize arbitrary configuration of the master-slave device relationship between two communicating chiplets and save hardware resource overhead, thereby improving the resource utilization of the buffer module and reducing the hardware cost of circuit design.

[0055] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.

Claims

1. A device type for the AXI protocol can be equipped with a cross-chip transmission circuit, characterized in that: The invention comprises a first core particle and a second core particle which are configurable as a master device and a slave device. Two unidirectional cross-core particle transmission paths with the same structure are arranged between the first core particle and the second core particle. The unidirectional cross-core particle transmission paths comprise a bit width regularization bit width converter (1), two two-to-one selectors (2), a sending buffer (3), a three-to-one selector (4), an interconnection interface (5), a one-to-three selector (6), a receiving buffer (7), two one-to-two selectors (8) and a bit width restoration bit width converter (9). When one of the first core particle and the second core particle sends data, the data of its five data channels are regularized by the bit width regularization bit width converter (1), and the write data channel WDATA and the read data channel RDATA are sent to one of the two-to-one selectors (2), and the write address channel AW and the write response channel WRSP are sent to another two-to-one selector ( 2) The read address channel AR is directly sent to the sending buffer (3) with the output of the two two-to-one selectors (2), and then sent to the three-to-one selector (4) after being buffered by the sending buffer (3) and then output through the interconnection interface (5). It is then unpacked into three-way data by the one-to-three selector (6) and buffered by the receiving buffer (7). The read address channel AR directly enters the bit width restoration bit width converter (9). The write address channel AW and the write response channel WRSP are configured as AW channels through a one-to-two selector (8) and then enter the bit width restoration bit width converter (9). The write data channel WDATA and the read data channel RDATA are configured as WDATA channels through another one-to-two selector (8) and then enter the bit width restoration bit width converter (9). Finally, the bit width of the bit width restoration bit width converter (9) is restored to the original data length and sent to another core particle.

2. The device type configurable cross-chiplet transmission circuit for the AXI protocol according to claim 1, characterized in that: The bit width regularization bit width converter (1) performs bit width regularization, which means that the bit width regularization bit width converter (1) converts the data bit widths of the five data channels of the AXI protocol into a length supported by a data package for cross-chip transmission through a padding or clipping method so as to perform cross-chip transmission through an interconnection interface (5).

3. The device type configurable cross-chiplet transmission circuit for the AXI protocol according to claim 1, characterized in that: The bit width restoration of the bit width restoration bit width converter (9) refers to the bit width restoration bit width converter (9) restoring data of the data bit widths of the five data channels of the AXI protocol from the data package through an inverse method of padding or clipping.

4. The device type configurable cross-chiplet transmission circuit for the AXI protocol according to claim 1, characterized in that: The sending buffer (3) is composed of six buffers in a group, and is used to cache the data of the five data channels of the AXI protocol when the AXI protocol is transmitted across the chip grains through the interconnection interface (5), so that the interconnection interface (5) has enough time to package the data of the five channels to realize the pipeline of data transmission; the buffer is a first-in first-out memory.

5. The device type configurable cross-chiplet transmission circuit for the AXI protocol according to claim 1, characterized in that: The receiving buffer (7) is composed of six buffers in a group, and is used to cache the data of the five data channels of the AXI protocol when the AXI protocol is transmitted across the chip grains through the interconnection interface (5), so that the interconnection interface (5) has enough time to unpack the data of the five channels to realize the pipeline of data transmission; the buffer is a first-in first-out memory.

6. The device type configurable cross-chiplet transmission circuit for the AXI protocol according to claim 1, characterized in that: The first core particle and the second core particle each include a 10-channel data interface, which is respectively connected to the two unidirectional cross-core particle transmission paths with the same structure.

7. The device type configurable cross-chiplet transmission circuit for the AXI protocol according to claim 1, characterized in that: The interconnection interface (5) is a core particle interface compatible with the AXI protocol.

8. An application method of the AXI protocol-oriented device type configurable cross-chip transmission circuit according to any one of claims 1 to 7, characterized in that: include: S101, configuring one of the first and second core particles as a master device and the other core particle as a slave device; S102, when the master device performs cross-chip transmission from the slave device, the unidirectional cross-chip transmission path from the master device to the slave device only needs to send data of the three channels of the write address channel AW, the read address channel AR and the write data channel WDATA, and the remaining two channels of the write reply channel WRSP and the read data channel RDATA do not need to send data, so that the unidirectional cross-chip transmission path from the master device to the slave device is realized through two two-to-one selectors (2) to send the data of the three channels of the write address channel AW, the read address channel AR and the write data channel WDATA and finally transmit it to the slave device; the unidirectional cross-chip transmission path from the slave device to the master device only needs to send data of the two channels of the write reply channel WRSP and the read data channel RDATA, and the three channels of the write address channel AW, the read address channel AR and the write data channel WDATA do not need to send data, so that the unidirectional cross-chip transmission path from the slave device to the master device is realized through two two-to-one selectors (2) to send the data of the two channels of the write reply channel WRSP and the read data channel RDATA and finally transmit it to the master device.

9. A multi-chip processor, comprising a plurality of chips connected via an interconnection interface (5), characterized in that: A device type configurable cross-chiplet transmission circuit oriented to the AXI protocol as described in any one of claims 1 to 7 is arranged between the chiplets.

10. A computer device comprising a microprocessor and a memory connected to each other, characterized in that: The microprocessor is the multi-chip processor according to claim 9.