Chipgrain interconnect configuration initialization method and chipgrain interconnect system

By receiving and filtering initialization configuration messages via a low-speed bus, the data communication problem when the ucie IP is not initialized is solved, enabling efficient initialization and flexible configuration between cores, and improving the transmission speed of configuration information and the adaptability of modules.

CN118740621BActive Publication Date: 2024-11-26CORE YUNSHENG (HANGZHOU) ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411223658.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2024-11-26
Estimated Expiration
2044-09-03

AI Technical Summary

Technical Problem

During the chiplet interconnect initialization process, if the ucie IP has not yet been initialized, there is no data communication path between chiplets, which causes the initialization link to fail and affects configuration flexibility.

Method used

Initialization configuration messages are received via a low-speed bus and filtered and matched using pre-stored matching identifiers. The messages are then sent to the corresponding general-purpose interconnect modules to achieve initialization configuration transmission between modules. Broadcast, multicast, and unicast methods are used to improve the transmission rate and flexibility of configuration data.

Benefits of technology

When the general-purpose interconnect module is not running, it enables communication between the cores, improves the initialization speed and the transmission speed of configuration information, enhances the flexibility and specificity of configuration, and avoids redundant transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740621B_ABST
    Figure CN118740621B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for initializing chip interconnection configuration and a chip interconnection system. The method includes: receiving an initialization configuration message through a low-speed bus; for each general chip interconnection module in the slave chip, matching the message identifier of the initialization configuration message based on a pre-stored matching identifier through a matching module corresponding to the general chip interconnection module to obtain a message matching result; when the message matching result is that the initialization configuration message corresponds to the matching identifier, sending the initialization configuration message to the general chip interconnection module through the matching module corresponding to the general chip interconnection module; initializing according to the initialization configuration message and entering a working state through the general chip interconnection module. The technical solution of the embodiment of the present invention can improve the transmission rate of configuration data and improve the initialization efficiency of the general chip interconnection module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chips, and in particular to a chip interconnection configuration initialization method and a chip interconnection system. Background Art

[0002] UCIe (Universal Chiplet Interconnect Express) is a universal, open standard for interconnection between on-chip chiplets that supports multiple protocols such as CXL (Compute Express Link), PCIe (Peripheral Component Interconnect Express) or other custom protocols.

[0003] During the startup phase of the chiplet, the UCIE IP on the chiplet responsible for interconnecting the chiplets has not yet been initialized, there is no data communication path between the chiplets, and the link required for the initialization configuration is not established. At this time, the chiplets are disconnected. The configuration information required for the UCIE IP startup can be pre-written on the chiplet, and the UCIE IP on the chiplet can be initialized according to the pre-written configuration information. If the UCIE IP startup configuration is solidified on each chiplet, although the problem of the initialization link can be solved, the configuration flexibility of the UCIE IP will be greatly affected. Summary of the invention

[0004] The present invention provides a chip interconnect configuration initialization method and a chip interconnect system, which can improve the transmission rate of configuration data and improve the initialization efficiency of a general chip interconnect module.

[0005] According to one aspect of the present invention, a method for initializing chiplet interconnection configuration is provided, the method comprising:

[0006] Receive the initialization configuration message via the low-speed bus;

[0007] For each universal core-grain interconnection module in the slave core-grain, matching is performed with the message identifier of the initialization configuration message based on a pre-stored matching identifier by a matching module corresponding to the universal core-grain interconnection module to obtain a message matching result;

[0008] By means of a matching module corresponding to the universal chip-grain interconnection module, when the message matching result is that the initialization configuration message corresponds to the matching identifier, sending the initialization configuration message to the universal chip-grain interconnection module;

[0009] The universal chiplet interconnection module is initialized according to the initialization configuration message and enters a working state, so as to realize communication with other chiplets through the universal chiplet interconnection module in the working state.

[0010] According to another aspect of the present invention, a chiplet interconnection system is provided, comprising: a master chiplet and at least one slave chiplet; the slave chiplet can execute the chiplet interconnection configuration initialization method according to any one of the embodiments of the present invention;

[0011] The master core particle is connected to at least one of the slave core particles; the slave core particle is connected to the master core particle or the slave core particle is connected to at least one slave core particle; the connected core particles are connected via a universal core particle interconnection line; the connected core particles can also be connected via a low-speed bus, wherein the core particle set formed by the core particles connected by the low-speed bus covers all the core particles;

[0012] The master chip is used to obtain an initialization configuration message, and send the initialization configuration message to the connected slave chip through the low-speed bus;

[0013] The slave chip is used to receive the initialization configuration message through the low-speed bus;

[0014] The slave core is also used to send the initialization configuration message to other slave cores through the low-speed bus.

[0015] The technical solution of the embodiment of the present invention receives the initialization configuration message through a low-speed bus that does not require configuration. When the universal chip interconnection module is not running, the various chiplets can still communicate with each other, and receive the initialization configuration message through the low-speed bus, so as to realize the transmission of the initialization configuration message between the chiplets before the universal chip interconnection communication. At the same time, the initialization configuration message can be directly transmitted through the low-speed bus without adding additional configuration operations, thereby improving the transmission speed of the configuration information, thereby improving the initialization speed of the universal chip interconnection module; and, by screening the initialization configuration message through a pre-stored matching identifier, different universal chip interconnection modules of different chiplets can obtain different initialization configuration information, thereby increasing the configuration flexibility and pertinence of the universal chip interconnection module.

[0016] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 is a flow chart of a method for initializing chiplet interconnection configuration provided according to the first embodiment of the present invention;

[0019] Figure 2 is a flow chart of a method for initializing chiplet interconnection configuration provided according to Embodiment 2 of the present invention;

[0020] Figure 3 is a schematic diagram of a chiplet interconnection system provided according to Embodiment 3 of the present invention;

[0021] Figure 4 is a schematic diagram of a core particle network structure provided according to Embodiment 3 of the present invention;

[0022] Figure 5 is a schematic diagram of a tree structure of a low-speed bus provided according to Embodiment 3 of the present invention;

[0023] Figure 6 It is a scene diagram of initialization of a universal chiplet interconnection module on a chiplet provided according to the third embodiment of the present invention;

