A hierarchical link management method and chip compatible with multiple chiplet interconnection interfaces

Through the hierarchical link management method, a universal link training state machine is established to solve the compatibility problem of the core-to-chip interconnection interface protocol link management mechanism, achieve multi-protocol compatibility and efficient link management, and reduce the cost of hardware overhead and save energy consumption.

CN118394696BActive Publication Date: 2024-09-10NAT UNIV OF DEFENSE TECH
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410859124.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-10
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

Existing core-to-chip interconnection interface protocols have problems with incomplete definitions, inconsistent forms, and unclear details in terms of link management mechanisms. It is difficult to be compatible with the physical layer link management mechanisms of different protocols, resulting in poor compatibility.

Method used

Adopting a hierarchical link management method, by establishing a universal link training state machine composed of main-level and sub-level states, and compatible with link training state machines of different core-to-chip interconnection interface protocols, link initialization, power management and exceptions can be realized Processing to ensure successful handshake and message transmission between the sender and receiver.

Benefits of technology

It achieves the compatibility of multiple core-to-core interconnect interface protocols, reduces hardware overhead, saves energy consumption, and provides a complete physical layer link training state machine framework to solve the compatibility problem of mainstream core-to-core interconnect interface protocols. problem and avoid duplication of code development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118394696B
    Figure CN118394696B
Patent Text Reader

Abstract

The present invention discloses a hierarchical link management method and chip compatible with multiple core-grain interconnection interfaces. The method of the present invention includes: establishing a hierarchical universal link training state machine; configuring the main state and its configurable partial state transition conditions, so that the main state and its state transition conditions are compatible with the link training state machine corresponding to the core-grain interconnection interface protocol adopted by the physical layer; configuring the sub-states under the main state and its configurable parameters, so that the sub-states under the main state and its configurable parameters are compatible with the link training state machine corresponding to the core-grain interconnection interface protocol adopted by the physical layer, so as to be used for link training during link initialization so that the sending end and the receiving end can shake hands successfully and send and receive messages normally. The present invention aims to realize a link training state machine of a state machine compatible with multiple core-grain interconnection interface protocols, so that the link management of the physical layer compatible with different core-grain interconnection interface protocols can be performed when multiple core-grain interconnection interface protocols are compatible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of high-speed interconnection interfaces between chiplets, and in particular to a hierarchical link management method and a chip compatible with multiple chiplet interconnection interfaces. Background Art

[0002] Chiplet technology is an important way to continuously improve the integration and computing power of chips as the system on chip (SoC) integration develops to the present era and Moore's Law gradually slows down. In recent years, many products based on chiplets have been launched in the industry, and chiplet technology has become a technical means that chip manufacturers rely on.

[0003] Unlike traditional monolithic integrated circuit technology, chiplet technology requires mixing dies from multiple chip manufacturers or multiple process nodes. If a unified D2D (die-to-die) interface interconnection protocol is not established, IP / chiplets from different manufacturers will not be able to interconnect. Therefore, the industry urgently needs a unified D2D interface interconnection protocol to regulate the development of the chiplet ecosystem.

[0004] High compatibility is a key advantage of the core grain interface interconnection protocol. Compatibility with multiple protocols brings freer and more diverse data transmission methods, is compatible with multiple data communication scenarios, and supports a wider range of usage modes. At the same time, wide compatibility with mainstream communication protocols can be accepted by existing application scenarios that support mainstream communication protocols (such as general-purpose CPUs, GPUs, and FPGAs, etc.), integrated into the mainstream interconnection interface protocol ecosystem, accelerate the construction and development of the ecosystem, and avoid market competition with mainstream interconnection interface protocols. The current mainstream interconnection interface protocols include PCIe, CXL, UCIe, etc. The above mainstream protocols occupy most of the market for high-speed computer interconnection interface standards, and have built a good and mature interconnection ecosystem. The independent research and development of interconnection interface protocols must basically consider compatibility with the above protocols, otherwise it will be difficult to occupy a place in the market.

[0005] Generally speaking, the chip interconnection interface is defined as three layers, namely the protocol layer, the adaptation layer and the physical layer. Generally speaking, the protocol layer is mainly responsible for specific protocol processes, virtual channel management and flow control, while the adaptation layer is mainly responsible for error detection and correction, retransmission, link and power management. The physical layer is responsible for the transmission of messages on the link, and is generally divided into the logical physical layer (Media Access Layer, MAC) and the electrical physical layer (Physical Media Attachment Layer, PMA). The logical physical layer is mainly responsible for data interaction with the adaptation layer. The logical physical layer of different interconnection interface protocols has large differences in single lane size, lane number configuration, scrambling and descrambling methods, and data channel structure (main band sideband); the electrical physical layer is an analog interface of the physical layer, including analog circuits such as differential signal driving. The electrical physical layer of different interconnection interface protocols has significant differences in the number of port signal lines, serial and parallel structures, and packaging types. Therefore, the message transmission channels of the physical layer of the chip interconnection interface are generally not compatible with each other. However, the link management mechanism of the physical layer shows the characteristics of unity and compatibility, which is specifically reflected in the fact that the message has a common and unified management process during the transmission of the physical layer: 1. After power-on, the link needs to be initialized, parameter configuration and link training are performed to ensure that the sender and the receiver have a successful handshake and can send and receive messages normally; 2. The link will not transmit messages all the time. In the actual scenario of no message transmission, power management is required to set multiple levels of low power consumption mode to reduce power consumption overhead; 3. In the face of abnormal working conditions such as link errors and link closures that may occur in the link, link management is required to handle the above abnormal working conditions and ensure the normal operation of the link. Therefore, it is difficult to achieve message transmission channels compatible with the physical layers of different protocols, but it is feasible to have compatible link management mechanisms of the physical layer, and it also has certain advantages: compatible with a common link management mechanism is actually to reuse the hardware circuit with the same function; compared with the implementation scheme of two completely independent and isolated link management mechanisms, compatible with a common link management mechanism saves the hardware overhead of repeated functions and reduces energy consumption, while ensuring that the two sets of link management mechanisms can work normally. However, the main work of the core-grain interface interconnection protocols that have been issued so far focuses on the discussion and formulation of the details of the message transmission channel structure, such as the interface message format definition, layer definition, and interface signal definition of each layer, without in-depth consideration of the implementation of the link management mechanism. Some core-grain interface interconnection protocols have problems such as incomplete definition, inconsistent form, and unclear details in terms of link management mechanism. They not only need to consider further improvement of the link management mechanism and specific details, but also need to consider compatibility with other protocols when compatible with other protocols.

