Core particle and communication method thereof

By introducing an adaptation layer module into the core particles, the sideband request information and the identification field of the completion information is realized, which solves the problem of low communication efficiency of the core particles in the UCIe protocol and improves communication efficiency and processing capabilities.

CN119441101APending Publication Date: 2025-02-14STRANGE MOORE SHANGHAI INTEGRATED CIRCUIT DESIGN CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411263707.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In the UCIe protocol, the communication efficiency between core particles is low, resulting in the registration access operation that requires a strict arbitration mechanism to form a serial processing method, affecting communication efficiency.

Method used

By introducing an adaptation layer into the core, including a remapping module, a register analysis module, a mailbox mechanism processing module and a completion information analysis module, the identification field of the sideband request information and the completion information is realized, allowing a sideband to be sent while a sideband is sent After requesting the information, other sideband request information are sent without waiting for the corresponding sideband completion information to be received.

Benefits of technology

The communication efficiency between core particles is improved, allowing multiple sideband request information to be sent continuously, improving processing efficiency, and ensuring the correct feedback of sideband information to avoid data loss or error processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119441101A_ABST
    Figure CN119441101A_ABST
Patent Text Reader

Abstract

The invention provides a core particle and a communication method thereof. The core particle comprises a core particle main body; the protocol layer is used for generating adaptation layer sideband request information, physical layer sideband request information and mailbox sideband request information, and receiving mailbox sideband completion information fed back according to the mailbox sideband request information; the physical layer is used for generating physical layer sideband completion information according to the physical layer sideband request information, and is also used for receiving far-end sideband request information of a far-end core particle; and an adaptation layer; the adaptation layer sideband completion information, the physical layer sideband completion information, the home-end sideband completion information and the far-end sideband completion information all comprise identification fields, and different sideband completion information corresponds to different identification field ranges; the identification fields of the adaptation layer sideband completion information, the mailbox sideband completion information and the physical layer sideband completion information are in the same identification field range. According to the core particle and the communication method thereof provided by the invention, the communication efficiency of the core particle can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of semiconductors, and in particular to a core particle and a communication method thereof. Background Art

[0002] In the UCIe (Universal Chiplet Interconnect Express) protocol, communication between chiplets usually involves register access sideband requests and sideband completion information. In order to ensure the stability and reliability of communication, the UCIe protocol stipulates that the completion of register access must be associated with the corresponding request. This association ensures that the sideband completion information can be correctly returned to the chiplet that initiated the request, thereby avoiding data loss or incorrect processing.

[0003] Traditional implementation methods usually use physical isolation to separate local register access from remote register access. In this solution, register access operations need to go through a strict arbitration mechanism. After each access request is completed (i.e., the corresponding completion is received), the next register access can be performed. This serial processing method leads to low communication efficiency. Therefore, there is room for improvement. Summary of the invention

[0004] The object of the present invention is to provide a chiplet and a communication method thereof, which can improve the communication efficiency of the chiplet.

[0005] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:

[0006] The present invention provides a core particle, comprising:

[0007] Core particle body;

[0008] The protocol layer is used to generate adaptation layer sideband request information, physical layer sideband request information and mailbox sideband request information, and receive mailbox sideband completion information fed back according to the mailbox sideband request information;

[0009] A physical layer, configured to generate physical layer sideband completion information according to the physical layer sideband request information, and further configured to generate corresponding remote sideband completion information according to the remote sideband request information of the remote core after remapping processing; and

[0010] An adaptation layer, the adaptation layer comprising:

[0011] A remapping module, configured to remap the remote sideband request information and send it to the register analysis module or the physical layer according to the address of the remote sideband request information;

[0012] A register analysis module, used to generate adaptation layer sideband completion information according to the adaptation layer sideband request information, and also used to generate corresponding remote sideband completion information according to the remote sideband request information after remapping;

[0013] A mailbox mechanism processing module, used for generating mailbox sideband completion information according to the mailbox sideband request information, the mailbox mechanism processing module is further used for generating local sideband request information according to the mailbox sideband request information, and sending the local sideband request information to the remote chip through the physical layer, and the remote chip feeds back local sideband completion information according to the local sideband request information;

[0014] A completion information analysis module, configured to send the adaptation layer sideband completion information, the physical layer sideband completion information, the local sideband completion information, the mailbox sideband completion information, and the remote sideband completion information according to the identification field;

[0015] The remapping module is further used to perform mapping recovery processing on the remote sideband completion information, and send the remote sideband completion information after recovery processing to the remote core particle through the physical layer;

[0016] The adaptation layer sideband completion information, the local sideband completion information, and the remote sideband completion information all include an identification field, and different sideband completion information corresponds to different identification field ranges. The identification fields of the adaptation layer sideband completion information, the mailbox sideband completion information, and the physical layer sideband completion information are within the same identification field range.

[0017] In one embodiment of the present invention, a mailbox control register is configured in the mailbox mechanism processing module. When the mailbox mechanism processing module generates mailbox sideband completion information, the status position of the mailbox control register is set to a high position. When the mailbox mechanism processing module receives the local sideband completion information of the remote core particle, the status position of the mailbox control register is set to a low position.

[0018] In one embodiment of the present invention, it also includes a protocol layer sideband signal analysis module, which is used to send the adaptation layer sideband request information to the register analysis module, send the physical layer sideband request information to the physical layer, and send the mailbox sideband request information to the mailbox mechanism processing module according to the addresses of the adaptation layer sideband request information, the physical layer sideband request information and the mailbox sideband request information.

[0019] In one embodiment of the present invention, a physical layer sideband signal analysis module is also included, and the physical layer sideband signal analysis module sends the physical layer sideband completion information and the local sideband completion information to the completion information analysis module, and sends the remote sideband request information to the remapping module.

[0020] In one embodiment of the present invention, an arbitration module is also included. The arbitration module arbitrates the physical layer sideband request information, the local sideband request information, the remote sideband request information and the remote sideband completion information through a polling scheduling mechanism and sends them to the physical layer.