[0024] Figure 7 This is a scenario diagram of initialization configuration message transmission of a mesh core-grain interconnection system provided according to Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] Embodiment 1

[0028] Figure 1 A flowchart of a method for initializing a chip interconnect configuration provided in Embodiment 1 of the present invention. The embodiment of the present invention is applicable to the case where a general chip interconnect module on a chip is initialized. The method can be executed by a chip interconnect configuration initialization device, which can be implemented in the form of hardware and / or software. The chip interconnect configuration initialization device can be configured in an electronic device that carries a chip interconnect configuration initialization function.

[0029] See also Figure 1 The chiplet interconnect configuration initialization method shown includes:

[0030] S110: Receive an initialization configuration message via a low-speed bus.

[0031] The application scenario of the embodiment of the present invention may be to initialize the universal chip interconnect module on the chip in the device. After initialization, the universal chip interconnect module can perform universal chip interconnect communication, and two chiplets connected through the universal chip interconnect line can communicate based on the paired universal chip interconnect modules.

[0032] A low-speed bus may refer to a transmission line that can transmit data without configuration. Exemplarily, the low-speed bus may be a serial peripheral interface bus. The initialization configuration message carries the configuration data required for initialization of the general core particle interconnection module. The initialization configuration message is usually sent directly or indirectly by the master core particle to each slave core particle. In an embodiment of the present invention, the number of master core particles is usually one. The number of slave core particles is at least one. The master core particle obtains the initialization configuration message and transmits it to the slave core particle connected to the low-speed bus, and the slave core particle transmits the initialization configuration message to other slave core particles through the low-speed bus. It should be noted that if there is no low-speed bus between a slave core particle and the core particle that obtains the initialization configuration message, the slave core particle cannot receive the initialization configuration message. That is, in an embodiment of the present invention, the initialization configuration message can only be transmitted in the core particle set formed by the low-speed bus.

[0033] S120 , for each universal core-grain interconnection module in the slave core-grain, matching is performed with the message identifier of the initialization configuration message based on a pre-stored matching identifier by using a matching module corresponding to the universal core-grain interconnection module to obtain a message matching result.

[0034] At least one universal core interconnect module may be provided on the core. Exemplarily, the number of universal core interconnect modules that may be provided on the core is 1, 2, 3, 4, or even more. The initialization configuration data of multiple universal core interconnect modules provided on the same core are independent of each other and may be the same or different. At least one matching module is provided on the core. The matching module provided on the core corresponds to the universal core interconnect module one by one, and the number of matching modules provided on the core is the same as the number of universal core interconnect modules provided on the core. The matching module is used to detect whether the received initialization configuration message is the configuration message required for initialization of the corresponding universal core interconnect module. A matching identifier is pre-stored in the matching module. The matching identifier is used to identify the initialization configuration message required for initialization of the universal core interconnect module. The initialization configuration message carries a message identifier. The message identifier is used to identify the universal core interconnect module to which the initialization configuration message is sent. The data format of the matching identifier and the message identifier is the same. Matching the matching identifier with the message identifier is actually to determine whether the contents of the matching identifier and the message identifier are the same. The message matching result includes the match identifier and the message identifier corresponding, and the match identifier and the message identifier not corresponding. The match identifier and the message identifier correspond, indicating that the initialization configuration message is the initialization configuration message required by the general core-grain interconnect module; the match identifier and the message identifier do not correspond, indicating that the initialization configuration message is not the initialization configuration message required by the general core-grain interconnect module.

[0035] When the message matching result is that the message identifier does not correspond to the matching identifier, the initialization configuration message can be discarded and the initialization configuration message is not sent to the corresponding general core particle interconnection module. It should be noted that the matching module discarding the initialization configuration message does not mean that the slave core particle discards the initialization configuration message. Since the slave core particle may still need to forward the initialization configuration message, it still needs to transmit the initialization configuration message to other slave core particles through the low-speed bus.

[0036] S130 . Sending the initialization configuration message to the universal chip-grain interconnection module through a matching module corresponding to the universal chip-grain interconnection module when the message matching result is that the initialization configuration message corresponds to the matching identifier.

[0037] For each universal core-grain interconnect module, the matching module corresponding to the universal core-grain interconnect module sends the initialization configuration message to the universal core-grain interconnect module when it is determined that the message identifier of the initialization configuration message corresponds to the matching identifier. The matching module can be understood as a pre-filtering module of the universal core-grain interconnect module, which is used to filter the initialization configuration messages that are not needed by the universal core-grain interconnect module and pass the required initialization configuration messages. Among them, the unnecessary initialization configuration message is the initialization configuration message that does not correspond to the message identifier; the required initialization configuration message is the initialization configuration message corresponding to the message identifier.

[0038] S140 , initializing according to the initialization configuration message through the universal chiplet interconnection module and entering a working state, so as to realize communication with other chiplets through the universal chiplet interconnection module in the working state.

[0039] The universal chip interconnect module receives the initialization configuration message corresponding to the matching identifier and extracts the initialization configuration data; the universal chip interconnect module executes the initialization process according to the initialization configuration data; after the initialization process is completed, the universal chip interconnect module enters the working state. After another universal chip interconnect module paired with the universal chip interconnect module executes the initialization process and enters the working state, the two paired universal chip interconnect modules can communicate based on the universal chip interconnect technology to achieve high-speed data transmission and high-speed communication between chiplets.

[0040] The technical solution of the embodiment of the present invention receives the initialization configuration message through a low-speed bus that does not require configuration. When the universal chip interconnection module is not running, the various chiplets can still communicate with each other, and receive the initialization configuration message through the low-speed bus, so as to realize the transmission of the initialization configuration message between the chiplets before the universal chip interconnection communication. At the same time, the initialization configuration message can be directly transmitted through the low-speed bus without adding additional configuration operations, thereby improving the transmission speed of the configuration information, thereby improving the initialization speed of the universal chip interconnection module; and, by screening the initialization configuration message through a pre-stored matching identifier, different universal chip interconnection modules of different chiplets can obtain different initialization configuration information, thereby increasing the configuration flexibility and pertinence of the universal chip interconnection module.