[0006] The link management mechanism of the PCIe physical layer is implemented by a first link training state machine LTSSM (Link Training and Status State Machine). Figure 1 As shown, the first link training state machine LTSSM consists of 11 states, including detection, polling, configuration, link disabled, hot reset, loopback, L0, L0s, L1, L2 and recovery. Among them, L0, L0s, L1, L2 are four levels of energy consumption states, among which L0 is the normal working state, L0s is the first level low power state, L1 is the second level low power state, and L2 is the third level low power state. These 11 states are respectively related to PCIe link training, link retraining, active power management (ASPM) and system software power management. The CXL protocol is based on the PCIe specification physical and electrical interface and directly uses the PCIe physical layer. Therefore, the link management mechanism of the physical layer is exactly the same as that of PCIe. The link management mechanism of the UCIe physical layer is implemented by a second link training state machine LTSM (Link Training State Machine), as shown in Figure 2 As shown, the second link training state machine LTSM consists of 10 states, including reset state RESET, sideband initialization state SBINIT, main band initialization state MBINIT, main band training state MBTRAIN, link initialization LINKINIT, activation ACTIVE, physical layer retraining PHYRETRAIN, L1, L2 and training error TRAINEROR. These states are respectively related to the main band sideband training, link error management, power management, etc. of UCIe. Among them, the L1 state and the L2 state can be merged into one state under certain conditions. Therefore, the compatibility of link management mechanisms of different chip interconnection interface protocols depends on how to achieve compatibility of link management state machines at the physical layer. How to achieve compatibility of link management state machines at the physical layer of different chip interconnection interface protocols has become a key technical problem that needs to be solved urgently. Summary of the invention

[0007] Technical problem to be solved by the present invention: In view of the above-mentioned problems in the prior art, a hierarchical link management method and chip compatible with multiple chip interconnection interfaces are provided. The present invention aims to realize a link training state machine of a state machine that is compatible with multiple chip interconnection interface protocols, so that the link management of the physical layer of different chip interconnection interface protocols can be compatible when multiple chip interconnection interface protocols are compatible.

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

[0009] A hierarchical link management method compatible with multiple chiplet interconnection interfaces, comprising:

[0010] S101, establishing a hierarchical universal link training state machine consisting of main-level and sub-level states;

[0011] S102, configuring a universal link training state machine according to the protocol of the chip interconnection interface adopted by the physical layer, so that the universal link training state machine is compatible with the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer at the main layer, and realizes the differentiated implementation of the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer at the sub-layer below the main layer, so as to be used for link training during link initialization so that the sending end and the receiving end can handshake successfully and send and receive messages normally.

[0012] Optionally, the hierarchical universal link training state machine established in step S101 includes eight main states: reset state RESET, initialization training state INIT, normal working state L0, first-level low power state L0s, second-level low power state L1, third-level low power state L2, retraining state RETRAIN, and link management state MANAGE. The names and functions of the main states are fixed, some state transition conditions of the main states are necessary for function implementation and cannot be configured, and some state transition conditions are flexibly implemented and configurable according to different chip interconnection interface protocols; each main state contains one or more configurable sub-states, all parameters of the sub-states are configurable, and all parameters include number, name, function, entry condition, exit condition and state transition condition.

[0013] Optionally, the state transition conditions that are necessary and non-configurable for function implementation include: state transition condition 1: when link reset is completed, the initialization training state INIT is entered from the reset state RESET; state transition condition 2: when link initialization configuration and link training are completed, the normal working state L0 is entered from the initialization training state INIT; state transition condition 3: in the normal working state L0, if a power management request to enter the secondary low power state is detected, the secondary low power state L1 is entered from the normal working state L0; state transition condition 4: in the normal working state L0, if a power management request to enter the tertiary low power state L2 is detected, the tertiary low power state L2 is entered from the normal working state L0; state transition conditions 5: In the third-level low-power state L2, if a link wake-up request for exiting the third-level low-power state is detected, the reset state RESET is entered from the third-level low-power state L2. In the third-level low-power state L2, only the power supply is retained and the link is closed. If the link needs to be restored from the third-level low-power state L2 to the normal working state L0, it is first necessary to enter the reset state RESET to reset the link, and then enter the initialization training state INIT to perform link initialization configuration and training. Only after the above is completed can the normal working state L0 be entered; State transition condition 6: In the normal working state L0, if a link error or a physical layer retraining request sent remotely is detected, the retraining state RETRAIN is entered from the normal working state L0; State transition condition 7: in the retraining state RETRAIN, if the retraining of the link is completed, the retraining state enters the initialization training state INIT; state transition condition 8: in the link management state MANAGE, if the processing of the abnormal working situation is completed, the link management state MANAGE enters the reset state RESET; the state transition conditions that can be flexibly implemented and configured according to different chiplet interconnection interface protocols include: the state transition conditions from the initialization training state INIT to the link management state MANAGE and the retraining state RETRAIN, the state transition conditions from the retraining state RETRAIN to the normal working state L0 and the link management state MANAGE, the state transition conditions from the normal working state L0 to the first-level low power state L0s, the state transition conditions from the first-level low power state L0s to the normal working state L0 and the retraining state RETRAIN, the state transition conditions from the second-level low power state L1 to the initialization training state INIT and the retraining state RETRAIN, and the state transition conditions from the link management state MANAGE to the retraining state RETRAIN.

[0014] Optionally, configuring the universal link training state machine according to the protocol of the chiplet interconnection interface adopted by the physical layer in step S102 includes:

[0015] S201, configuring the main state of the universal link training state machine and its configurable partial state transition conditions, so that the main state and its state transition conditions are compatible with the link training state machine corresponding to the chiplet interconnection interface protocol adopted by the physical layer;