[0021] In one embodiment of the present invention, a remapping register table is configured in the remapping module, and the remapping register table is configured with original fields and mapping fields. The remapping module writes the identification field in the remote sideband request information into the original field, and remaps the identification field in the remote sideband request information according to the mapping field to write the mapping field into the identification field of the remote sideband request information.

[0022] In an embodiment of the present invention, the remapping module remaps the identification fields thereof in sequence according to the order of the received remote sideband request information to generate a plurality of continuous mapping fields.

[0023] In one embodiment of the present invention, after the latest mapping field reaches the upper limit of the mapping field range, the identification field of the next remote sideband request information is remapped to the lower limit of the mapping field range and written into the corresponding remapping register table.

[0024] In one embodiment of the present invention, the remapping module is further configured to read the corresponding remapping register table according to the mapping field in the remote sideband completion information, so as to perform mapping recovery processing on the mapping field in the remote sideband completion information.

[0025] The present invention also provides a core-grain communication method, which is applied to the core-grain, wherein the core-grain is divided into a local core-grain and a remote core-grain, wherein the local core-grain includes a core-grain body, a protocol layer, a physical layer, and an adaptation layer, wherein the adaptation layer includes a register analysis module, a mailbox mechanism processing module, a remapping module, and a completion information analysis module, and wherein the communication method includes:

[0026] The protocol layer generates adaptation layer sideband request information, physical layer sideband request information and mailbox sideband request information;

[0027] The physical layer generates physical layer sideband completion information according to the physical layer sideband request information;

[0028] The register analysis module generates adaptation layer sideband completion information according to the adaptation layer sideband request information;

[0029] The mailbox mechanism processing module generates mailbox sideband completion information according to the mailbox sideband request information. The mailbox mechanism processing module also generates local sideband request information according to the mailbox sideband request information, and sends the local sideband request information to the remote chip through the physical layer. The remote chip feeds back local sideband completion information according to the local sideband request information.

[0030] The remapping module remaps the remote sideband request information and sends it to the register analysis module or the physical layer according to the address of the remote sideband request information;

[0031] The register analysis module or the physical layer generates corresponding remote sideband completion information according to the remote sideband request information after the remapping process;

[0032] The completion information analysis module sends the adaptation layer sideband completion information, the physical layer sideband completion information, the local sideband completion information, the mailbox sideband completion information and the remote sideband completion information according to the identification field, wherein the adaptation layer sideband completion information, the local sideband completion information and the remote sideband completion information all include an identification field, and different sideband completion information corresponds to different identification field ranges, and the identification fields of the adaptation layer sideband completion information, the mailbox sideband completion information and the physical layer sideband completion information are within the same identification field range;

[0033] The remapping module performs mapping recovery processing on the remote sideband completion information, and sends the remote sideband completion information after recovery processing to the remote core particle through the physical layer.

[0034] As described above, the present invention provides a chiplet and a communication method thereof, by associating the identification field of the sideband request information with the corresponding completion information, when sending a sideband request information, other sideband request information can be sent without waiting for the corresponding sideband completion information to be received. By setting the identification field in the sideband request information of the local chiplet accessing the local chiplet, the local chiplet accessing the remote chiplet, and the remote chiplet accessing the local chiplet within different field ranges, multiple sideband request information can be made to not affect each other, and then multiple sideband request information can be sent continuously, which can not only improve the processing efficiency, but also the sideband completion information can be correctly fed back, thereby avoiding data loss or erroneous processing.

[0035] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0037] Figure 1 It is a schematic diagram of the adaptation layer of the core particle at the end in one embodiment of the present invention;

[0038] Figure 2 The figure is a flow chart of a communication method of a core particle in one embodiment of the present invention.

[0039] In the figure:

[0040] 10. Communication interface; 11. First communication interface; 12. Second communication interface;

[0041] 20. Protocol layer sideband signal analysis module;

[0042] 30. Register analysis module;

[0043] 40. Mailbox mechanism processing module;

[0044] 50. Arbitration module;

[0045] 60. Complete the information analysis module;

[0046] 70. Remapping module;

[0047] 80. Physical layer sideband signal analysis module;

[0048] 90. Transmission interface. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] The present invention provides a chiplet, which can be a processor chiplet, a memory chiplet, an I / O chiplet, etc. Multiple chiplets with different functions can be packaged into a chip to improve the performance of the chip. The chiplets can be interconnected through the UCIe (Universal Chiplet Interconnect Express) protocol to form a fully functional system. The UCIe protocol supports high-speed data transmission, ensuring high bandwidth and low latency for data exchange between chiplets.

[0051] In one embodiment, the chiplet may include a chiplet body, UCIe and other high-speed interface modules. UCIe may include a UCIe protocol layer, a UCIe adapter layer and a UCIe physical layer.

[0052] Specifically, the core particle body refers to the core functional modules inside the core particle, such as computing units, storage units or dedicated processing units (such as AI accelerators, GPU cores, etc.). These core functional modules are responsible for executing the main computing tasks of the core particle.

[0053] Furthermore, the UCIe protocol layer is responsible for managing the mapping of communication protocols between core particles and determining the message format. It specifies the characteristics of the transmission protocol between core particles, the packaging and retransmission of UCIe messages, etc. The protocol layer can ensure that different core particles can understand the data sent by each other and can work together effectively. The protocol layer may include various standardized protocols, such as the UCIe protocol, for interconnection between core particles.

[0054] Furthermore, the UCIe adaptation layer is responsible for UCIe state management and parameter negotiation between the protocol layer and the physical layer. The adaptation layer can convert data packets of the protocol layer into a data format suitable for physical transmission, or vice versa. The adaptation layer can ensure that the data defined by the protocol layer can be transmitted through the physical layer, and handle the compatibility issues of signals, timing and transmission formats.