[0041] In an optional embodiment, after receiving the initialization configuration message through the low-speed bus, it also includes: sending the initialization configuration message to other slave core particles connected through the other low-speed buses through other low-speed buses, and the slave core particles and the other slave core particles are also communicatively connected through a universal core particle interconnection line.

[0042] The slave core also has other low-speed buses other than the low-speed bus for receiving the initialization configuration message, and the initialization configuration message is sent through the other low-speed buses. The initialization configuration message is transmitted to other slave cores through the other low-speed buses.

[0043] The slave core particles are connected to other slave core particles through other low-speed buses, and the slave core particles are adjacent to the other slave core particles. In addition to being connected through a low-speed bus, two adjacent slave core particles can also be connected through a universal core particle interconnection line. The universal core particle interconnection line may refer to a line that transmits data based on universal core particle interconnection technology. The universal core particle interconnection line actually transmits data from a universal core particle interconnection module of one core particle to a universal core particle interconnection module of another core particle. These two universal core particle interconnection modules are a universal core particle interconnection module pair. In addition, a core particle can only be connected to one core particle through a low-speed bus, and a core particle can only be connected to one core particle through a universal core particle interconnection line.

[0044] Since the low-speed bus does not need to be configured to transmit data, the slave core directly forwards the received initialization configuration message to other low-speed buses and transmits it to other slave cores without any operation.

[0045] After receiving the initialization configuration message, the initialization configuration message can be forwarded to other slave core particles through other low-speed buses, so that fast and simple forwarding can be achieved, the transmission operation of the initialization configuration message can be simplified, and the transmission efficiency of the initialization configuration message can be improved.

[0046] Embodiment 2

[0047] Figure 2A flow chart of a core-grain interconnection configuration initialization method provided for the second embodiment of the present invention. Based on the above embodiments, the embodiment of the present invention concretizes "based on the pre-stored matching identifier, matching with the message identifier of the initialization configuration message to obtain a message matching result" as "comparing at least one matching item included in the matching identifier with the message identifier of the initialization configuration message to obtain a comparison result of each matching item; when there is a matching item that is the same as the message identifier, determining that the message matching result of the initialization configuration message is that the initialization configuration message corresponds to the matching identifier; when there is no matching item that is the same as the message identifier, or the matching identifier is empty, determining that the message matching result is that the initialization configuration message does not correspond to the matching identifier, and discarding the initialization configuration message". It should be noted that for the parts not described in detail in the embodiments of the present invention, please refer to the description of other embodiments.

[0048] See also Figure 2 The chiplet interconnect configuration initialization method shown includes:

[0049] S210: Receive an initialization configuration message via a low-speed bus.

[0050] S220: For each universal core-grain interconnection module in the slave core-grain, compare at least one matching item included in the matching identifier with the message identifier of the initialization configuration message through a matching module corresponding to the universal core-grain interconnection module to obtain a comparison result of each matching item.

[0051] A match item may refer to a type of match identifier. In fact, in a core particle set composed of multiple core particles, at least one universal core particle interconnection module is provided on the same core particle, and multiple universal core particle interconnection modules exist for multiple core particles, and the initialization configuration data of different universal core particle interconnection modules are independent of each other. Universal core particle interconnection modules that require different initialization configuration data need to send different initialization configuration messages. Therefore, it is necessary to send an initialization configuration message to each universal core particle interconnection module in a targeted manner. Different match items can be set, and different match items correspond to different initialization configuration messages, so that the universal core particle interconnection module can receive initialization configuration messages of different match items to implement initialization operations of different initialization configuration data.

[0052] Furthermore, each universal chip interconnect module can be put back into the group. The universal chip interconnect modules in the same group require the same initialization configuration data, so that the universal chip interconnect modules in the same group can transmit the same initialization configuration message. The number of universal chip interconnect modules included in a group can be at least one, for example, the number can be 1, more than 1 or all universal chip interconnect modules. Different matching items are set for different groups, so that a matching item corresponds to the initialization configuration message of the universal chip interconnect module of a group. By setting different matching items, the transmission of initialization configuration messages of different groups can be set accordingly, thereby realizing different initialization requirements of multiple groups of universal chip interconnect modules.

[0053] Each matching item is compared with the message identifier of the initialization configuration message to obtain the comparison result of each matching item. The comparison result of the matching item includes the matching item being the same as the message identifier and the matching item being different from the message identifier. The message matching result is determined based on the comparison result of each matching item.

[0054] It can be understood that a matching item represents an initialization configuration requirement, and multiple matching items represent multiple initialization configuration requirements. If the initialization configuration message meets any initialization configuration requirement, the general chip interconnect module can execute the initialization process based on the initialization configuration message.

[0055] When the number of matching items is one, the comparison result of the matching item is the same as the message identifier, and the message matching result is determined to be that the matching identifier corresponds to the message identifier; when the comparison result of the matching item is different from the message identifier, the message matching result is determined to be that the matching identifier does not correspond to the message identifier.

[0056] When there are multiple matching items, as long as the comparison result of any matching item is the same as the message identifier, the message matching result is determined to be that the matching identifier and the message identifier correspond; if the comparison results of all matching items are different from the message identifier, the message matching result is determined to be that the matching identifier and the message identifier do not correspond.

[0057] Specifically, the matching item specifically includes a core-grain identifier and / or a universal interconnect identifier. The matching item specifically includes a core-grain identifier. If the core-grain identifier of the matching item is the same as the core-grain identifier in the message identifier, then the comparison result of the matching item is determined to be that the matching item is the same as the message identifier. If the core-grain identifier of the matching item is different from the core-grain identifier in the message identifier, then the comparison result of the matching item is determined to be that the matching item is different from the message identifier. The matching item specifically includes a universal interconnect identifier. If the universal interconnect identifier of the matching item is the same as the universal interconnect identifier in the message identifier, then the comparison result of the matching item is determined to be that the matching item is the same as the message identifier. If the universal interconnect identifier of the matching item is different from the universal interconnect identifier in the message identifier, then the comparison result of the matching item is determined to be that the matching item is the same as the message identifier. The identifiers are different, then the comparison result of the matching item is determined to be that the matching item is different from the message identifier; the matching item specifically includes a core grain identifier and a universal interconnect identifier. If the core grain identifier of the matching item is the same as the core grain identifier in the message identifier, and the universal interconnect identifier of the matching item is the same as the universal interconnect identifier in the message identifier, then the comparison result of the matching item is determined to be that the matching item is the same as the message identifier; if the core grain identifier of the matching item is different from the core grain identifier in the message identifier, or the universal interconnect identifier of the matching item is different from the universal interconnect identifier in the message identifier, then the comparison result of the matching item is determined to be that the matching item is different from the message identifier.