[0016] S202, configuring the sub-states and configurable parameters of the main state of the universal link training state machine, so that the sub-states and configurable parameters of the main state are compatible with the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer.

[0017] Optionally, when the protocol of the chip interconnect interface adopted by the physical layer in step S102 is the PCIe protocol, and the link training state machine corresponding to the chip interconnect interface protocol adopted by the physical layer is the first link training state machine LTSSM, when the main state of the general link training state machine and some configurable state transition conditions thereof are configured in step S201, it includes regarding the retraining state RETRAIN as the link recovery state Recovery of the first link training state machine LTSSM, and for the state transition conditions that are flexibly implemented and configurable according to different chip interconnect interface protocols, the state transition condition of the secondary low power state L1 entering the initialization training state INIT is configured as not supported, and the remaining configurable state transition conditions are configured as supported.

[0018] Optionally, when the protocol of the core-grain interconnection interface adopted by the physical layer in step S102 is the PCIe protocol, and the link training state machine corresponding to the core-grain interconnection interface protocol adopted by the physical layer is the first link training state machine LTSSM, when configuring the sub-states and configurable parameters of the main state of the general link training state machine in step S202, it includes establishing three sub-states corresponding to detection Detect, polling, and configuration Configuration of the first link training state machine LTSSM for the initialization training state INIT, and the state transition condition 1 enters the detection Detect sub-state of the initialization training state INIT from the reset state RESET, configures the state transition condition for the bidirectional conversion of detection Detect and polling Polling, the state transition condition for the unidirectional conversion of polling Polling to configuration Configuration, the state transition condition for the unidirectional conversion of Configuration to detection Detect, and configures the Configuration sub-state as the interactive state between the initialization training state INIT and other main states except the reset state RESET; establishes the loopback test Loopback and hot reset Hot of the first link training state machine LTSSM for the link management state MANAGE. The three sub-states corresponding to Reset and Link Disabled configure the state transition conditions from the three sub-states of loopback test Loopback, hot reset and link disabled to the reset state RESET, the state transition conditions from the initialization training state INIT to the two sub-states of loopback test Loopback and link disabled Disabled, and the state transition conditions from the retraining state RETRAIN to the three sub-states of loopback test Loopback, hot reset and link disabled Disabled.

[0019] Optionally, when the protocol of the core-grain interconnect interface adopted by the physical layer in step S102 is the UCIe protocol, and the link training state machine corresponding to the core-grain interconnect interface protocol adopted by the physical layer is the second link training state machine LTSM, when the main state of the universal link training state machine and its configurable partial state transition conditions are configured in step S201, the retraining state RETRAIN is regarded as the physical layer retraining state PHYRETRAIN of the second link training state machine LTSM, the normal working state L0 is regarded as the activation state ACITIVE of the second link training state machine LTSM, the first-level low power state L0s is disabled, and the flexibly implemented according to different core-grain interconnect interface protocols. The existing and configurable state transition conditions configure all state transition conditions related to the first-level low-power state L0s as not supported, configure the state transition conditions for the second-level low-power state L1 to enter the retraining state RETRAIN as not supported, configure the state transition conditions for the initialization training state INIT to enter the link management state MANAGE and the retraining state RETRAIN as not supported, configure the state transition conditions for the conversion between the link management state MANAGE and the retraining state RETRAIN as not supported, configure the state transition conditions for the retraining state RETRAIN to enter the normal working state L0 as not supported, and the remaining configurable state transition conditions are configured as supported.

[0020] Optionally, when the protocol of the core-grain interconnection interface adopted by the physical layer in step S102 is the UCIe protocol, and the link training state machine corresponding to the core-grain interconnection interface protocol adopted by the physical layer is the second link training state machine LTSM, when configuring the sub-states under the main state of the universal link training state machine and its configurable parameters in step S202, it includes establishing four sub-states corresponding to the sideband initialization state SBINIT, the main band initialization state MBINIT, the main band training state MBTRAIN and the link initialization LINKINIT of the second link training state machine LTSM for the initialization training state INIT, and sequentially configuring the state transition conditions of the sideband initialization state SBINIT entering the main band initialization state MBINIT, and the state transition conditions of the main band initialization state MBINIT entering the main band training state MBTRAIN The state transition condition is met, the main band training state MBTRAIN enters the state transition condition of the link initialization LINKINIT, and the state transition condition 1 enters the sideband initialization state SBINIT sub-state of the initialization training state INIT from the reset state RESET, the link initialization LINKINIT enters the normal working state L0 when the state transition condition is met, the secondary low power state L1 and the retraining state RETRAIN enter the initialization training state INIT to enter the main band training state MBTRAIN sub-state when the state transition condition is met; and for the link management state MANAGE, the training error state TRAINERROR of the second link training state machine LTSM is established to establish a corresponding sub-state, and the state transition condition from the training error state TRAINERROR to the reset state RESET is configured.

[0021] In addition, the present invention also provides a chip, including multiple chiplets connected by a chiplet interconnection interface, and a link management module for realizing communication between the multiple chiplets, and the link management is programmed or configured to execute the hierarchical link management method compatible with multiple chiplet interconnection interfaces.

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

[0023] 1. Flexibility. The hierarchical link management architecture only requires compatibility at the main level, without considering the compatibility of sub-states at the sub-level. The compatibility method is flexible and the sub-state design is flexible. The hierarchical method makes it possible for link training state machines with different states and different state transition conditions to be compatible.

[0024] 2. Scalability. The hierarchical link management architecture makes the compatibility between link training state machines no longer limited to two specific link training state machines, but can be expanded to a variety of different protocols and different links. When expanding to other links, it is only necessary to use the state that implements link management, power management, and link training functions as the main state, and other states as sub-states, and adjust the hierarchical relationship of the link training state machine to achieve compatibility between multiple link training state machines.