[0055] Furthermore, the UCIe physical layer is the training management of the link status between core particles and the actual data transmission channel. The physical layer defines the electrical and mechanical characteristics of the transmission signal, such as voltage, current, clock signal, physical interconnection medium (such as metal wire, optical fiber), etc. The physical layer can convert the data of the adaptation layer into actual physical signals and transmit them between core particles through hardware channels. The physical layer is the lowest layer of data transmission and directly affects the transmission rate, bandwidth and reliability of the physical connection.

[0056] Furthermore, the protocol layer can only send sideband requests downward (i.e. to the adaptation layer and the physical layer), but cannot receive sideband requests from the lower layer (adaptation layer or physical layer). This one-way communication mechanism is specified in the UCIe protocol, that is, the upper layer module (protocol layer) can access the lower layer module (adaptation layer and physical layer) through sideband signals, but the lower layer module cannot access the upper layer module in reverse. In the UCIe protocol, the protocol layer is the key layer for processing and managing data flows, and is responsible for directing data flows to the adaptation layer and the physical layer. The adaptation layer and the physical layer focus on data transmission and physical implementation.

[0057] See also Figure 1 In one embodiment, the adaptation layer may include a communication interface 10 (Flit-aware Die-to-Die Interface, FDI_IF), a protocol layer sideband signal analysis module 20 (protocol sieband analysis, Prot_sb_analysis), a register analysis module 30 (register analysis, reg_analysis), a mailbox mechanism processing module 40 (adapter mailbox, adp_mailbox), an arbitration module 50 (Arbiter), a completion information analysis module 60 (completion analysis, cpl_analysis), a remapping module 70 (tag_remap), a physical layer sideband signal analysis module 80 (physicallayer sideband analysis, Phy_sb_analysis) and a transmission interface 90 (Raw D2D interface, RDI_IF).

[0058] In one embodiment, the communication interface 10 refers to an interface between a data and control interface for system applications, and is specifically used for data interaction between the protocol layer and the adaptation layer. The FDI interface communicates according to the signal state and handshake mechanism defined by the UCIe protocol to ensure reliable transmission of data between core particles.

[0059] Further, the communication interface 10 may include a first communication interface 11 (FDI_IF0) and a second communication interface 12 (FDI_IF1). The first communication interface 11 and the second communication interface 12 refer to two independent FDI interfaces. Each interface connects the protocol layer and the adaptation layer, allowing communication between them, and further allowing two independent protocol layer stacks to run on the same adaptation layer.

[0060] Furthermore, the first communication interface 11 can be an interface connecting stack 0 (UCIe protocol layerstack0) of the protocol layer and the adaptation layer. Stack 0 is interconnected with the adaptation layer through the FDI_IF0 interface, so as to send the processed data to the physical layer or receive data from the physical layer. This interface is responsible for the management of the data flow of stack 0. The second communication interface 12 is similar to the first communication interface 11. The second communication interface 12 connects stack 1 of the protocol layer and the adaptation layer. Stack 1 interacts with the adaptation layer through the FDI_IF1 interface to process independent data streams. Among them, stack 0 and stack 1 refer to two independent instances of the protocol layer. Each stack contains a complete logical process for processing data transmission, such as data packaging, error checking, etc. The two stacks can run in parallel to process different data streams.

[0061] In one embodiment, the protocol layer sideband signal parsing module 20 may be responsible for parsing information such as a target address and a destination ID from a sideband request, and distributing the sideband request information to different target modules based on the target address and the destination ID.

[0062] Specifically, if the sideband request information of the local chiplet targets access to the remote chiplet, the protocol layer sideband signal parsing module 20 will send the sideband request information to the mailbox mechanism processing module 40 in the adaptation layer. The mailbox mechanism processing module 40 can be responsible for processing cross-chiplet communication requests and passing the information to the remote chiplet.

[0063] Further, if the target of the sideband request information is to access the physical layer, the protocol layer sideband signal parsing module 20 will send the sideband request information to the physical layer arbitration module 50. The arbitration module 50 can generally be responsible for arbitrating and managing the transmission of multiple sideband request information and sideband completion information on the physical layer, ensuring that these signals are sent to the physical layer according to a certain priority.

[0064] Furthermore, if the sideband request information targets accessing a register or storage unit in the adaptation layer, the protocol layer sideband signal analysis module 20 will send the sideband request information to the register analysis module 30. The register analysis module 30 can be responsible for parsing and processing requests related to the adaptation layer.

[0065] In one embodiment, the register analysis module 30 can parse the sideband request information from the protocol layer and the sideband request information of the remote core to access the registers and storage space in the adaptation layer. Specifically, the register analysis module 30 is responsible for receiving and parsing the sideband request information, and accessing the relevant registers or storage space in the adaptation layer according to the target address and destination ID and other information in the sideband request information. After successfully accessing the registers and / or storage space, the register analysis module 30 will package these data into sideband completion information (sideband completion) defined by the standard UCIe protocol. The sideband completion information is a response to the sideband request information, which contains basic data information of the access register or storage space response. Subsequently, the register analysis module 30 can send the sideband completion information to the completion information analysis module 60.

[0066] In one embodiment, the mailbox mechanism processing module 40 is mainly responsible for processing the sideband request information from the protocol layer, which accesses the mailbox configuration register (mail_box register) interacting with the remote core (connected via the UCIe protocol). The role of the mailbox mechanism processing module 40 is to generate corresponding sideband completion information and initiate a request signal to access the remote core according to the configuration information of the mailbox configuration register. At the same time, the sideband completion information returned by the relevant remote core is processed and the relevant mailbox configuration register is updated.

[0067] Specifically, after receiving the mailbox sideband request information, the mailbox mechanism processing module 40 generates a mailbox sideband completion information. The mailbox sideband completion information is a direct response of the mailbox mechanism processing module 40 to the protocol layer request. The mailbox sideband completion information can correspond to the mailbox sideband request information and provide the feedback required by the protocol layer, including operation results, status information, etc. The interaction process between the mailbox sideband completion information and the mailbox sideband request information is internal and is only transmitted between the protocol layer and the adaptation layer of the local core particle.