[0058] S230: When there is a matching item that is identical to the message identifier, determine that the message matching result of the initialization configuration message is that the initialization configuration message corresponds to the matching identifier.

[0059] S240: When there is no matching item that is identical to the message identifier, or the matching identifier is empty, determine that the message matching result is that the initialization configuration message does not correspond to the matching identifier, and discard the initialization configuration message.

[0060] Discarding the initialization configuration message actually means not sending the initialization configuration message to the universal chip interconnect module corresponding to the matching module.

[0061] S250 . Sending the initialization configuration message to the universal chip-grain interconnection module through a matching module corresponding to the universal chip-grain interconnection module when the message matching result is that the initialization configuration message corresponds to the matching identifier.

[0062] S260 , initializing according to the initialization configuration message through the universal chiplet interconnection module and entering a working state, so as to realize communication with other chiplets through the universal chiplet interconnection module in the working state.

[0063] The technical solution of the embodiment of the present invention, by limiting the matching identifier to include at least one matching item, the universal chip interconnect module can receive initialization configuration messages of different matching items to implement initialization operations of different initialization configuration data, enrich the initialization configuration data, and can meet diverse initialization requirements. The flexibility of the initialization configuration of the universal chip interconnection is increased, and it can avoid sending an initialization configuration message that points to a universal chip interconnect module alone, resulting in multiple transmissions of the same initialization configuration message to multiple universal chip interconnect modules with the same initialization requirements, reducing the redundant transmission of the initialization configuration message, improving the transmission efficiency of the initialization configuration message, and achieving both the uniqueness and flexibility of the initialization configuration data.

[0064] In an optional embodiment, the matching items include: broadcast items, unicast items or multicast items; the core identifier included in the broadcast item is the same as the core identifier included in the broadcast items of other cores; the universal interconnect identifier included in the broadcast item is the same as the universal interconnect identifier included in the broadcast items of other cores; the initialization configuration messages corresponding to the broadcast items of different cores are the same; the core identifier of the unicast item is the core identifier of the slave core, and the universal interconnect identifier included in the unicast item is the universal interconnect identifier of the universal core interconnect module; the core identifier included in the multicast item corresponds to the universal interconnect group to which the universal core interconnect module belongs; the universal interconnect identifier included in the multicast item corresponds to the universal interconnect group to which the universal core interconnect module belongs; the universal core interconnect modules of the same universal interconnect group have the same initialization configuration messages for the corresponding multicast items.

[0065] The number of matching items is at least one. The at least one matching item includes a broadcast item, and the at least one matching item may also include a unicast item. The at least one matching item may also include at least one multicast item. Usually, the number of broadcast items and the number of unicast items are one. The multicast item may include multiple items.

[0066] The broadcast item is used to detect the same initialization configuration message for all universal chip interconnect modules. The initialization configuration messages corresponding to the broadcast items for different chips are the same, which may mean that different universal chip interconnect modules of different chips require the same initialization configuration message for initialization, and the same initialization configuration message corresponds to the broadcast item of each universal chip interconnect module. If the initialization configuration requirements of all universal chip interconnect modules are the same, that is, the initialization configuration messages corresponding to all universal chip interconnect modules are the same, then the initialization configuration message corresponding to the broadcast item can be used to transmit between chips. Since the required initialization configuration messages are the same, the broadcast items between the universal chip interconnect modules on all chips are the same. More specifically, the chip identifiers included in the broadcast items of different universal chip interconnect modules are the same, and the universal interconnect identifiers included in the broadcast items of different universal chip interconnect modules are the same. Moreover, the chip identifier and the universal interconnect identifier included in the broadcast item are idle identifiers, that is, the chip identifier included in the broadcast item is different from the chip identifier of each chip, and the universal interconnect identifier included in the broadcast item is different from the universal interconnect identifier of each universal chip interconnect module on each chip, so that the chip identifier and the universal interconnect identifier of the broadcast item can be prevented from occupying the used chip identifier and the universal interconnect identifier. Exemplarily, the chip set formed by the chip connected to the low-speed bus includes 16 chiplets, and each chiplet is provided with 3 or 4 universal chip interconnect modules. Therefore, the chip identifier of the chiplet ranges from 0 to 15, and the universal interconnect identifier of the universal chip interconnect module ranges from 0 to 3. For example, the chip identifier of chip A is 1, and the universal interconnect identifier of a universal chip interconnect module of the chip A is 3, so that the id (identification information) of the universal chip interconnect module can be (1,3). The chip ID in the broadcast item can be 16, the general interconnect ID is 4, and the broadcast item is (16,4). Both 16 and 4 are not in the previously used ID range.

[0067] The unicast item is used to detect the initialization configuration message corresponding to only one universal core-grain interconnect module. The core-grain identifier included in the unicast item pre-stored in the matching module is the same as the core-grain identifier of the core-grain to which the universal core-grain interconnect module corresponding to the matching module belongs. The universal interconnect identifier included in the unicast item pre-stored in the matching module is the same as the universal interconnect identifier of the universal core-grain interconnect module corresponding to the matching module. The core-grain identifier and universal interconnect identifier included in the unicast item are actually used to identify the universal core-grain interconnect module corresponding to the corresponding matching module. The unicast items of different universal core-grain interconnect modules are different. As in the previous example, the unicast item of core A is (1,3).