[0025] 3. High compatibility. After configuration, the present invention can be fully compatible with the link training state machines corresponding to various chip interconnection interface protocols, including the first link training state machine LTSSM of the PCIe protocol physical layer and the second link training state machine LTSM of the UCIe protocol physical layer, solving the compatibility problem of the physical layer of mainstream chip interconnection interface protocols (PCIe, UCIe, CXL), and providing a feasible solution for compatibility with mainstream chip interconnection interface protocols.

[0026] 4. Completeness. The present invention provides a complete physical layer link training state machine framework, covering all states required for processing link transactions, and can realize the entire management process of messages during physical layer transmission, providing a detailed solution reference for the independent research and development of high-speed interconnection interface protocols between chips; and the link training state machine also realizes the function of link training state machines compatible with mainstream chip interconnection interface protocols, avoiding repeated code development and saving code development costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is the first link training state machine LTSSM of the PCIe physical layer in the prior art.

[0028] Figure 2 It is the second link training state machine LTSM of the UCIe physical layer in the prior art.

[0029] Figure 3 The figure is a basic flow chart of a method according to a first embodiment of the present invention.

[0030] Figure 4 This is the link management architecture in the first embodiment of the present invention.

[0031] Figure 5 Schematic diagram of the states and state transition relationship of the universal link training state machine in Embodiment 1 of the present invention.

[0032] Figure 6 Schematic diagram of state transition conditions of a universal link training state machine in Embodiment 1 of the present invention.

[0033] Figure 7 This is a schematic diagram of the main state configuration compatible with the first link training state machine LTSSM in Embodiment 1 of the present invention.

[0034] Figure 8 This is a schematic diagram of the sub-state configuration of the first link training state machine LTSSM compatible with the first embodiment of the present invention.

[0035] Fig. 9 This is a schematic diagram of the main state configuration compatible with the second link training state machine LTSM in Embodiment 1 of the present invention.

[0036] Fig.10 This is a schematic diagram of the sub-state configuration compatible with the second link training state machine LTSM in Embodiment 1 of the present invention. DETAILED DESCRIPTION

[0037] The technical problem to be solved by the present invention is to provide a link management mechanism for the physical layer of different chiplet interconnection interface protocols when multiple chiplet interconnection interface protocols are compatible. To solve the above problem, the present invention provides a link management architecture and a set of link training state machines designed based on the link management architecture that are fully compatible with link training state machines corresponding to various chiplet interconnection interface protocols including a first link training state machine LTSSM of PCIe and a second link training state machine LTSM of UCIe.

[0038] Embodiment 1:

[0039] like Figure 3 As shown, the hierarchical link management method compatible with multiple chiplet interconnection interfaces in this embodiment includes:

[0040] S101, establishing a hierarchical universal link training state machine consisting of main-level and sub-level states;

[0041] S102, configuring a universal link training state machine according to the protocol of the chip interconnection interface adopted by the physical layer, so that the universal link training state machine is compatible with the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer at the main layer, and realizes the differentiated implementation of the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer at the sub-layer below the main layer, so as to be used for link training during link initialization so that the sending end and the receiving end can handshake successfully and send and receive messages normally.

[0042] like Figure 4 As shown, the link management architecture in this embodiment is divided into two layers based on the hierarchical concept, the main layer and the sub-layer. The main layer is an abstract layer higher than the sub-layer, which includes the relevant states for implementing link training, link management, and power management functions; the sub-layer includes the specific implementation of each state in the main layer, namely the sub-state. Figure 4The "..." in represents an omitted sub-layer or sub-state. The link management of each protocol is compatible on the main layer and customized on the sub-layer, thereby achieving unified link management. The link training state machine is based on the hierarchical structure design of the link management architecture, and defines the main layer state, state transition relationship, state configurability, and state transition relationship configurability. The two layers are described as follows: 1. The main layer, that is, the main state, includes the link management state (MANAGE, RETRAIN), power management state (L0, L0s, L1, L2), and link training state (RESET, INIT), which completely encompasses the unified management process of the message during the physical layer transmission process; 2. The sub-layer, that is, the sub-state, is the specific implementation within each main state. The link management architecture makes the following provisions for the main layer and sub-layer: 1. At the main layer, the name and function of the main state are fixed, and some entry conditions, exit conditions, and state transition conditions can be changed according to the protocol type or customized, and can be the same or completely different; 2. At the sub-layer, all properties of the sub-state, such as the number, name, function, entry condition, exit condition, and state transition condition, can be changed according to the protocol type or customized, and can be the same or completely different.

[0043] See also Figure 5The hierarchical universal link training state machine established in step S101 of this embodiment includes eight main states: reset state RESET, initialization training state INIT, normal working state L0, first-level low power state L0s, second-level low power state L1, third-level low power state L2, retraining state RETRAIN, and link management state MANAGE. The names and functions of the main states are fixed, and some state transition conditions of the main states are necessary for function realization and cannot be configured, and some state transition conditions are flexibly implemented and configurable according to different core particle interconnection interface protocols; each main state contains one or more configurable sub-states, and all parameters of the sub-states are configurable, including number, name, function, entry condition, exit condition and state transition condition. The above main states are described as follows: reset state RESET is the initial state of the link. After the power-on reset is completed, the link enters this state. Initialization training state INIT is the state in which the link performs initialization configuration and link training. Normal working state L0 is a non-low power state. The link is in this state when it is working normally. The first-level low power state L0s is a "shallow sleep" state, which can be quickly switched with the normal working state. The second-level low-power state L1 is a state with lower power consumption than the first-level low-power state. The third-level low-power state L2 is a deep power saving state with lower power consumption than the second-level low-power state; in this state, only the power supply is retained and the link is closed. The link management state MANAGE is a state in which the link handles abnormal working conditions such as link initialization configuration errors, link training errors, link shutdown, hot reset, loopback test, etc. The final processing result of the abnormal working condition is to return to the reset state, and then complete the link reset, initialization configuration and link training in the initialization training state to resolve the error, and return to the normal working state to restore the normal operation of the link. Therefore, the link management state is a transition state to the reset state. The retraining state RETRAIN is the state of link retraining.

[0044] like Figure 6 As shown in the figure, the dotted lines indicate the configurable state transition direction and state machine that can be customized based on the protocol type; the solid lines indicate the non-configurable state transition direction and state machine that are fixed and have nothing to do with the protocol type. Figure 6 Solid line) includes:

[0045] State transition condition (1): When link reset is completed, the state RESET enters the initialization training state INIT;

[0046] State transition condition (2): After the link initialization configuration and link training are completed, the initialization training state INIT enters the normal working state L0;

[0047] State transition condition (3): In the normal working state L0, if a power management request for entering the secondary low power state is detected, the normal working state L0 enters the secondary low power state L1;

[0048] State transition condition (4): In the normal working state L0, if a power management request to enter the third-level low power state L2 is detected, the state L0 enters the third-level low power state L2;

[0049] State transition condition (5): In the third-level low-power state L2, if a link wake-up request for exiting the third-level low-power state is detected, the third-level low-power state L2 enters the reset state RESET. In the third-level low-power state L2, only the power supply is retained and the link is closed. If the link needs to be restored from the third-level low-power state L2 to the normal working state L0, it first needs to enter the reset state RESET to reset the link, and then enter the initialization training state INIT to perform link initialization configuration and training. Only after the above is completed can it enter the normal working state L0;

[0050] State transition condition (6): In the normal working state L0, if a link error or a physical layer retraining request sent remotely is detected, the state enters the retraining state RETRAIN from the normal working state L0;

[0051] State transition condition (7): In the retraining state RETRAIN, if the link retraining is completed, the state enters the initialization training state INIT from the retraining state;

[0052] State transition condition (8): In the link management state MANAGE, if the processing of the abnormal working condition is completed, the link management state MANAGE enters the reset state RESET;