[0068] Furthermore, after receiving the mailbox sideband request information, the mailbox mechanism processing module 40 parses out the fields and writes them into the mailbox configuration register, and generates the mailbox sideband completion information and sends it to the completion information analysis module 60. At the same time, the local sideband request information is generated according to the mailbox configuration register and sent to the arbitration module 50. When the remote chip receives the local sideband request information, it will perform corresponding operations to access the relevant registers or storage space, and generate a local sideband completion information. The local sideband completion information can be returned to the local chip through the UCIe protocol. After receiving this local sideband completion information, the mailbox mechanism processing module 40 will parse it and write the data or status into the relevant mailbox configuration register. After the writing process is completed, the protocol layer can obtain the data of the register or storage space of the remote chip by accessing the corresponding mailbox configuration register.

[0069] Furthermore, before the mailbox mechanism processing module 40 receives the local sideband completion information, the protocol layer cannot obtain whether the mailbox mechanism processing module 40 has received the local sideband completion information. At this time, the protocol layer needs to enable the polling mechanism and periodically check the status of the mailbox mechanism processing module 40. During each polling, the mailbox mechanism processing module 40 will return a mailbox sideband completion information to respond to the previous request. When the mailbox processing mechanism module 40 receives the status confirming the receipt of the local sideband completion information, it can read the data register in the mailbox configuration register, and it will return the completed local sideband completion information to the protocol layer, ending the operation of accessing the remote chip register or storage space.

[0070] In one embodiment, the arbitration module 50 can schedule and arbitrate the sideband request information and sideband completion information from different modules, and then send these information (i.e., sideband signals) to the physical layer for further processing or transmission. For example, the arbitration module 50 can process the sideband request information from the protocol layer sideband signal parsing module 20. The arbitration module 50 can also process the local sideband request information from the mailbox mechanism processing module 40. The arbitration module 50 can also process the sideband request information and sideband completion information from the remapping module 70.

[0071] Specifically, the arbitration module 50 may use a round-robin scheduling mechanism to schedule and arbitrate different sideband request information and sideband completion information. The round-robin scheduling mechanism can fairly process requests from different sources in a cyclic order, so that the arbitration module 50 can process the sideband request information and the sideband completion information in sequence, ensuring that each information has a chance to be processed, and there will be no situation where a certain information is not processed for a long time.

[0072] Further, based on the polling scheduling mechanism, the arbitration module 50 can arbitrate all received requests and sideband completion information to determine the priority, processing order, etc. of these information. After the arbitration is completed, the arbitration module 50 can send these sideband signals to the physical layer for final transmission or execution.

[0073] In one embodiment, the completion information analysis module 60 can receive, parse and verify sideband completion information from different modules and physical layers. These sideband completion information may originate from the mailbox mechanism processing module 40, the register analysis module 30 or the remote core. The completion information analysis module 60 first parses the received sideband completion information. The sideband completion information is usually in a standard format defined by the UCIe protocol, including multiple fields, such as tag fields, status information, data, etc. The completion information analysis module 60 module needs to accurately parse these fields to extract useful information. Subsequently, the completion information analysis module 60 verifies the sideband completion information to ensure its integrity and correctness. This may include checking whether the data has errors, whether the completion status meets expectations, whether the tag field is correct, etc. The verification process ensures the reliability of the system and avoids failures or instability caused by erroneous information.

[0074] Furthermore, the tag field in the sideband completion information is usually used to identify the association between the sideband request information and the sideband completion information. The tag field can help the completion information analysis module 60 to correctly route the sideband completion information to the corresponding request source. According to the tag domain segment where the tag field is located, the completion information analysis module 60 will determine which module the sideband completion information should be sent to for processing based on the tag field.

[0075] In one embodiment, the remapping module 70 can remap the original tag field in the remote sideband request information sent by the remote core, and restore the tag field of the sideband completion information. By remapping the tag, the information can be managed and routed more flexibly.

[0076] Specifically, when the remapping module 70 receives the remote sideband request information sent by the remote core, it processes the original tag field therein, and reallocates or changes the tag value so that the request can be correctly routed to the target module. After remapping the tag field, the remapping module 70 also needs to decide which module to send the request to based on the address information in the sideband request information.

[0077] Further, if the target address and the destination ID of the remote sideband request information sent by the remote chip point to the adaptation layer, the remapping module 70 will send the sideband request information to the register analysis module 30. If the target address and the destination ID of the remote sideband request information sent by the remote chip point to the physical layer, the remapping module 70 will send the sideband request information to the arbitration module 50 to let it decide how to further process these requests.

[0078] Furthermore, when a module generates a sideband completion message, the sideband completion message may contain a remapped tag field. In order to ensure that the sideband completion message can be correctly identified and processed, the remapping module 70 restores the tag field in the sideband completion message to the original tag value. After restoring the tag field, the remapping module 70 sends the sideband completion message to the arbitration module 50. The arbitration module 50 is responsible for scheduling and further processing these sideband completion messages, and finally transmitting them to the remote core.

[0079] In one embodiment, the physical layer sideband signal analysis module 80 can analyze and classify the sideband signals received by the physical layer. The information transmitted by the physical layer may include sideband request information and sideband completion information, and the physical layer sideband signal analysis module 80 can identify and correctly route these information.

[0080] Specifically, when the sideband signal transmitted by the physical layer is a sideband request message, the physical layer sideband signal parsing module 80 can send the sideband request message to the remapping module 70. After receiving the sideband request message, the remapping module 70 will remap the tag field therein and further determine the routing direction of the information according to the target address and destination ID of the request.