[0068] The multicast item is used to detect the initialization configuration message corresponding to a group, and the group includes at least two universal chip interconnect modules corresponding to the same initialization configuration message. If a group includes a universal chip interconnect module, the initialization configuration message corresponding to the unicast item can be used to transmit between the chips. If the initialization configuration requirements of some universal chip interconnect modules are the same, that is, the initialization configuration messages corresponding to multiple universal chip interconnect modules in the same group are the same, the initialization configuration message corresponding to the multicast item can be used to transmit between the chips. The number of multicast items can be multiple, that is, the universal chip interconnect module corresponding to the matching module can belong to multiple universal interconnect groups. The same initialization configuration message for the corresponding multicast item of the universal chip interconnection modules of the same universal interconnection group can mean: the initialization configuration message required by each universal chip interconnection module in the same universal interconnection group is the same, and the matching modules corresponding to each universal chip interconnection module in the universal interconnection group all store a same multicast item. More specifically, the chip identifier included in the multicast item corresponds to the universal interconnection group to which the universal chip interconnection module belongs; the universal interconnection identifier included in the multicast item corresponds to the universal interconnection group to which the universal chip interconnection module belongs, that is: the same multicast item stored in each universal chip interconnection module in the universal interconnection group includes the same chip identifier, and the same multicast item stored in each universal chip interconnection module in the universal interconnection group includes the same universal interconnection identifier. The chip identifier and universal interconnect identifier included in the multicast item are free identifiers, that is, the chip identifier included in the multicast item is different from the chip identifier of each chip, and the universal interconnect identifier included in the multicast item is different from the universal interconnect identifier of each universal chip interconnect module on each chip. This can avoid the chip identifier and universal interconnect identifier of the multicast item occupying the used chip identifier and universal interconnect identifier. As in the previous example, the chip identifier of chip B is 2, and the universal interconnect identifier of a universal chip interconnect module of the chip B is 3, so the id (identification information) of the universal chip interconnect module can be (2,3). Chip B and chip A belong to the same universal interconnect group. The multicast item corresponding to the universal interconnect group is (17,10). The chip identifier in the multicast item can be 17, and the universal interconnect identifier is 10. Both 17 and 10 are not within the above-mentioned used identifier range. The pre-stored multicast items of the matching module related to corebone B in corebone A include: (17,10) and (29,8), and the pre-stored multicast items of the matching module related to corebone A in corebone B include: (17,10). The pre-stored multicast items of the matching modules corresponding to each universal corebone interconnection module in the paired universal corebone interconnection module pair in corebone A and corebone B all include (17,10), so that both universal corebone interconnection modules in the paired universal corebone interconnection module pair can be initialized using the initialization configuration message corresponding to the same multicast item (17,10), so that the two universal corebone interconnection modules are initialized with the same configuration data and achieve normal communication.

[0069] The chiplet identifier in the broadcast item, the chiplet identifier in the unicast item and the chiplet identifier in the multicast item are different, and the general interconnect identifier in the broadcast item, the general interconnect identifier in the unicast item and the general interconnect identifier in the multicast item are different.

[0070] By setting the matching items as broadcast items, unicast items and multicast items, the broadcast items can send the same initialization configuration message to all universal chip interconnection modules, the unicast items can send a unique initialization configuration message to each universal chip interconnection module, and the multicast items can send the same initialization configuration message to a group of universal chip interconnection modules, thereby realizing the initialization configuration requirements of different universal chip interconnection modules, adaptively sending the same or different initialization configuration messages, realizing precise initialization configuration, and flexibly configuring the universal chip interconnection modules of each chip.

[0071] In an optional embodiment, the matching item includes a core grain identifier and a universal interconnect identifier; and the at least one matching item included in the matching identifier is compared with the message identifier of the initialization configuration message to obtain a comparison result of each matching item, including: for each matching item, comparing the core grain identifier and the universal interconnect identifier included in the matching item with the corresponding identifier in the message identifier; when the core grain identifier and the universal interconnect identifier included in the matching item are the same as the corresponding identifier in the message identifier, determining that the comparison result of the matching item is that the matching item is the same as the message identifier; when the core grain identifier and the universal interconnect identifier included in the matching item are different from the corresponding identifier in the message identifier, determining that the comparison result of the matching item is that the matching item is different from the message identifier.

[0072] Each matching item specifically includes a core-grain identifier and a universal interconnect identifier. Correspondingly, the message identifier includes a core-grain identifier and a universal interconnect identifier. Comparing a matching item with the message identifier specifically involves comparing the core-grain identifier of the matching item with the core-grain identifier of the message identifier, and comparing the universal interconnect identifier of the matching item with the universal interconnect identifier of the message identifier. If the core-grain identifier of the matching item is the same as the core-grain identifier in the message identifier, and the universal interconnect identifier of the matching item is the same as the universal interconnect identifier in the message identifier, then the comparison result of the matching item is determined to be that the matching item is the same as the message identifier; if the core-grain identifier of the matching item is different from the core-grain identifier in the message identifier, or the universal interconnect identifier of the matching item is different from the universal interconnect identifier in the message identifier, then the comparison result of the matching item is determined to be that the matching item is different from the message identifier.

[0073] By setting the specific content of the matching item as the chiplet identifier and the universal interconnect identifier, each universal chiplet interconnect module on the chiplet can be accurately distinguished to achieve accurate matching of the initialization configuration.

[0074] Embodiment 3

[0075] Figure 3 This is a schematic diagram of a chiplet interconnection system provided in Embodiment 3 of the present invention. In this chiplet interconnection system, the chiplets can implement the chiplet interconnection configuration initialization method of any embodiment of the present invention.

[0076] It should be noted that for the parts not described in detail in the embodiments of the present invention, reference may be made to the descriptions of other embodiments.

[0077] The chiplet interconnection system 300 includes: a master chiplet 301 and at least one slave chiplet 302; the slave chiplet 302 can execute the chiplet interconnection configuration initialization method described in any embodiment of the present invention;

[0078] The main core particle 301 is connected to at least one slave core particle 302; the slave core particle 302 is connected to the main core particle 301 or the slave core particle 302 is connected to at least one slave core particle 302; the connected core particles are connected through a universal core particle interconnection line; the connected core particles can also be connected through a low-speed bus, wherein the core particle set formed by the core particles connected by the low-speed bus covers all the core particles.