[0053] Flexible and configurable state transition conditions according to different core particle interconnection interface protocols (i.e. Figure 6 The state transition conditions (in the middle dotted line) include: the state transition conditions of the initialization training state INIT entering the link management state MANAGE and the retraining state RETRAIN, the state transition conditions of the retraining state RETRAIN entering the normal working state L0 and the link management state MANAGE, the state transition conditions of the normal working state L0 entering the first-level low power state L0s, the state transition conditions of the first-level low power state L0s entering the normal working state L0 and the retraining state RETRAIN, the state transition conditions of the second-level low power state L1 entering the initialization training state INIT and the retraining state RETRAIN, and the state transition conditions of the link management state MANAGE entering the retraining state RETRAIN.

[0054] In this embodiment, configuring the universal link training state machine according to the protocol of the chiplet interconnection interface adopted by the physical layer in step S102 includes:

[0055] S201, configuring the main state of the universal link training state machine and its configurable partial state transition conditions, so that the main state and its state transition conditions are compatible with the link training state machine corresponding to the chiplet interconnection interface protocol adopted by the physical layer;

[0056] S202, configuring the sub-states and configurable parameters of the main state of the universal link training state machine, so that the sub-states and configurable parameters of the main state are compatible with the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer.

[0057] like Figure 7 As shown, when the protocol of the chip interconnect interface adopted by the physical layer in step S102 is the PCIe protocol, and the link training state machine corresponding to the chip interconnect interface protocol adopted by the physical layer is the first link training state machine LTSSM, when the main state of the general link training state machine and some configurable state transition conditions thereof are configured in step S201, it includes regarding the retraining state RETRAIN as the link recovery state Recovery of the first link training state machine LTSSM, and for the state transition conditions that are flexibly implemented and configurable according to different chip interconnect interface protocols, the state transition condition of the secondary low power state L1 entering the initialization training state INIT is configured as not supported, and the remaining configurable state transition conditions are configured as supported. Figure 7 In the figure, the solid lines indicate the supported states and state transition directions; the dotted lines indicate the unsupported state transition directions, that is, LTSSM does not implement the transition from the secondary low-power state to the initialization training state. Figure 5 , the first link training state machine LTSSM only does not support the transition from the secondary low power state to the initialization training state. If the universal link training state machine proposed in this embodiment is implemented as the first link training state machine LTSSM, the state transition direction marked by the dotted line will not be enabled.

[0058] like Figure 8As shown, in step S102, the protocol of the core-grain interconnection interface adopted by the physical layer is the PCIe protocol, and the link training state machine corresponding to the core-grain interconnection interface protocol adopted by the physical layer is the first link training state machine LTSSM. When configuring the sub-states and configurable parameters of the main state of the general link training state machine in step S202, it includes establishing three sub-states corresponding to detection Detect, polling, and configuration Configuration of the first link training state machine LTSSM for the initialization training state INIT, and the state transition condition 1 enters the detection Detect sub-state of the initialization training state INIT from the reset state RESET, configures the state transition condition for the bidirectional conversion of detection Detect and polling Polling, the state transition condition for the unidirectional conversion of polling Polling to configuration Configuration, the state transition condition for the unidirectional conversion of Configuration to detection Detect, and configures the Configuration sub-state as the interactive state between the initialization training state INIT and other main states except the reset state RESET; establishes the loopback test Loopback and hot reset Hot of the first link training state machine LTSSM for the link management state MANAGE. The three sub-states corresponding to Reset and Link Disabled configure the state transition conditions from the three sub-states of loopback test Loopback, hot reset and link disabled to the reset state RESET, the state transition conditions from the initialization training state INIT to the two sub-states of loopback test Loopback and link disabled Disabled, and the state transition conditions from the retraining state RETRAIN to the three sub-states of loopback test Loopback, hot reset and link disabled Disabled. Figure 8In the figure, the thick solid line indicates the state transition direction between the main states; the thin solid line indicates the state transition direction between the sub-states within the main state. The L0, L0s, L1, and L2 states in the link training state machine proposed in this embodiment correspond one-to-one to the L0, L0s, L1, and L2 states of the LTSSM; the RETRAIN state completely corresponds to the Recovery state of the LTSSM. The INIT main state includes three sub-states: Detect, Polling, and Configuration. The link management state MANAGE includes three sub-states: loopback test Loopback, hot reset Hot Reset, and link disabled Disabled. The reset state RESET is a newly added state. After the reset operation is completed, it enters the detection state Detect to perform link initialization operations. The state transition direction of the three-level low-power state L2, loopback test Loopback, hot reset Hot Reset, and link disabled Disabled to detection Detect is adjusted to point to the reset state RESET, and the state transition conditions remain unchanged. Some state transitions between Detect, Polling, Configuration, Loopback, Hot Reset, Link Disabled, and Link Recovery are adjusted to the state transition direction between sub-states on the sub-level due to the change of the state hierarchy. After the hierarchical adjustment, the universal link training state machine proposed in this embodiment is fully compatible with all states and state transition directions of the first link training state machine LTSSM.

[0059] like Fig. 9As shown, in step S102, the protocol of the chip interconnect interface adopted by the physical layer is the UCIe protocol, and the link training state machine corresponding to the chip interconnect interface protocol adopted by the physical layer is the second link training state machine LTSM, when the main state of the universal link training state machine and its configurable partial state transition conditions are configured in step S201, the retraining state RETRAIN is regarded as the physical layer retraining state PHYRETRAIN of the second link training state machine LTSM, the normal working state L0 is regarded as the activation state ACITIVE of the second link training state machine LTSM, the first-level low power state L0s is disabled, and the flexibly implemented according to different chip interconnect interface protocols And the configurable state transition conditions, configure all state transition conditions related to the first-level low-power state L0s as not supported, configure the state transition conditions of the second-level low-power state L1 to enter the retraining state RETRAIN as not supported, configure the state transition conditions of the initialization training state INIT to enter the link management state MANAGE and the retraining state RETRAIN as not supported, configure the state transition conditions for the conversion between the link management state MANAGE and the retraining state RETRAIN as not supported, configure the state transition conditions for the retraining state RETRAIN to enter the normal working state L0 as not supported, and the remaining configurable state transition conditions are configured as supported. Fig. 9 In the figure, the solid lines indicate supported states and state transition directions; the dashed lines indicate unsupported states and state transition directions. The second link training state machine LTSM does not implement the first-level low power state and the transition relationship between it and other states. If the universal link training state machine proposed in this embodiment is implemented as the second link training state machine LTSM, the states and state transition directions indicated by the dashed lines will not be enabled.

[0060] like Fig.10As shown, in step S102, the protocol of the core-grain interconnection interface adopted by the physical layer is the UCIe protocol, and the link training state machine corresponding to the core-grain interconnection interface protocol adopted by the physical layer is the second link training state machine LTSM, and in step S202, the sub-states under the main state of the general link training state machine and their configurable parameters are configured, including establishing four sub-states corresponding to the sideband initialization state SBINIT, the main band initialization state MBINIT, the main band training state MBTRAIN and the link initialization LINKINIT of the second link training state machine LTSM for the initialization training state INIT, and sequentially configuring the state transition conditions of the sideband initialization state SBINIT entering the main band initialization state MBINIT, and the state transition conditions of the main band initialization state MBINIT entering the main band training state MBTRAIN The state transition condition is met, the main band training state MBTRAIN enters the state transition condition of the link initialization LINKINIT, and the state transition condition 1 enters the sideband initialization state SBINIT sub-state of the initialization training state INIT from the reset state RESET, the link initialization LINKINIT enters the normal working state L0 when the state transition condition is met, the secondary low power state L1 and the retraining state RETRAIN enter the initialization training state INIT to enter the main band training state MBTRAIN sub-state when the state transition condition is met; and for the link management state MANAGE, the training error state TRAINERROR of the second link training state machine LTSM is established to establish a corresponding sub-state, and the state transition condition from the training error state TRAINERROR to the reset state RESET is configured. Fig.10In the figure, the thick solid line indicates the state transition direction between the main states; the thin solid line indicates the state transition direction between the sub-states within the main state. The secondary low-power state L1, the tertiary low-power state L2 and the reset state RESET in the universal link training state machine proposed in this embodiment correspond one-to-one to the secondary low-power state L1, the tertiary low-power state L2 and the reset state RESET of the second link training state machine LTSM; RETRAIN completely corresponds to the PHYRETRAIN state of the second link training state machine LTSM; the normal working state L0 completely corresponds to the activation state ACITIVE of the second link training state machine LTSM. The initialization training state INIT contains four sub-states: the sideband initialization state SBINIT, the main band initialization state MBINIT, the main band training state MBTRAIN, and the link initialization LINKINIT. The MANAGE main state contains one sub-state: TRAINERROR. Under certain conditions, the UCIe protocol allows the second-level low-power state L1 and the third-level low-power state L2 of the second link training state machine LTSM to be mapped to the same state. The figure shows the second-level low-power state L1 and the third-level low-power state L2 as two separate and independent low-power states. After hierarchical adjustment, the universal link training state machine proposed in this embodiment is fully compatible with all states and state transition directions of the second link training state machine LTSM.

[0061] In summary, the method of this embodiment includes establishing a hierarchical universal link training state machine, configuring the universal link training state machine according to the protocol of the core-grain interconnection interface adopted by the physical layer, so that the universal link training state machine is compatible with the link training state machine corresponding to the core-grain interconnection interface protocol adopted by the physical layer, so as to be used for link training during link initialization so that the sending end and the receiving end can successfully handshake and send and receive messages normally, thereby being compatible with the link training state machine of the state machine of multiple core-grain interconnection interface protocols, so that when multiple core-grain interconnection interface protocols are compatible, the link management of the physical layer of different core-grain interconnection interface protocols can be compatible. The method of this embodiment mainly has the following advantages: 1. Flexibility. The hierarchical link management architecture only requires compatibility at the main level, without considering the compatibility of sub-states at the sub-level, and the compatibility method is flexible and the sub-state design is flexible. The hierarchical method makes it possible to make compatibility between link training state machines of different states and different state transition conditions. 2. Scalability. The hierarchical link management architecture makes the compatibility between link training state machines no longer limited to a specific two link training state machines, but can be extended to a variety of different protocols and different links. When expanding to other links, it is only necessary to use the state that realizes the link management, power management, and link training functions as the main state, and other states as sub-states, and adjust the hierarchical relationship of the link training state machine to achieve compatibility between multiple link training state machines. 3. High compatibility. After configuration, this embodiment can be fully compatible with the first link training state machine LTSSM of the PCIe protocol physical layer and the second link training state machine LTSM of the UCIe protocol physical layer, solving the compatibility problem of the physical layer of the mainstream chip interconnection interface protocol (PCIe, UCIe, CXL), and providing a feasible solution for compatibility with the mainstream chip interconnection interface protocol. 4. Completeness. This embodiment provides a complete physical layer link training state machine framework, including link training, link management, power management related states and transition conditions between states, covering all states required to process link transactions, and can realize the entire management process of the message during the physical layer transmission process, providing a detailed solution reference for the independent research and development of the high-speed interconnection interface protocol between chips; and the link training state machine also realizes the function of being compatible with the link training state machine of the mainstream chip interconnection interface protocol, avoiding repeated code development and saving the cost of code development.

[0062] In addition, this embodiment also provides a chip, including multiple chiplets connected by a chiplet interconnection interface, and a link management module for realizing communication between the multiple chiplets, and the link management is programmed or configured to execute the hierarchical link management method compatible with multiple chiplet interconnection interfaces.

[0063] Embodiment 2:

[0064] This embodiment is basically the same as the first embodiment, and the main difference is that the chip of the first embodiment includes the protocols of the core particle interconnection interface of the PCIe protocol and the UCIe protocol at the same time, that is, it includes two types of core particles using the PCIe protocol and the UCIe protocol respectively. In this embodiment, only core particles of the PCIe protocol are included. On this basis, the compatibility method for the PCIe protocol in the first embodiment can achieve compatibility with the PCIe protocol. In addition, this embodiment also provides a chip, including a plurality of core particles connected by a core particle interconnection interface, and a link management module for realizing communication between the plurality of core particles, and the link management is programmed or configured to execute the hierarchical link management method compatible with the plurality of core particle interconnection interfaces.

[0065] Embodiment three:

[0066] This embodiment is basically the same as the first embodiment, and the main difference is that the chip of the first embodiment includes the protocols of the core particle interconnection interface of the PCIe protocol and the UCIe protocol, that is, it includes two core particles using the PCIe protocol and the UCIe protocol respectively. In this embodiment, only core particles of the UCIe protocol are included. On this basis, the compatibility method for the UCIe protocol in the first embodiment can achieve compatibility with the UCIe protocol. In addition, this embodiment also provides a chip, including a plurality of core particles connected by a core particle interconnection interface, and a link management module for realizing communication between the plurality of core particles, and the link management is programmed or configured to execute the hierarchical link management method compatible with the plurality of core particle interconnection interfaces.

[0067] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the process Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

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

Claims

1. A hierarchical link management method compatible with multiple chiplet interconnection interfaces, characterized in that include: S101, establishing a hierarchical universal link training state machine consisting of main-level and sub-level states; S102, configuring a universal link training state machine according to the protocol of the chip interconnection interface adopted by the physical layer, so that the universal link training state machine is compatible with the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer at the main layer, and implements the differentiated implementation of the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer at the sub-layer below the main layer, so as to be used for link training during link initialization so that the sending end and the receiving end can successfully handshake and send and receive messages normally; Configuring the universal link training state machine according to the protocol of the chip interconnection interface adopted by the physical layer in step S102 includes: S201, configuring the main state of the universal link training state machine and its configurable partial state transition conditions, so that the main state and its state transition conditions are compatible with the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer; S202, configuring the sub-states under the main state of the universal link training state machine and its configurable parameters, so that the sub-states under the main state and its configurable parameters are compatible with the link training state machine corresponding to the chip interconnection interface protocol adopted by the physical layer.

2. The hierarchical link management method compatible with multiple chiplet interconnection interfaces according to claim 1, characterized in that: The hierarchical universal link training state machine established in step S101 includes eight main states: reset state RESET, initialization training state INIT, normal working state L0, first-level low power state L0s, second-level low power state L1, third-level low power state L2, retraining state RETRAIN, and link management state MANAGE. The names and functions of the main states are fixed, some state transition conditions of the main states are necessary for function implementation and cannot be configured, and some state transition conditions are flexibly implemented and configurable according to different core particle interconnection interface protocols; each main state contains one or more configurable sub-states, all parameters of the sub-states are configurable, and all parameters include number, name, function, entry condition, exit condition and state transition condition.

3. The hierarchical link management method compatible with multiple chiplet interconnection interfaces according to claim 2, characterized in that: The state transition conditions that are necessary and non-configurable for function implementation include: State transition condition 1: When link reset is completed, the initialization training state INIT is entered from the reset state RESET; State transition condition 2: When link initialization configuration and link training are completed, the normal working state L0 is entered from the initialization training state INIT; State transition condition 3: In the normal working state L0, if a power management request to enter the secondary low power state is detected, the secondary low power state L1 is entered from the normal working state L0; State transition condition 4: In the normal working state L0, if a power management request to enter the tertiary low power state L2 is detected, the tertiary low power state L2 is entered from the normal working state L0; State transition condition 5: In the third-level low-power state L2, if a link wake-up request for exiting the third-level low-power state is detected, the reset state RESET is entered from the third-level low-power state L2. In the third-level low-power state L2, only the power supply is retained and the link is closed. If the link needs to be restored from the third-level low-power state L2 to the normal working state L0, it is first necessary to enter the reset state RESET to reset the link, and then enter the initialization training state INIT to perform link initialization configuration and training. Only after the above is completed can the normal working state L0 be entered; State transition condition 6: In the normal working state L0, if a link error or a physical layer retraining request sent remotely is detected, the retraining state RETRAIN is entered from the normal working state L0; State transition condition 7: in the retraining state RETRAIN, if the retraining of the link is completed, the retraining state enters the initialization training state INIT; state transition condition 8: in the link management state MANAGE, if the processing of the abnormal working situation is completed, the link management state MANAGE enters the reset state RESET; the state transition conditions that can be flexibly implemented and configured according to different chiplet interconnection interface protocols include: the state transition conditions from the initialization training state INIT to the link management state MANAGE and the retraining state RETRAIN, the state transition conditions from the retraining state RETRAIN to the normal working state L0 and the link management state MANAGE, the state transition conditions from the normal working state L0 to the first-level low power state L0s, the state transition conditions from the first-level low power state L0s to the normal working state L0 and the retraining state RETRAIN, the state transition conditions from the second-level low power state L1 to the initialization training state INIT and the retraining state RETRAIN, and the state transition conditions from the link management state MANAGE to the retraining state RETRAIN.

4. The hierarchical link management method compatible with multiple chiplet interconnection interfaces according to claim 1, characterized in that: When the protocol of the chip interconnect interface adopted by the physical layer in step S102 is the PCIe protocol, and the link training state machine corresponding to the chip interconnect interface protocol adopted by the physical layer is the first link training state machine LTSSM, when the main state of the general link training state machine and some configurable state transition conditions thereof are configured in step S201, it includes regarding the retraining state RETRAIN as the link recovery state Recovery of the first link training state machine LTSSM, and for the state transition conditions that are flexibly implemented and configurable according to different chip interconnect interface protocols, the state transition condition of the secondary low power state L1 entering the initialization training state INIT is configured as not supported, and the remaining configurable state transition conditions are configured as supported.

5. The hierarchical link management method compatible with multiple chiplet interconnection interfaces according to claim 4, characterized in that: In step S102, when the protocol of the core-grain interconnection interface adopted by the physical layer is the PCIe protocol, and the link training state machine corresponding to the core-grain interconnection interface protocol adopted by the physical layer is the first link training state machine LTSSM, when the sub-states and configurable parameters of the main state of the general link training state machine are configured in step S202, it includes establishing three sub-states corresponding to detection Detect, polling, and configuration Configuration of the first link training state machine LTSSM for the initialization training state INIT, and the state transition condition 1 enters the detection Detect sub-state of the initialization training state INIT from the reset state RESET, configures the state transition condition for the bidirectional conversion of detection Detect and polling Polling, the state transition condition for the unidirectional conversion of polling Polling to configuration Configuration, the state transition condition for the unidirectional conversion of Configuration to detection Detect, and configures the Configuration sub-state as the interactive state between the initialization training state INIT and other main states except the reset state RESET; establishes the loopback test Loopback and hot reset Hot of the first link training state machine LTSSM for the link management state MANAGE. The three sub-states corresponding to Reset and Link Disabled configure the state transition conditions from the three sub-states of loopback test Loopback, hot reset and link disabled to the reset state RESET, the state transition conditions from the initialization training state INIT to the two sub-states of loopback test Loopback and link disabled Disabled, and the state transition conditions from the retraining state RETRAIN to the three sub-states of loopback test Loopback, hot reset and link disabled Disabled.

6. The hierarchical link management method compatible with multiple chiplet interconnection interfaces according to claim 1, characterized in that: In step S102, when the protocol of the core-grain interconnect interface adopted by the physical layer is the UCIe protocol, and the link training state machine corresponding to the core-grain interconnect interface protocol adopted by the physical layer is the second link training state machine LTSM, when the main state of the universal link training state machine and its configurable partial state transition conditions are configured in step S201, the retraining state RETRAIN is regarded as the physical layer retraining state PHYRETRAIN of the second link training state machine LTSM, the normal working state L0 is regarded as the activation state ACITIVE of the second link training state machine LTSM, the first-level low power state L0s is disabled, and flexibly implemented according to different core-grain interconnect interface protocols and The configurable state transition conditions configure all state transition conditions related to the first-level low-power state L0s as not supported, configure the state transition conditions for the second-level low-power state L1 to enter the retraining state RETRAIN as not supported, configure the state transition conditions for the initialization training state INIT to enter the link management state MANAGE and the retraining state RETRAIN as not supported, configure the state transition conditions for the conversion between the link management state MANAGE and the retraining state RETRAIN as not supported, configure the state transition conditions for the retraining state RETRAIN to enter the normal working state L0 as not supported, and configure the remaining configurable state transition conditions as supported.

7. The hierarchical link management method compatible with multiple chiplet interconnection interfaces according to claim 6, characterized in that: When the protocol of the core-grain interconnection interface adopted by the physical layer in step S102 is the UCIe protocol, and the link training state machine corresponding to the core-grain interconnection interface protocol adopted by the physical layer is the second link training state machine LTSM, when configuring the sub-states under the main state of the universal link training state machine and its configurable parameters in step S202, it includes establishing four sub-states corresponding to the sideband initialization state SBINIT, the main band initialization state MBINIT, the main band training state MBTRAIN and the link initialization state LINKINIT of the second link training state machine LTSM for the initialization training state INIT, and sequentially configuring the sideband initialization state SBINIT to enter the main band initialization state MBINIT The state transition conditions of BINIT, the state transition conditions of the main band initialization state MBINIT entering the main band training state MBTRAIN, the state transition conditions of the main band training state MBTRAIN entering the link initialization state LINKINIT, and the state transition condition 1 enters the sideband initialization state SBINIT sub-state of the initialization training state INIT from the reset state RESET, the link initialization LINKINIT enters the normal working state L0 when the state transition conditions are met, the secondary low power state L1 and the retraining state RETRAIN enter the initialization training state INIT to enter the main band training state MBTRAIN sub-state when the state transition conditions are met; A corresponding sub-state is established for the training error state TRAINERROR of the second link training state machine LTSM for the link management state MANAGE, and a state transition condition from the training error state TRAINERROR to the reset state RESET is configured.

8. A chip comprising a plurality of chiplets connected by a chiplet interconnection interface, and a link management module for realizing communication between the plurality of chiplets, characterized in that: The link management is programmed or configured to execute the hierarchical link management method compatible with multiple chiplet interconnection interfaces as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Transaction protocol for periphery component interconnection (pci) compatibility in on-chip system (soc)

    CN101620585A

  • Core particle, core particle interconnection method, core particle system and computer equipment

    CN117539821A

  • Interface circuit between protocol layer and adapter layer facing core particle interconnection interface and chip

    CN117834755A

  • Standard interface for die-to-die (d2d) interconnect stacks

    CN118103826A

  • Point-to-point link negotiation method and apparatus

    US20070008898A1