[0081] Furthermore, when the sideband signal transmitted by the physical layer is a sideband completion message, the physical layer sideband signal analysis module 80 can send the sideband completion message to the completion message analysis module 60. The completion message analysis module 60 will further parse and verify the sideband completion message, and route them to the corresponding target module according to the tag field segment to ensure that the request can be correctly completed.

[0082] In one embodiment, the transmission interface 90 is a standardized interface defined in the UCIe protocol and is used for communication between the adaptation layer and the physical layer. The transmission interface 90 can realize the communication of mainband signals, sideband signals and related control handshake signals between the adaptation layer and the physical layer.

[0083] Furthermore, the transmission interface 90 may adopt a handshake mechanism. The handshake mechanism refers to the communication handshake process between the adaptation layer and the physical layer to ensure that data or requests are correctly interacted between the adaptation layer and the physical layer. The handshake mechanism includes the adaptation layer or the physical layer initiating a communication request or transmitting data, and the receiver indicating that the request or data has been successfully received through a confirmation signal. The handshake mechanism ensures that each transmission between the adaptation layer and the physical layer is accurate and reliable, preventing data loss or erroneous transmission.

[0084] See also Figure 1In one embodiment, when the protocol layer of the local chip needs to access the internal adaptation layer or physical layer, at this time, the protocol layer of the local chip can be used to generate adaptation layer sideband request information and physical layer sideband request information to obtain corresponding adaptation layer sideband completion information and physical layer sideband completion information. When the local chip needs to access the remote chip, at this time, the local chip accesses the UCIe register or storage space of the remote chip through the register of the mailbox processing mechanism module 40, and then obtains the value of the remote chip UCIe register access or storage space by reading and writing the register of the mailbox processing mechanism module 40. When the remote chip needs to access the UCIe register or storage space of the local chip, the remote chip can generate remote sideband request information to access the local chip to access the local chip. The local chip UCIe generates the corresponding local sideband completion information.

[0085] In one embodiment, when the protocol layer of the local core particle sends out a sideband request message, the corresponding sideband completion message will be obtained. In order to be able to quickly and efficiently distinguish which module the sideband completion message is sent from, an identification field can be set in both the sideband request message and the corresponding sideband completion message, and the identification field in the sideband request message and the corresponding sideband completion message can be the same. Among them, the tag field in the UCIe protocol sideband information can quickly distinguish which module the remote sideband request message corresponding to the remote sideband completion message is sent from.

[0086] Furthermore, in order to facilitate the distinction between different sideband completion information, different sideband completion information may correspond to different identification field ranges. For example, the identification field (tag) in the UCIe protocol may be between the binary range of 00000 and 11111, that is, between the decimal range of 0 and 31. At this time, the identification field may be divided into different identification field ranges according to different sideband request information. The above-mentioned sideband completion information may be distinguished into adaptation layer sideband completion information, local sideband completion information, and remote sideband completion information. At this time, the identification field may be divided into three different identification field ranges so that different sideband completion information corresponds to different identification field ranges. Among them, the identification fields of the adaptation layer sideband completion information, the mailbox sideband completion information, and the physical layer sideband completion information may be within the same identification field range.

[0087] Furthermore, three different identification field ranges can be divided into a first field range, a second field range, and a third field range. For example, the first field range can be expressed as 00000-00111, that is, 0-7. The second field range can be expressed as 01000-01111, that is, 8-15. The third field range can be expressed as 10000-11111, that is, 16-31. For another example, the first field range can be expressed as 10000-10111, the second field range can be expressed as 11000-11111, and the third field range can be expressed as 00000-01111. Of course, the specific field ranges can be unrestricted here, as long as the first field range includes 8 identification fields, the second field range includes 8 identification fields, and the third field range includes 16 identification fields.

[0088] Furthermore, the adaptation layer sideband completion information may correspond to the third field range. The local sideband completion information may correspond to one of the first field range and the second field range. The remote sideband completion information may also correspond to one of the first field range and the second field range. Of course, the specific correspondence relationship may not be limited, as long as different sideband completion information can correspond to different identification field ranges.

[0089] Furthermore, in order to enable different sideband completion information to be sent to the corresponding modules, the corresponding modules need to be limited. In this embodiment, the first communication interface 11, the second communication interface 12, the mailbox mechanism processing module 40 and the remapping module 70 need to be limited. For example, the tag value of the sideband completion information that the remapping module 70 can receive needs to be within the first field range. The tag value of the sideband completion information that the mailbox mechanism processing module 40 can receive needs to be within the second field range. The tag value of the sideband completion information that the first communication interface 11 and the second communication interface 12 can receive needs to be within the third field range. Of course, the specific correspondence relationship can be unrestricted, as long as it can satisfy that different sideband completion information can be correctly sent to the corresponding modules.

[0090] In one embodiment, the remote sideband completion information corresponds to the first field range, the local sideband completion information corresponds to the second field range, the adaptation layer sideband completion information, the mailbox sideband completion information, and the physical layer sideband completion information correspond to the third field range. When the protocol layer of the local core needs to access the adaptation layer, the protocol layer can generate the adaptation layer sideband request information.

[0091] First, since the identification field (tag field) in the adaptation layer sideband completion information is within the range of the third field, and the tag value of the sideband completion information that can be received by the first communication interface 11 needs to be within the range of the third field. Therefore, the adaptation layer sideband request information can be sent to the protocol layer sideband signal analysis module 20 through the first communication interface 11. At this time, the protocol layer sideband signal analysis module 20 can identify the target address and destination ID and other information in the adaptation layer sideband request information to send it to the register analysis module 30. Among them, if the adaptation layer register or storage space of the local core particle is accessed, the protocol layer sideband signal analysis module 20 sends the sideband request information to the register analysis module 30. If the physical layer register or storage space of the local core particle is accessed, the protocol layer sideband signal analysis module 20 sends the sideband request information to the register arbitration module 50. If the mailbox processing mechanism module 40 is accessed (i.e., the remote core particle is accessed), the protocol layer sideband signal analysis module 20 sends the sideband request information to the mailbox processing mechanism module 40. If the accessed address is an illegal address segment, the protocol layer sideband signal parsing module 20 returns a sideband completion message of an unsupported type.