[0079] In fact, the chiplets included in the chiplet interconnection system 300 can be connected in two ways, one is through a low-speed bus connection, and the other is through a universal chiplet interconnection line connection. In addition, there are other ways to connect the chiplets, which can be set as needed and are not specifically limited. The chiplet set formed by the chiplets connected by the low-speed bus covers all the chiplets, which specifically means that the data transmitted through the low-speed bus can be transmitted to all the chiplets in the chiplet interconnection system 300. In the chiplet interconnection system 300, each slave chiplet 302 is connected to another chiplet through at least one low-speed bus.

[0080] The master chip 301 is used to obtain an initialization configuration message, and send the initialization configuration message to the connected slave chip 302 via a low-speed bus.

[0081] The master chip 301 is used to directly or indirectly forward the initialization configuration message to each slave chip 302. The master chip 301 can receive the initialization configuration control instruction sent by the processor, generate the initialization configuration message or directly obtain the initialization configuration message from the instruction. The master chip 301 sends the initialization configuration message to all connected low-speed buses without any configuration and operation.

[0082] The slave core 302 is used to receive the initialization configuration message through the low-speed bus; the slave core 302 is also used to send the initialization configuration message to other slave cores through the low-speed bus. The slave core 302 receives the initialization configuration message sent by the master core 301 or other slave cores 302. The slave core 302 can also send the initialization configuration message to the connected slave core 302 through the low-speed bus. In this way, the initialization configuration message can be sent to all connected slave cores 302 through the low-speed bus.

[0083] The technical solution of the embodiment of the present invention configures a low-speed bus between chiplets in a chiplet interconnection system, so that the master chiplet and the slave chiplet can transmit initialization configuration files between chiplets through the low-speed bus that does not require configuration. When the universal chiplet interconnection module is not running, the chiplets can still communicate with each other, and the initialization configuration message can be transmitted between the chiplets before the universal chiplet interconnection communication. At the same time, the initialization configuration message can be directly transmitted through the low-speed bus without adding additional configuration operations, thereby improving the transmission speed of the configuration information, thereby improving the initialization speed of the universal chiplet interconnection module; and, by screening the initialization configuration message through a pre-stored matching identifier, different universal chiplet interconnection modules of different chiplets can obtain different initialization configuration information, thereby increasing the configuration flexibility and pertinence of the universal chiplet interconnection module.

[0084] In an optional embodiment, at least one universal chiplet interconnection module is provided on the slave chiplet; two chiplets connected via the universal chiplet interconnection line have a universal chiplet interconnection module pair with the same initialization configuration information.

[0085] In fact, at least one universal core interconnect module is provided on the master core. The slave core C is connected to a universal core interconnect module on the slave core D through a universal core interconnect module. The two universal core interconnect modules form a universal core interconnect module pair. Data is transmitted between the two universal core interconnect modules in the universal core interconnect module pair through a universal core interconnect line. In order to achieve stable communication between core C and core D, the initialization configuration information of the two universal core interconnect modules is the same. The two universal core interconnect modules can be divided into the same universal interconnect group, and the corresponding matching module pre-stores the same matching item.

[0086] By setting multiple universal chiplet modules and setting two universal chiplet interconnection modules connected by a universal chiplet interconnection line to have the same initialization configuration information, it can be achieved that in the same communication channel, the configuration information of the two universal chiplet interconnection modules is the same, avoiding communication anomalies and instability problems caused by different configuration information, and improving the communication quality of universal chiplet interconnection.

[0087] In an optional embodiment, the connection structure of the chiplets connected by the chiplet interconnection circuit is a mesh structure.

[0088] Figure 4 The mesh architecture of 16 chiplets is shown. Two adjacent chiplets are connected through UCIE IP to achieve data connectivity between all chiplets. UCIE IP can refer to a chiplet interconnection module that supports the UCIE protocol, that is, the universal chiplet interconnection module described in the embodiment of the present invention. Figure 4 As shown, there is a universal chip interconnection line between every two adjacent chiplets. Every two adjacent chiplets can communicate with each other through the universal chip interconnection module. Figure 4 In , ucie represents the universal chip interconnect module, ucie.i represents the i-th universal chip interconnect module, i is greater than or equal to 0, and i is less than 4. A chip can be configured with at least one universal chip interconnect module. Chip 0 and chip 1 are adjacent chiplets, and ucie.2 of chip 0 and ucie.1 of chip 1 are a pair of universal chip interconnect modules, which can communicate. Chip 0 and chip 4 are adjacent chiplets, and ucie.3 of chip 0 and ucie.0 of chip 4 are a pair of universal chip interconnect modules, which can communicate.

[0089] In an optional embodiment, the connection structure of the core particles connected by the low-speed bus is a tree structure.

[0090] Figure 5 The tree structure of the low speed bus (lbus) of 16 chiplets is shown. Figure 5 As shown, there is a low-speed bus between two adjacent core particles in each column. There is a low-speed bus between every two adjacent core particles in the first row, and the core particles with low-speed buses can transmit data through the low-speed bus. Figure 5 In the figure, low-speed bus.i represents the i-th low-speed bus. A chiplet can be configured with at least one low-speed bus. Chiplet 0 is the master chiplet, and the remaining chiplets are slave chiplets. Figure 5 The root of the tree starts from the main core and is transmitted along the black arrow. The tree structure can transmit the initialization configuration message to all cores, and the roots do not interfere with each other, and there will be no data oscillation. If the initialization configuration message needs to reach core 14, with the main core as the source, the transmission path of the initialization configuration message is: core 0-core 1-core 2-core 6-core 10-core 14. For the initialization configuration message, the low-speed bus tree structure can ensure that the data reaches all cores at the same time.

[0091] In an optional embodiment, the low-speed bus includes a serial peripheral interface spi.

[0092] In a specific example, Figure 6As shown in the figure, the master chiplet transmits the initialization configuration message to the slave chiplet. Specifically, the execution starts from the master (main control module) of the master chiplet. (1) boottransmit initialization configuration data transmission ( Figure 6 Configuration transmission): The master of the main chiplet transmits the initialization configuration message of the UCIE IP to the adjacent slave chiplet through the low-speed bus interface SPI; (2) init initialization: matching module ( Figure 6 (match in) match matches the initialization configuration message, matches the initialization configuration message with the chiplet id (chiplet identifier) ​​and ucie id (universal interconnect identifier) ​​in the broadcast items, multicast items and unicast items pre-stored in the matching module, and determines whether the initialization configuration message is a broadcast message, a multicast message or a unicast message. If the initialization configuration message corresponds to the broadcast item, the initialization configuration message is a broadcast message and is sent to the ucie ip; if the initialization configuration message corresponds to the unicast item, the initialization configuration message is a unicast message and is sent to the ucie ip; if the initialization configuration message corresponds to the multicast item, the initialization configuration message is a multicast message and is sent to the ucie ip; (3) ucie work The universal chiplet interconnect module enters the working state: After the initialization configuration message is transmitted, the boot (startup module) of each ucie ip starts the ucie ip, and initializes according to the configuration data in the initialization configuration message, and the ucie ip enters the working state. Each ucie ip is located by chiplet id and ucie ip, for example chiplet13 ucie 2.

[0093] Among them, the match module is the key component to complete the initialization configuration message matching. There is a match module in front of each ucie ip to match and filter the message.

[0094] For broadcast messages, all match modules can complete the match; for unicast messages, the match module will match according to chiplet id and ucie id. For multicast messages, the corresponding group id is matched.

[0095] Broadcast messages can be represented by a specific idle chiplet and ucie id (broadcast id).

[0096] Multicast messages can also be represented by specific and idle chiplet and ucie ids (group id).

[0097] In a specific example, the chiplet interconnection system includes 16 chiplets, and accordingly, the chiplet IDs of the 16 chiplets range from 0 to 15, and each chiplet is provided with 3 or 4 ucie IPs, and the ucie ID ranges from 0 to 4.

[0098] The chiplet id and ucie id of the broadcast message are selected as 16 (idle) and 4 (idle) respectively, which are represented by bc_id = {16,4}. The matching items of each match module include three categories: broadcast matching items, multicast matching items and unicast matching items.

[0099] For example, for a ucie ip, it corresponds to chiplet 3 ucie 0, the corresponding matching module pre-stored broadcast item is match_id_0 = {16,4}, its unicast item is match_id_1 = {3,0}, and its multicast item has two (or more), match_id_2 = {17,6}, match_id_3 = {20,4}

[0100] For example, the chiplet 3 receives an initialization configuration message, whose message identifier is bc_id {16,4}; which is the same as the broadcast item pre-stored in the match module of the ucie ip, match_id_0 = bc_id, determines that the initialization configuration message is a broadcast message, and sends the broadcast message to the ucie ip.

[0101] For another example, the chiplet 3 receives an initialization configuration message, whose message identifier is uc_id_0 ={3,0}; which is the same as the unicast item pre-stored in the match module of the ucie ip, match_id_1 = uc_id_0, and determines that the initialization configuration message is a unicast message, and sends the unicast message to the ucie ip.

[0102] For another example, the chiplet 3 receives an initialization configuration message, whose message identifier mc_id_0 = {17,6}; which is the same as the multicast item pre-stored in the match module of the ucie ip, match_id_2 = mc_id_0, determines that the initialization configuration message is a multicast message, and sends the multicast message to the ucie ip.

[0103] For another example, the chiplet 3 receives an initialization configuration message, whose message identifier mc_id_1 = {17,6}; which is the same as the multicast item pre-stored in the match module of the ucie ip, match_id_3 = mc_id_1, determines that the initialization configuration message is a multicast message, and sends the multicast message to the ucie ip.

[0104] For another example, the chiplet 3 receives an initialization configuration message, whose message identifier id = {5,2}; it is different from the matching items pre-stored in the match module of the ucie ip, match_id_{0;1;2;3} ≠ id, the match module rejects the initialization configuration message, and does not send the initialization configuration message to the ucie ip.

[0105] In a specific example, Figure 7 As shown in the figure, the startup method and process of UCIE IP are as follows: (1) The initialization configuration message of UCIE IP is transmitted to all adjacent chiplets in the plane through the low-speed bus interface (boot transmit); (2) Match module ( Figure 7 (3) After the initialization configuration message is transmitted, each UCIE IP is initialized according to the configuration data in the initialization configuration message, and enters the working state after completion.

[0106] At present, when initializing different ucie IPs on a single chip, the configuration link is smooth and the initialization configuration is convenient because they are on the same chip. When multiple chiplets are involved, a single master manages the initialization of modules on multiple chiplets, and the initialization configuration needs to be performed across chiplets. During the startup phase, the ucie IP on the chiplet responsible for interconnection between chiplets has not yet been initialized, there is no data communication path between chiplets, and the link required for initialization configuration is not established. At this time, the chiplets are disconnected. If the ucie IP startup configuration is solidified on each chiplet, although the problem of the initialization link can be solved, the configuration flexibility of the ucie IP will be greatly affected.

[0107] The embodiment of the present invention utilizes a low-speed bus that does not require configuration as an auxiliary, which can simplify the UCIE IP configuration process.

[0108] A tree-shaped low-speed bus architecture can be used. Compared with a mesh architecture, a tree-shaped architecture can save redundant data transmission and avoid the same initialization configuration message being sent repeatedly to the same chip, resulting in multiple initializations, or requiring additional configuration to avoid redundant matching and redundant initialization. Thus, a tree-shaped architecture can reduce redundant data transmission links, simplify the transmission process and operation of initialization configuration data, and improve initialization stability.

[0109] The mesh two-dimensional planar architecture formed by multiple chiplets can better configure the low-speed bus structure and the structure of the universal chiplet interconnection line to support the tree structure of the low-speed bus and the mesh structure of the universal chiplet interconnection line, and facilitate the transmission of initialization configuration data.

[0110] Before the ucie ip on each chiplet is initialized, a configuration data transmission path is provided for the initialization of each ucie ip. Specifically, the same configuration data required by each ucie ip is transmitted on the low-speed bus by broadcasting. When a single master configures multiple ucie ips on multiple chiplets, the broadcasting method can greatly improve the transmission rate of the configuration data. The more chiplets there are, the more time is saved.

[0111] The unique configuration data required by each ucie ip is transmitted on the low-speed bus in a unicast manner. When the configurations of different ucie ips are different, the unicast configuration can take into account the uniqueness and flexibility of the ucie ip configuration.

[0112] The ucie ip pairs are divided and classified, and group groups are set for multicast. Some specific attributes are consistent in the ucie in a group, and the configuration data required by these groups is transmitted. This transmission method that combines broadcast, multicast and unicast transmission can greatly improve the transmission rate of configuration data when a single master configures multiple ucie ips on multiple chiplets, while taking into account the uniqueness and flexibility of ucie ip configuration.

[0113] In the technical solution of the embodiment of the present invention, the acquisition, storage and application of the initialization configuration message involved all comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0114] Embodiment 4

[0115] An embodiment of the present invention provides an electronic device in which a processor can be connected to a main core particle. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown in this article, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present invention described and / or required herein. Each core particle is also provided with a memory for storing information of matching identifiers required by the matching module. The matching module can obtain the matching identifier from the memory and match it with the initialization configuration package file.

[0116] In some embodiments, the chip interconnect configuration initialization method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via a ROM and / or a communication unit. When the computer program is loaded into RAM and executed by the chip, one or more steps of the chip interconnect configuration initialization method described above may be performed. Alternatively, in other embodiments, the chip may be configured to execute the chip interconnect configuration initialization method by any other appropriate means (e.g., by means of firmware).

[0117] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0118] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0119] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0120] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0121] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0122] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS (Virtual Private Server) services.