[0092] Subsequently, the register analysis module 30 may parse the adaptation layer sideband request information and access the relevant registers or storage space in the adaptation layer. After successfully accessing the registers and / or storage space, the corresponding adaptation layer sideband completion information may be generated.

[0093] Finally, the adaptation layer sideband completion information can be sent to the completion information analysis module 60 by the register analysis module 30. Since the identification field (tag field) in the adaptation layer sideband completion information is within the third field range, at this time, the completion information analysis module 60 can feed back the adaptation layer sideband completion information to the protocol layer through the first communication interface 11 or the second communication interface 12.

[0094] In one embodiment, when the protocol layer of the local core needs to access the physical layer, the protocol layer may generate physical layer sideband request information.

[0095] First, since the identification field (tag field) in the physical layer sideband completion information is within the range of the third field, and the tag value of the sideband completion information that can be received by the second communication interface 12 needs to be within the range of the third field. Therefore, the physical layer sideband request information can be sent to the protocol layer sideband signal parsing module 20 through the second communication interface 12. The protocol layer sideband signal parsing module 20 can identify the target address and destination ID in the physical layer sideband request information to send it to the arbitration module 50.

[0096] Subsequently, the arbitration module 50 may send the physical layer sideband request information to the physical layer through the transmission interface 90. The physical layer may parse the physical layer sideband request information and access the relevant registers or storage space in the physical layer. After successfully accessing the registers and / or storage space, the corresponding physical layer sideband completion information may be generated.

[0097] Finally, the physical layer sideband completion information can be sent to the completion information analysis module 60 in sequence through the transmission interface 90 and the physical layer sideband signal analysis module 80. Since the identification field (tag field) in the physical layer sideband completion information is within the range of the third field, at this time, the completion information analysis module 60 can feed back the physical layer sideband completion information to the protocol layer through the first communication interface 11 or the second communication interface 12.

[0098] In one embodiment, when the protocol layer of the local core particle needs to access the remote core particle, the protocol layer may generate a mailbox sideband request message.

[0099] First, the identification field of the mailbox sideband request information is within the range of the third field. The mailbox sideband request information can be sent to the protocol layer sideband signal parsing module 20 through the first communication interface 11 or the second communication interface 12. At this time, the protocol layer sideband signal parsing module 20 can identify the target address and other information in the mailbox processing mechanism module 40 (i.e., the mailbox sideband request information) to send it to the mailbox processing mechanism module 40.

[0100] Subsequently, after receiving the mailbox sideband request information, the mailbox mechanism processing module 40 generates a mailbox sideband completion information. The mailbox sideband completion information can be sent to the completion information analysis module 60. Since the mailbox sideband completion information has the same identification field as the mailbox sideband request information, the completion information analysis module 60 can send it to the corresponding interface according to the tag field corresponding to the first communication interface 11 or the second communication interface 12.

[0101] Furthermore, a mailbox control register may be configured in the mailbox mechanism processing module 40. After the mailbox mechanism processing module 40 receives the mailbox sideband request information, the status bit of the mailbox control register in the mailbox processing mechanism module 40 may be set to a high position (i.e., 1), and at the same time, the mailbox processing mechanism module 40 generates a local sideband request information for accessing the remote chiplet and sends it to the arbitration module 50. At this time, the identification field of the local sideband request information is within the second field range. The arbitration module 50 may send the local sideband request information to the remote chiplet through the transmission interface 90 and the physical layer in sequence.

[0102] Furthermore, after receiving the local sideband request information, the remote core can feedback the corresponding local sideband completion information. At this time, the local sideband completion information can be sent to the completion information analysis module 60 through the physical layer, the transmission interface 90, and the physical layer sideband signal analysis module 80 in sequence. Since the identification field (tag field) in the local sideband completion information is within the second field range, and the tag value of the sideband completion information that the mailbox mechanism processing module 40 can receive needs to be within the second field range. Therefore, the completion information analysis module 60 can send it to the mailbox mechanism processing module 40 according to the identification field (tag field) in the local sideband completion information.

[0103] Furthermore, after the local sideband request information is sent to the remote core particle, since it takes a certain amount of time to obtain the feedback local sideband completion information, during this period of time, the protocol layer cannot understand whether the mailbox mechanism processing module 40 has received the local sideband completion information. At this time, the protocol layer can periodically send and read the mailbox control register in the mailbox processing mechanism module 40. Each time the mailbox processing mechanism module 40 receives the mailbox sideband request information, it needs to feedback the corresponding mailbox sideband completion information to the protocol layer. When the status bit of the mailbox control register is set to a low position (i.e., reset to 0), it indicates that the local sideband completion information sent by the remote core particle has been received and written into the relevant register. The protocol layer can obtain relevant information for accessing the remote core particle by reading the relevant register.

[0104] In one embodiment, when the remote core needs to access the local core, the remote core can generate remote sideband request information to access the local core. The remote sideband request information can be sent to the remapping module 70 through the physical layer, the transmission interface 90, and the physical layer sideband signal analysis module 80 in sequence. Since the identification field (tag field) in the remote sideband request information may be any value from 0 to 31, in order to prevent the identification field of the remote sideband request information from conflicting with the remote sideband request information representation field generated by the local core, at this time, the remapping module 70 can remap the identification field in the remote sideband request information to map its identification field to the first field range.

[0105] Further, a remapping register table may be configured in the remapping module 70. The remapping register table may be configured with an original field and a mapping field. The original field may be used to write the original identification field in the remote sideband request information. The mapping field may remap the identification field in the remote sideband request information. Among them, the number of remapping register tables may be unlimited, and the number may be the same as the number of fields in the first field range, for example, 8. The remapping register table may be an 8-bit wide register. The original field of the remapping register table may be 5 bits wide, which may correspond to the original identification field in the remote sideband request information. The mapping field of the remapping register table may be 3 bits wide.