[0123] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0124] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A chip interconnection configuration initialization method, characterized in that: Applied to the core particle, the method comprises: Receive the initialization configuration message via the low-speed bus; For each universal core-grain interconnection module in the slave core-grain, matching is performed with the message identifier of the initialization configuration message based on a pre-stored matching identifier by a matching module corresponding to the universal core-grain interconnection module to obtain a message matching result; By means of a matching module corresponding to the universal chip-grain interconnection module, when the message matching result is that the initialization configuration message corresponds to the matching identifier, sending the initialization configuration message to the universal chip-grain interconnection module; Initializing according to the initialization configuration message through the universal chiplet interconnection module and entering a working state, so as to realize communication with other chiplets through the universal chiplet interconnection module in the working state; The pre-stored matching identifier is matched with the message identifier of the initialization configuration message to obtain a message matching result, including: Compare at least one matching item included in the matching identifier with the message identifier of the initialization configuration message to obtain comparison results of each matching item; When there is a matching item that is identical to the message identifier, determining that the message matching result of the initialization configuration message is that the initialization configuration message corresponds to the matching identifier; When there is no matching item that is identical to the message identifier, or the matching identifier is empty, determining that the message matching result is that the initialization configuration message does not correspond to the matching identifier, and discarding the initialization configuration message; The matching items include: broadcast items, unicast items or multicast items; the chip identifier included in the broadcast item is the same as the chip identifier included in the broadcast items of other chiplets; the universal interconnect identifier included in the broadcast item is the same as the universal interconnect identifier included in the broadcast items of other chiplets; the initialization configuration messages corresponding to the broadcast items of different chiplets are the same; the chip identifier of the unicast item is the chip identifier of the slave chiplet, and the universal interconnect identifier included in the unicast item is the universal interconnect identifier of the universal chiplet interconnection module; the chip identifier included in the multicast item corresponds to the universal interconnection group to which the universal chiplet interconnection module belongs; the universal interconnection identifier included in the multicast item corresponds to the universal interconnection group to which the universal chiplet interconnection module belongs; the universal chiplet interconnection modules of the same universal interconnection group have the same initialization configuration messages for the corresponding multicast items.

2. The method according to claim 1, characterized in that: The matching items include a chiplet identifier and a universal interconnect identifier; The step of comparing at least one matching item included in the matching identifier with the message identifier of the initialization configuration message to obtain comparison results of each matching item includes: For each of the matching items, comparing the chiplet identifier and the universal interconnect identifier included in the matching item with the corresponding identifier in the message identifier; When the chiplet identifier and the universal interconnect identifier included in the matching item are identical to the corresponding identifiers in the message identifier, determining that the comparison result of the matching item is that the matching item is identical to the message identifier; When the chiplet identifier and the universal interconnect identifier included in the matching item are different from corresponding identifiers in the message identifier, it is determined that the comparison result of the matching item is that the matching item is different from the message identifier.

3. The method according to claim 1, characterized in that After receiving the initialization configuration message through the low-speed bus, it also includes: The initialization configuration message is sent to other slave core particles connected via the other low-speed buses, and the slave core particles and the other slave core particles are also communicatively connected via a universal core particle interconnection line.

4. A chip-to-chip interconnection system, characterized in that the chip-to-chip interconnection system comprises: A master core particle and at least one slave core particle; the slave core particle can execute the core particle interconnection configuration initialization method described in any one of claims 1 to 3; The master core particle is connected to at least one of the slave core particles; the slave core particle is connected to the master core particle or the slave core particle is connected to at least one slave core particle; the connected core particles are connected via a universal core particle interconnection line; the connected core particles can also be connected via a low-speed bus, wherein the core particle set formed by the core particles connected by the low-speed bus covers all the core particles; The master chip is used to obtain an initialization configuration message, and send the initialization configuration message to the connected slave chip through the low-speed bus; The slave chip is used to receive the initialization configuration message through the low-speed bus; The slave core is also used to send the initialization configuration message to other slave cores through the low-speed bus.

5. The system according to claim 4, characterized in that The slave chiplets are provided with at least one universal chiplet interconnection module; two chiplets connected by the universal chiplet interconnection circuit have a universal chiplet interconnection module pair with the same initialization configuration information.

6. The system according to claim 4 or 5, characterized in that: The connection structure of the core particles connected by the core particle interconnection circuit is a mesh structure.

7. The system according to claim 4, characterized in that The connection structure of the core particles connected by the low-speed bus is a tree structure.

8. The system according to claim 7, characterized in that The low-speed bus includes a serial peripheral interface.