[0106] Furthermore, after remapping the identification field in the remote sideband request information, the remapping module 70 may write the mapping field into the identification field to replace the identification field. At this time, the mapping field in the remote sideband request information is within the first field range. Since the access location of the remote sideband request information may be the adaptation layer or the physical layer, the remapping module 70 may send the remote sideband request information to the register analysis module 30 or the arbitration module 50 (it is also possible to access these two modules at the same time) according to the target address and other information of the remote sideband request information.

[0107] Furthermore, when it is determined that it needs to access the adaptation layer, the remapping module 70 can send it to the register analysis module 30, and the register analysis module 30 can generate corresponding remote sideband completion information according to the remote sideband request information. At this time, the remote sideband completion information can be fed back to the completion information analysis module 60 through the register analysis module 30.

[0108] Furthermore, when it is determined that it needs to access the physical layer, the remapping module 70 can send it to the arbitration module 50, and the arbitration module 50 can send it to the physical layer through the transmission interface 90, and the physical layer can generate corresponding remote sideband completion information according to the remote sideband request information. At this time, the remote sideband completion information can pass through the transmission interface 90 and the physical layer sideband signal analysis module 80 in sequence, and be fed back to the completion information analysis module 60.

[0109] Furthermore, since the mapping field in the remote sideband completion information is within the first field range, and the tag value of the sideband completion information that the remapping module 70 can receive needs to be within the first field range. Therefore, the completion information analysis module 60 can send it to the remapping module 70 according to the mapping field (tag field) in the remote sideband completion information. Since the remote core needs to read its original identification field when receiving the remote sideband completion information, the remapping module 70 needs to perform mapping recovery processing on the mapping field of the remote sideband completion information to restore it to the original identification field. Specifically, the mapping field of the remote sideband completion information is the same as the mapping field in a certain remapping register table. Therefore, the original field in the corresponding remapping register table can be read according to the mapping field in the remote sideband completion information to perform mapping recovery processing on the mapping field in the remote sideband completion information. Subsequently, the remote sideband completion information can be fed back to the remote core through the arbitration module 50, the transmission interface 90 and the physical layer in sequence.

[0110] In one embodiment, since the number of remote sideband request information sent by the remote core may be multiple, the remapping module 70 can remap its identification field in sequence according to the order of the received remote sideband request information to generate multiple continuous mapping fields. For example, the mapping field of the first remote sideband request information can be 000, and the first remote sideband request information can correspond to the first remapping register table. The mapping field of the second remote sideband request information can be 001, and the second remote sideband request information can correspond to the second remapping register table. By analogy, the mapping field of the eighth remote sideband request information can be 111, and the eighth remote sideband request information can correspond to the eighth remapping register table.

[0111] Furthermore, since the number of remapping register tables is fixed, after the mapping field of a certain remote sideband request information reaches the upper limit of the mapping field range (i.e., 111), the identification field of the next remote sideband request information can be remapped to the lower limit of the mapping field range (i.e., 000) and written into the corresponding remapping register table, i.e., the first remapping register table. Subsequently, for other remote sideband request information, the remapping process can be re-performed in sequence in the above order and written into the corresponding remapping register table in sequence.

[0112] It can be seen that in the above scheme, by associating the identification field of the sideband request information with the corresponding completion information, after sending a sideband request information, other sideband request information can be sent without waiting for the corresponding sideband completion information to be received. By setting the identification field in the sideband request information of the local chip grain accessing the local chip grain, the local chip grain accessing the remote chip grain, and the remote chip grain accessing the local chip grain within different field ranges, multiple sideband request information can be made to have no influence on each other, and then multiple sideband request information can be sent continuously, which can not only improve the processing efficiency, but also the sideband completion information can be correctly fed back, thereby avoiding data loss or erroneous processing.

[0113] See also Figure 2 The present invention also discloses a communication method of a core particle, which can be applied to the core particles mentioned above. The core particles are divided into local core particles and remote core particles. The local core particles include a core particle body, a protocol layer, a physical layer and an adaptation layer. The adaptation layer includes a register analysis module, a mailbox mechanism processing module, a remapping module, and a completion information analysis module. The communication method includes:

[0114] Step S10: The protocol layer generates an adaptation layer sideband request message, a physical layer sideband request message, and a mailbox sideband request message;

[0115] Step S20: The physical layer generates physical layer sideband completion information according to the physical layer sideband request information, and receives remote sideband request information from the remote chip;

[0116] Step S30: the register analysis module generates adaptation layer sideband completion information according to the adaptation layer sideband request information;

[0117] Step S40: The mailbox mechanism processing module generates mailbox sideband completion information according to the mailbox sideband request information. The mailbox mechanism processing module also generates local sideband request information according to the mailbox sideband request information, and sends the local sideband request information to the remote chip through the physical layer. The remote chip feeds back local sideband completion information according to the local sideband request information.

[0118] Step S50: The remapping module remaps the remote sideband request information, and sends it to the register analysis module or the physical layer according to the address of the remote sideband request information to generate corresponding remote sideband completion information;

[0119] Step S60, the completion information analysis module sends the adaptation layer sideband completion information, the physical layer sideband completion information, the local sideband completion information, the mailbox sideband completion information and the remote sideband completion information according to the identification field, wherein the adaptation layer sideband completion information, the local sideband completion information and the remote sideband completion information all include the identification field, and different sideband completion information corresponds to different identification field ranges, and the identification fields of the adaptation layer sideband completion information, the mailbox sideband completion information and the physical layer sideband completion information may be within the same identification field range;

[0120] Step S70: The remapping module performs mapping recovery processing on the remote sideband completion information, and sends the remote sideband completion information after the recovery processing to the remote chip through the physical layer.

[0121] The embodiments of the present invention disclosed above are only used to help illustrate the present invention. The embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A core particle, characterized in that: include: Core particle body; The protocol layer is used to generate adaptation layer sideband request information, physical layer sideband request information and mailbox sideband request information, and receive mailbox sideband completion information fed back according to the mailbox sideband request information; The physical layer is used to generate physical layer sideband completion information according to the physical layer sideband request information, and is also used to generate corresponding remote sideband completion information according to the remote sideband request information of the remote core after remapping processing; as well as An adaptation layer, the adaptation layer comprising: A remapping module, configured to remap the remote sideband request information and send it to the register analysis module or the physical layer according to the address of the remote sideband request information; A register analysis module, used to generate adaptation layer sideband completion information according to the adaptation layer sideband request information, and also used to generate corresponding remote sideband completion information according to the remote sideband request information after remapping; A mailbox mechanism processing module, used for generating mailbox sideband completion information according to the mailbox sideband request information, the mailbox mechanism processing module is further used for generating local sideband request information according to the mailbox sideband request information, and sending the local sideband request information to the remote chip through the physical layer, and the remote chip feeds back local sideband completion information according to the local sideband request information; A completion information analysis module, configured to send the adaptation layer sideband completion information, the physical layer sideband completion information, the local sideband completion information, the mailbox sideband completion information, and the remote sideband completion information according to the identification field; The remapping module is further used to perform mapping recovery processing on the remote sideband completion information, and send the remote sideband completion information after recovery processing to the remote core particle through the physical layer; The adaptation layer sideband completion information, the local sideband completion information, and the remote sideband completion information all include an identification field, and different sideband completion information corresponds to different identification field ranges. The identification fields of the adaptation layer sideband completion information, the mailbox sideband completion information, and the physical layer sideband completion information are within the same identification field range.

2. The core particle according to claim 1, characterized in that The mailbox mechanism processing module is configured with a mailbox control register. When the mailbox mechanism processing module generates mailbox sideband completion information, the status position of the mailbox control register is set to a high position. When the mailbox mechanism processing module receives the local sideband completion information of the remote core particle, the status position of the mailbox control register is set to a low position.

3. The core particle according to claim 1, characterized in that It also includes a protocol layer sideband signal analysis module, which is used to send the adaptation layer sideband request information to the register analysis module, send the physical layer sideband request information to the physical layer, and send the mailbox sideband request information to the mailbox mechanism processing module according to the addresses of the adaptation layer sideband request information, the physical layer sideband request information and the mailbox sideband request information.

4. The core particle according to claim 1, characterized in that It also includes a physical layer sideband signal analysis module, which sends the physical layer sideband completion information and the local sideband completion information to the completion information analysis module, and sends the remote sideband request information to the remapping module.

5. The core particle according to claim 1, characterized in that It also includes an arbitration module, which arbitrates the physical layer sideband request information, local sideband request information, remote sideband request information and remote sideband completion information through a polling scheduling mechanism and sends them to the physical layer.

6. The core particle according to claim 1, characterized in that The remapping module is configured with a remapping register table, and the remapping register table is configured with original fields and mapping fields. The remapping module writes the identification field in the remote sideband request information into the original field, and remaps the identification field in the remote sideband request information according to the mapping field to write the mapping field into the identification field of the remote sideband request information.

7. The core particle according to claim 6, characterized in that The remapping module remaps the identification fields in sequence according to the order of the received remote sideband request information to generate a plurality of continuous mapping fields.

8. The core particle according to claim 7, characterized in that After the latest mapping field reaches the upper limit of the mapping field range, the identification field of the next remote sideband request information is remapped to the lower limit of the mapping field range and written into the corresponding remapping register table.

9. The core particle according to claim 6, characterized in that The remapping module is further configured to read the corresponding remapping register table according to the mapping field in the remote sideband completion information, so as to perform mapping recovery processing on the mapping field in the remote sideband completion information.

10. A chiplet communication method, characterized in that: Applied in a core particle, the core particle is the core particle according to any one of claims 1 to 9, the core particle is divided into a local core particle and a remote core particle, the local core particle includes a core particle body, a protocol layer, a physical layer and an adaptation layer, the adaptation layer includes a register analysis module, a mailbox mechanism processing module, a remapping module and a completion information analysis module, and the communication method includes: The protocol layer generates adaptation layer sideband request information, physical layer sideband request information and mailbox sideband request information; The physical layer generates physical layer sideband completion information according to the physical layer sideband request information; The register analysis module generates adaptation layer sideband completion information according to the adaptation layer sideband request information; The mailbox mechanism processing module generates mailbox sideband completion information according to the mailbox sideband request information. The mailbox mechanism processing module also generates local sideband request information according to the mailbox sideband request information, and sends the local sideband request information to the remote chip through the physical layer. The remote chip feeds back local sideband completion information according to the local sideband request information. The remapping module remaps the remote sideband request information and sends it to the register analysis module or the physical layer according to the address of the remote sideband request information; The register analysis module or the physical layer generates corresponding remote sideband completion information according to the remote sideband request information after the remapping process; The completion information analysis module sends the adaptation layer sideband completion information, the physical layer sideband completion information, the local sideband completion information, the mailbox sideband completion information and the remote sideband completion information according to the identification field, wherein the adaptation layer sideband completion information, the local sideband completion information and the remote sideband completion information all include an identification field, and different sideband completion information corresponds to different identification field ranges, and the identification fields of the adaptation layer sideband completion information, the mailbox sideband completion information and the physical layer sideband completion information are within the same identification field range; The remapping module performs mapping recovery processing on the remote sideband completion information, and sends the remote sideband completion information after recovery processing to the remote core particle through the physical layer.

Citation Information

Cited By

  • Cross-chip register access method and device based on target protocol and storage medium

    CN120704807A

  • Chiplet composability

    WO2026209120A1