A chip and multi-chip collaborative debugging system
By setting up a core-grain interconnection interface and a core field of view system in the chip, communication between the upper computer and the core particle is achieved, and the problems of large number of upper computers and complex coordination during the multi-core chip debugging process are solved, simplifying the debugging process.
Patent Information
- Application Number
- CN202411245478.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-09-06
AI Technical Summary
During the debugging process of multi-core chips, multiple upper computers need to be connected, and multiple upper computers need to cooperate together, resulting in a complex debugging process.
Design a chip, in which each core particle is provided with a core particle interconnection interface, debugging interface, core field of view system and system bus. The transmission path is formed through the connection between the interface bus and the system bus, allowing the upper computer to connect to a core particle, through These paths communicate with other core particles, reducing the number of required host computers and simplifying the debugging process.
This reduces the number of host computers required during the debugging process, avoids the coordination between multiple host computers, and simplifies the debugging process.
Smart Images

Figure CN118779273B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of integrated circuit technology, and more specifically, to a chip and multi-chip collaborative debugging system. Background Art
[0002] At present, in order to improve the performance of the chip, multiple core particles are packaged in one chip to form a powerful chip with superior performance.
[0003] Chips that integrate multiple cores have many advantages over traditional chips. However, during chip debugging, each core needs to be connected to a corresponding host computer for debugging. Not only does it require connecting to a large number of host computers, but the host computers also need to cooperate with each other, making the debugging process more complicated. Summary of the invention
[0004] The present application provides a chip that can simplify the debugging process and reduce the difficulty of the chip debugging process.
[0005] In a first aspect, a chip is provided, wherein a plurality of core particles are arranged in the chip;
[0006] Each of the core particles is provided with a core particle interconnection interface, and the plurality of core particles are connected via the core particle interconnection interface;
[0007] Each of the core particles is also provided with a debugging interface, a core vision system and a system bus, and the core vision system includes an interface bus; in each of the core particles, the debugging interface is connected to the interface bus, the interface bus is connected to the core particle interconnection interface, and the core particle interconnection interface is connected to the system bus.
[0008] In the embodiment of the present application, a plurality of core particles are provided in the chip, each core particle is provided with a core particle interconnection interface, and the plurality of core particles are connected through the core particle interconnection interface. A debugging interface, a core vision system and a system bus are also provided in each core particle, and the core vision system includes an interface bus; in each core particle, the debugging interface is connected to the interface bus, the interface bus is connected to the core particle interconnection interface, and the core particle interconnection interface is connected to the system bus. Among them, the connection between the interface bus and the core particle interconnection interface constitutes a transmission path, and the connection between the core particle interconnection interface and the system bus constitutes a transmission path. During the chip debugging process, the host computer is connected to one of the core particles in the chip, and communicates with other core particles through two transmission paths to debug the core particles, which can reduce the number of host computers required in the debugging process, and the entire debugging process can be implemented by a smaller number of host computers, without the need for multiple host computers to cooperate with each other, thereby simplifying the debugging process.
[0009] Optionally, each of the core particles is also provided with a processor, the processor includes a first cross-trigger matrix, and the core vision system includes a second cross-trigger matrix; in each of the core particles, the first cross-trigger matrix is connected to the second cross-trigger matrix, and the second cross-trigger matrix is connected to the core particle interconnection interface.
[0010] Optionally, the second cross-trigger matrix in each of the core particles has a sending interface and a receiving interface corresponding to each of the other core particles; in each of the core particles, the second cross-trigger matrix is connected to the core particle interconnection interface through the sending interface and the receiving interface respectively, the sending interface is used to send a trigger signal during the debugging process to the corresponding other core particles, and the receiving interface is used to receive a trigger signal during the debugging process sent by the corresponding other core particles through the core particle interconnection interface.
[0011] Optionally, a third cross trigger matrix is further provided in each of the chiplets; in each of the chiplets, the second cross trigger matrix is connected to the chiplet interconnection interface through the third cross trigger matrix.
[0012] Optionally, the third cross-trigger matrix in each of the core particles has a sending interface and a receiving interface corresponding to each of the other core particles; in each of the core particles, the third cross-trigger matrix is connected to the core particle interconnection interface through the sending interface and the receiving interface respectively, the sending interface is used to send a trigger signal during the debugging process to the corresponding other core particles, and the receiving interface is used to receive the trigger signal during the debugging process sent by the corresponding other core particles through the core particle interconnection interface.
[0013] Optionally, the chiplet interconnection interface has two bus ports; in each of the chiplets, the system bus is connected to the two bus ports respectively, one of the bus ports is used to interact with the system bus for operation data of the chip during operation, and the other bus port is used to interact with the system bus for configuration data of the chip during debugging.
[0014] Optionally, the chip interconnection interface in each of the chiplets includes a first chip interconnection interface and a second chip interconnection interface; in each of the chiplets, the system bus is connected to the first chip interconnection interface and the second chip interconnection interface respectively, the interface bus is connected to the second chip interconnection interface, the first chip interconnection interface is used to transmit operation data of the chip during operation, and the second chip interconnection interface is used to transmit configuration data of the chip during debugging.
[0015] Optionally, each of the core particles is provided with a third cross-trigger matrix corresponding to each of the other core particles; in each of the core particles, the second cross-trigger matrix is connected to each of the third cross-trigger matrices, and each of the third cross-trigger matrices is connected to the core particle interconnection interface.
[0016] In a second aspect, a multi-chip collaborative debugging system is provided, comprising the chip as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a schematic diagram of a debugging scenario of a multi-chip chip in the related art;
[0018] Figure 2 It is a schematic diagram of a debugging scenario of a multi-chip chip provided in an embodiment of the present application;
[0019] Figure 3 It is a schematic diagram of another debugging scenario of a multi-chip chip provided in an embodiment of the present application;
[0020] Figure 4 It is a schematic diagram of another debugging scenario of a multi-chip chip provided in an embodiment of the present application;
[0021] Figure 5 It is a schematic diagram of another debugging scenario of a multi-chip chip provided in an embodiment of the present application;
[0022] Figure 6 This is a schematic diagram of another debugging scenario of a multi-core chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0024] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0025] As Moore's Law slows down, traditional chip design faces more and more challenges. The emergence of chiplet technology provides new solutions to these challenges. Chiplet technology can significantly improve the flexibility of chip design, optimize chip performance and reduce chip costs.
[0026] Chip technology is a semiconductor packaging and integration method that can integrate multiple pre-manufactured chip dies with the same or different functions on a chip through chip interconnection technology to form a chip with more powerful functions and better performance. This type of chip is also called system-on-chip (SoC), multi-chip chip or multi-chip interconnection system.
[0027] During the debugging process of a multi-chip chip, not only each chip needs to be debugged individually, but also the chip needs to be debugged as a whole. In the related art, a debugging interface is set in each chip, such as a Joint Test Action Group (JTAG) interface. During the debugging process, each chip is connected to a corresponding host computer (such as a computer) through a debugging interface, and a debugging tool is installed in the host computer. The connected chip can be debugged individually through the debugging tool in each host computer. The debugging tools in multiple host computers cooperate with each other to control the coordinated operation of multiple chiplets and debug the chip as a whole.
[0028] The problem with the related technology is that each chip is connected to a host computer, and a large number of host computers need to be connected. At the same time, in the process of debugging the chip as a whole, operations need to be performed on multiple host computers, and multiple host computers need to cooperate with each other, which makes the debugging process more complicated.
[0029] like Figure 1 As shown, Figure 1 It is a schematic diagram of a debugging scenario of a multi-chip in the related art. The chip 11 includes a chip Die1 and a chip Die2. Each chip is provided with a JTAG interface and a die-to-die (D2D) interface. The two chiplets are connected via the die-to-die interface. The JTAG interface of each chiplet is connected to a host computer 12 via a corresponding interface converter 13.
[0030] During the debugging process, if a certain chip needs to be debugged separately, the debugging tool in the host computer to which the chip is connected needs to be used to initialize and configure the chip, so that the chip enters the debugging state and executes the debugging program. The debugging tool monitors and controls the chip in the debugging state to achieve separate debugging of the chip. If the chip needs to be debugged as a whole, it is necessary to operate on the host computers to which multiple chiplets are connected at the same time to initialize and configure multiple chiplets. The parameters that need to be configured for different chiplets during the debugging process may not be uniform, and the time points for entering the debugging state may not be uniform. Therefore, it is difficult to coordinate multiple host computers and multiple chiplets, resulting in a more complicated debugging process.
[0031] In order to solve the above technical problems, the embodiment of the present application provides a chip, in which a plurality of core particles are arranged, each core particle is provided with a core particle interconnection interface, and the plurality of core particles are connected through the core particle interconnection interface. Each core particle is also provided with a debug interface, a core vision system and a system bus, and the core vision system includes an interface bus; in each core particle, the debug interface is connected to the interface bus, the interface bus is connected to the core particle interconnection interface, and the core particle interconnection interface is connected to the system bus.
[0032] For example, Figure 2 Schematic diagram of a debugging scenario of a multi-chip chip provided by an embodiment of the present application. Figure 2 As shown, the chip 21 includes two cores, namely core Die1 and core Die2, each of which includes one or more processors. The processor can be a single-core processor or a multi-core processor. The single-core processor has a single core, and the multi-core processor has multiple cores. A cross trigger matrix (Cross Trigger Matrix, CTM) is set in each processor, and a cross trigger interface (Cross Trigger Interface, CTI) corresponding to each core, and the CTI is connected to the CTM. To avoid confusion, the CTM in the processor is referred to as the first cross trigger matrix, and the CTI in the processor is referred to as the first cross trigger interface.
[0033] At the same time, each core particle is provided with a Coresight system, which is a hardware module for debugging the core particles. The Coresight system includes CTM, CTI and interface bus, etc. The interface bus can be an Advanced Peripheral Bus (APB). The Coresight system also includes other components for debugging the core particles, which will not be described in detail in this embodiment. In the Coresight system, CTM is connected to CTI, the interface bus is connected to CTM, and is connected to other components. At the same time, the interface bus is also connected to the processor, and the CTM in the Coresight system is connected to the CTM in the processor. To avoid confusion, the CTM in the Coresight system is referred to as the second cross-trigger matrix, and the CTI in the Coresight system is referred to as the second cross-trigger interface.
[0034] Each chip is also provided with a debug interface (JTAG) and an interface converter (JTAG-APB). The debug interface is connected to the interface bus through the interface converter. The interface converter (JTAG-APB) is used to realize the interface conversion between the debug interface and the interface bus.
[0035] Each chiplet is also provided with a system bus and a chiplet interconnect interface (D2D). The system bus may include but is not limited to a memory bus, a cache bus and a configuration interface bus. The cache bus is also called a cache coherent interconnect (CCI) bus, which is used to connect the cache in each processor; a memory bus such as an Advanced eXtensible Interface (AXI) bus is used to connect the chip's memory; a configuration interface bus such as an APB bus is used to configure the chip's internal debugging system and peripheral modules.
[0036] like Figure 2 As shown, the chiplet Die1 and the chiplet Die2 are connected via the chiplet interconnection interface, and the connection between the chiplet interconnection interface of the chiplet Die1 and the chiplet interconnection interface of the chiplet Die2 constitutes a transmission path S41. In each chiplet, the chiplet interconnection interface is connected to the interface bus, and the connection between the chiplet interconnection interface and the interface bus constitutes a transmission path S3. In addition, the system bus is connected to the interface bus, and the system bus is also connected to the multi-core processor (not shown in the figure), and the system bus is also connected to the chiplet interconnection interface.
[0037] Optionally, the chiplet interconnection interface has two bus ports; in each chiplet, the system bus is connected to the two bus ports respectively, one bus port is used to interact with the system bus for operating data of the chip during operation, and the other bus port is used to interact with the system bus for configuration data of the chip during debugging.
[0038] like Figure 2 As shown, the system bus and the chip interconnection interface have two connections, which are the connections corresponding to the transmission path S1 and the transmission path S2. The transmission path S1 corresponds to a bus port of the chip interconnection interface, and the transmission path S2 corresponds to another bus port of the chip interconnection interface. The transmission path S1 is used to transmit the operation data between the chiplets during the operation of the chiplets to realize the interaction between the two chiplets. The transmission path S2 is used to transmit the configuration data of the chiplets during the debugging process to perform the initialization configuration of the debugging of the chiplets.
[0039] Combination Figure 1 and Figure 2 The transmission path S1 in the embodiment of the present application is the same as the transmission path S1 in the related art, and the transmission path S1 is used for normal data transmission between chiplets. Compared with the related art, the chip in the embodiment of the present application has additional transmission paths S2 and S3, and the transmission paths S2 and S3 are used for chiplet debugging.
[0040] like Figure 2 As shown, during the debugging process of the chip 21, a host computer 22 and an interface converter (USB-JTAG) 23 may be provided, wherein the debugging interface of one of the chips is connected to the host computer 22 via the interface converter 23. For ease of description, the chip connected to the host computer may be referred to as the master chip, and the other chips may be referred to as slave chips. Figure 2 The chiplet die1 is the master chiplet, and the chiplet die2 is the slave chiplet. The host computer 22 can initialize and configure the master chiplet and / or the slave chiplet through the master chiplet, control the master chiplet and / or the slave chiplet to enter the debugging state and execute the debugging program, so as to debug each chiplet separately or debug the chip as a whole.
[0041] For example, when it is necessary to debug the chip Die1 separately, the debugging tool in the host computer 22 can be used to initialize and configure the chip Die1, so that the chip Die1 enters the debugging state and executes the debugging program. During the initialization configuration process, the host computer 22 can send the configuration parameters of the chip Die1 to the debugging interface of the chip Die1 through the interface converter 23, and the debugging interface sends the configuration parameters to the interface bus. After receiving the configuration parameters, the interface bus configures the various components in the processor and the core vision system according to the configuration parameters to complete the initialization configuration of the chip Die1 and put the chip Die1 into the debugging state. After the chip Die1 enters the debugging state, the debugging program is executed. The debugging tool in the host computer 22 can monitor and control the chip Die1 in the debugging state to complete the debugging of the chip Die1.
[0042] For another example, when it is necessary to debug the chip Die2 separately, the debugging tool in the host computer 22 can be used to initialize and configure the chip Die2, so that the chip Die2 enters the debugging state. During the initialization configuration process, the host computer 22 can send the configuration parameters of the chip Die2 to the debugging interface of the chip Die1 through the interface converter 23, and the debugging interface sends the configuration parameters to the interface bus of the chip Die1. After receiving the configuration parameters, the interface bus of the chip Die1 sends the configuration parameters to the chip interconnection interface of the chip Die1 through the transmission path S3 in the chip Die1, and the chip interconnection interface of the chip Die1 forwards the configuration parameters to the chip interconnection interface of the chip Die2.
[0043] Correspondingly, the chip interconnection interface of chip Die2 sends the configuration parameters to the system bus of chip Die2 through the transmission path S2 in chip Die2, and the system bus of chip Die2 sends the configuration parameters to the interface bus of chip Die2. The interface bus of chip Die2 initializes and configures the processor of chip Die2 and each component in the core vision system according to the configuration parameters to complete the initialization configuration of chip Die2, so that chip Die2 enters the debugging state to execute the debugging program. That is, the configuration parameters of chip Die2 are sent from the upper computer, and pass through the debugging interface, interface bus, transmission path S3, transmission path S41 in chip Die1, and the chip interconnection interface, transmission path S2, system bus and interface bus in chip Die2 in sequence. When chip Die2 enters the debugging state and executes the debugging program, the debugging tool can directly monitor and control the chip Die2 in the debugging state to complete the debugging of chip Die2.
[0044] Among them, the configuration parameters of different cores have different addresses. During the transmission of the configuration parameters, after the configuration parameters of core Die2 are transmitted to the interface bus of core Die1, the interface bus can identify that the configuration parameters belong to core Die2 according to the address of the configuration parameters, and forward the configuration parameters to the core interconnection interface, which sends the configuration parameters to core Die2. Of course, the interface bus can also send the configuration parameters to the interface bus of each core in the chip. When the interface bus determines that the configuration parameters are the configuration parameters of the core according to the address of the configuration parameters, it uses the configuration parameters to configure the processor on the core and the components in the core vision system.
[0045] For another example, when multiple cores need to be debugged as a whole, the debugging tool can use the above method to control some or all cores in the chip to enter the debugging state. Alternatively, the debugging tool can first control some cores to enter the debugging state, and the cores that have entered the debugging state can communicate with other cores that have not entered the debugging state through the core interconnection interface, and then send configuration parameters to other cores that have not entered the debugging state to control other cores that have not entered the debugging state to enter the debugging state. During the debugging process, the debugging tool can directly monitor and control the main core, and can also directly monitor and control the slave core through the main core.
[0046] Combination Figure 1 and Figure 2 It can be seen that during the chip debugging process, the host computer can directly send configuration information to the master chip to initialize the configuration of the master chip. At the same time, for each slave chip, the host computer can send configuration parameters to the slave chip through the transmission path S3 in the master chip, the transmission path S2 in the slave chip, and the transmission path 41 to initialize the configuration of the slave chip, thereby realizing the debugging of the slave chip. In this way, not only can the number of host computers required in the debugging process be reduced, but the entire debugging process can be controlled and implemented by one host computer, and there is no need for coordination between the host computers, thereby simplifying the debugging process.
[0047] In the embodiment of the present application, a plurality of core particles are provided in the chip, each core particle is provided with a core particle interconnection interface, and the plurality of core particles are connected through the core particle interconnection interface. A debugging interface, a core vision system and a system bus are also provided in each core particle, and the core vision system includes an interface bus; in each core particle, the debugging interface is connected to the interface bus, the interface bus is connected to the core particle interconnection interface, and the core particle interconnection interface is connected to the system bus. Among them, the connection between the interface bus and the core particle interconnection interface constitutes a transmission path, and the connection between the core particle interconnection interface and the system bus constitutes a transmission path. During the chip debugging process, the host computer is connected to one of the core particles in the chip, and communicates with other core particles through two transmission paths to debug the core particles, which can reduce the number of host computers required in the debugging process, and the entire debugging process can be implemented by a smaller number of host computers, without the need for multiple host computers to cooperate with each other, thereby simplifying the debugging process.
[0048] Optionally, each chip is also provided with a processor, the processor includes a first cross-trigger matrix, and the core vision system includes a second cross-trigger matrix; in each chip, the first cross-trigger matrix is connected to the second cross-trigger matrix, and the second cross-trigger matrix is connected to the chip interconnection interface.
[0049] Optionally, the second cross-trigger matrix in each chip has a sending interface and a receiving interface corresponding to each other chip; in each chip, the second cross-trigger matrix is connected to the chip interconnection interface through the sending interface and the receiving interface respectively, the sending interface is used to send a trigger signal during the debugging process to the corresponding other chip, and the receiving interface is used to receive the trigger signal during the debugging process sent by the corresponding other chip through the chip interconnection interface.
[0050] In one implementation, in each chiplet, a second cross trigger matrix and a chiplet interconnection interface may be connected, so that different chiplets may send trigger signals generated by CTI to each other during the debugging process through the connection between the second cross trigger matrix and the chiplet interconnection interface.
[0051] For example, Figure 3 FIG. 1 is another schematic diagram of a debugging scenario of a multi-chip chip provided in an embodiment of the present application. Figure 3 As shown, the chip 21 includes core particles Die1 and Die2. In addition to the interfaces connected to the first cross trigger matrix, the second cross trigger interface and the interface bus, the second cross trigger matrix in the core particle Die1 also has a group of interfaces corresponding to the core particle Die2 (core particle Die2 is another core particle relative to the core particle Die1). The group of interfaces includes two interfaces, one interface is used to send a trigger signal to the core particle Die2 (called a sending interface), and the other interface is used to receive the trigger signal sent by the core particle Die2 (called a receiving interface). The two interfaces are respectively connected to the core particle interconnection interface in the core particle Die1, and each interface is respectively connected to a port of the core particle interconnection interface. The connection corresponding to one interface constitutes a transmission path S51, and the connection corresponding to the other interface constitutes a transmission path S61.
[0052] For example, the transmission path S51 corresponds to a sending interface, which is used to transmit a trigger signal of the core Die2 generated by the first cross trigger interface or the second cross trigger interface in the core Die1 to the core Die2. At the same time, the transmission path 51 can also receive a response signal returned by the core Die2 after responding to the trigger signal. The transmission path S61 corresponds to a receiving interface, which is used to receive a trigger signal of the core Die1 generated by the first cross trigger interface or the second cross trigger interface in the core Die2. At the same time, the transmission path 61 can also return a response signal generated by the core Die1 after responding to the trigger signal to the core Die2.
[0053] Similarly, the second cross-trigger matrix in the core particle Die2 has a sending interface and a receiving interface corresponding to the core particle Die1, the sending interface corresponds to the transmission path 52, and the receiving interface corresponds to the transmission path 62. The understanding of the transmission path 52 and the transmission path 62 can refer to the transmission path 51 and the transmission path 61, and this embodiment will not be repeated here.
[0054] Exemplarily, while the debugging tool controls the core particle Die1 to enter the debugging state, the CTI in the core particle Die1 can generate a trigger signal for the core particle Die2 according to the debugging requirements, and then send the trigger signal to the core particle Die2 through the transmission path 51 in the core particle Die1 and the core particle interconnection interface. Correspondingly, after receiving the trigger signal, the core particle interconnection interface in the core particle Die2 can transmit the trigger signal to the second cross trigger matrix in the core particle Die2 through the transmission path 62 in the core particle Die2. The second cross trigger matrix in the core particle Die2 can input the trigger signal into the processor and / or the core vision system in the core particle Die2, so as to trigger the core particle Die2 to make the core particle Die2 enter the debugging state, thereby realizing the coordinated debugging between the core particles Die1 and Die2. Similarly, the core particle Die2 can also generate a trigger signal for the core particle Die1, so as to trigger the core particle Die1 to make the core particle Die1 enter the debugging state, thereby realizing the coordinated debugging between the core particles Die1 and Die2.
[0055] It should be understood that in each chip, the second cross-trigger matrix can be connected to the chip interconnection interface using a sending interface and a receiving interface, or can be connected to the chip interconnection interface in other ways, as long as it can send trigger signals to other chiplets and receive trigger signals sent by other chiplets.
[0056] For example, Figure 4 FIG. 1 is another schematic diagram of a debugging scenario of a multi-chip chip provided in an embodiment of the present application. Figure 4 As shown, when the chip 21 includes three core particles, namely, core particle Die1, core particle Die2 and core particle Die3, the three core particles are interconnected through the core particle interconnection interface, the connection between the core particle interconnection interface of core particle Die1 and the core particle interconnection interface of core particle Die2 constitutes a transmission path 41, the connection between the core particle interconnection interface of core particle Die2 and the core particle interconnection interface of core particle Die3 constitutes a transmission path 42, and the connection between the core particle interconnection interface of core particle Die1 and the core particle interconnection interface of core particle Die3 constitutes a transmission path 43.
[0057] In chip Die1, the second cross-trigger matrix has a group of interfaces corresponding to chip Die2 and a group of interfaces corresponding to chip Die3. The sending interface corresponding to chip Die2 corresponds to transmission path 51, the receiving interface corresponding to chip Die2 corresponds to transmission path 61, the sending interface corresponding to chip Die3 corresponds to transmission path 71, and the receiving interface corresponding to chip Die3 corresponds to transmission path 81.
[0058] In chip Die2, the second cross-trigger matrix has a group of interfaces corresponding to chip Die1 and a group of interfaces corresponding to chip Die3. The transmitting interface corresponding to chip Die1 corresponds to transmission path 52, the receiving interface corresponding to chip Die1 corresponds to transmission path 62, the transmitting interface corresponding to chip Die3 corresponds to transmission path 91, and the receiving interface corresponding to chip Die3 corresponds to transmission path 101.
[0059] In chip Die3, the second cross-trigger matrix has a group of interfaces corresponding to chip Die1 and a group of interfaces corresponding to chip Die2. The sending interface corresponding to chip Die1 corresponds to transmission path 72, the receiving interface corresponding to chip Die1 corresponds to transmission path 82, the sending interface corresponding to chip Die2 corresponds to transmission path 92, and the receiving interface corresponding to chip Die2 corresponds to transmission path 102.
[0060] It should be noted that Figure 3 and Figure 4 For illustrative purposes only, the number of core particles in the chip, the connection method between the core particle interconnection interfaces of each core particle, and the connection method between the second cross-trigger matrix and the core particle interconnection interface may include but is not limited to Figure 3 and Figure 4 shown.
[0061] In the embodiment of the present application, during the debugging process, trigger signals can be sent between different chiplets through the connection between the second cross-trigger matrix and the chiplet interconnection interface to achieve collaborative debugging between different chiplets, which can further simplify the debugging process.
[0062] Optionally, a third cross trigger matrix is further provided in each chiplet; in each chiplet, the second cross trigger matrix is connected to the chiplet interconnection interface via the third cross trigger matrix.
[0063] Optionally, the third cross-trigger matrix in each chip has a sending interface and a receiving interface corresponding to each other chip; in each chip, the third cross-trigger matrix is connected to the chip interconnection interface through the sending interface and the receiving interface respectively, the sending interface is used to send a trigger signal during the debugging process to the corresponding other chip, and the receiving interface is used to receive the trigger signal during the debugging process sent by the corresponding other chip through the chip interconnection interface.
[0064] In one implementation, a cross trigger matrix for connecting the second cross trigger matrix and the chiplet interconnection interface is provided in the chiplet. To avoid confusion, the cross trigger matrix may be named a third cross trigger matrix.
[0065] For example, Figure 5FIG. 1 is another schematic diagram of a debugging scenario of a multi-chip chip provided in an embodiment of the present application. Figure 5 As shown, the chiplet Die1 is provided with a third cross trigger matrix located outside the processor and the core vision system, and the third cross trigger matrix is connected to the second cross trigger matrix and the chiplet interconnection interface respectively. The connection between the third cross trigger matrix and the second cross trigger matrix is similar to the connection between the first cross trigger matrix and the second cross trigger matrix, and the connection between the third cross trigger matrix and the chiplet interconnection interface is similar to the connection between the first cross trigger matrix and the second cross trigger matrix. Figure 3 The connection between the second cross trigger matrix and the chip interconnection interface is similar, and this embodiment will not be described in detail here.
[0066] In each chiplet, when the second cross-trigger matrix sends a trigger signal to the chiplet interconnection interface, it can send a trigger signal to the third cross-trigger matrix, and the third cross-trigger matrix sends the trigger signal to the chiplet interconnection interface, and then the chiplet interconnection interface sends the trigger signal to other chiplets. After receiving the response signal corresponding to the trigger signal, the chiplet interconnection interface can first send the response signal to the third cross-trigger matrix, and the third cross-trigger matrix sends the response signal to the second cross-trigger matrix.
[0067] In each core particle, after receiving the trigger signal sent by other core particles, the core particle interconnection interface can send a trigger signal to the third cross trigger matrix, and the third cross trigger matrix sends the trigger signal to the second cross trigger matrix, and the second cross trigger matrix sends the trigger signal to the processor or various components in the core vision system.
[0068] In an embodiment of the present application, a third cross-trigger matrix for connecting the second cross-trigger matrix and the core particle interconnection interface is provided in the core particle, so that the circuit logic structure of the core particle can be more concise and reasonable, thereby reducing the design difficulty and design cost of the chip.
[0069] Optionally, the chiplet interconnection interface in each chiplet includes a first chiplet interconnection interface and a second chiplet interconnection interface; in each chiplet, the system bus is connected to the first chiplet interconnection interface and the second chiplet interconnection interface respectively, the interface bus is connected to the second chiplet interconnection interface, the first chiplet interconnection interface is used to transmit the operation data of the chip during operation, and the second chiplet interconnection interface is used to transmit the configuration data of the chip during debugging.
[0070] In one implementation, two chip interconnection interfaces may be provided in the chip, one chip interconnection interface (i.e., the first chip interconnection interface) is used to support the normal operation of the chip, and the other chip interconnection interface (i.e., the second chip interconnection interface) is used to support the debugging of the chip. The first chip interconnection interfaces of the two chiplets are interconnected, and the second chip interconnection interfaces of the two chiplets are interconnected.
[0071] Optionally, each chip is provided with a third cross trigger matrix corresponding to each other chip; in each chip, the second cross trigger matrix is connected to each third cross trigger matrix, and each third cross trigger matrix is connected to the chip interconnection interface. For example, in each chip, a corresponding third cross trigger matrix can be separately provided for each other chip, and the second cross trigger matrix is connected to the chip interconnection interface through the third cross trigger matrix.
[0072] For example, Figure 6 FIG. 1 is another schematic diagram of a debugging scenario of a multi-chip chip provided in an embodiment of the present application. Figure 6 As shown, the chip Die1 is provided with a third cross trigger matrix CTM2 corresponding to the chip Die2, and a third cross trigger matrix CTM3 corresponding to the chip Die3; the chip Die2 is provided with a third cross trigger matrix CTM1 corresponding to the chip Die1, and a third cross trigger matrix CTM3 corresponding to the chip Die3; the chip Die3 is provided with a third cross trigger matrix CTM1 corresponding to the chip Die1, and a third cross trigger matrix CTM2 corresponding to the chip Die2. In each chip, the second cross trigger matrix is connected to all third cross trigger matrices, and each third cross trigger matrix is connected to the chip interconnection interface.
[0073] In the embodiment of the present application, a third cross trigger matrix is separately provided for each chiplet, which facilitates the interconnection trigger design when the number of chiplets changes, and can simplify the logic structure of the chip.
[0074] An embodiment of the present application also provides a multi-chip collaborative debugging system, including the chip provided in the above embodiment.
[0075] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, equivalent changes made according to the claims of the present disclosure are still within the scope covered by the present disclosure.
Claims
1. A chip, characterized in that: The chip is provided with a plurality of core particles; Each of the core particles is provided with a core particle interconnection interface, and the plurality of core particles are connected via the core particle interconnection interface; Each of the core particles is also provided with a debugging interface, a core vision system and a system bus, wherein the core vision system includes an interface bus; in each of the core particles, the debugging interface is connected to the interface bus, the interface bus is connected to the core particle interconnection interface, and the core particle interconnection interface is connected to the system bus; Each of the core particles is also provided with a processor, the processor includes a first cross trigger matrix, and the core vision system includes a second cross trigger matrix; in each of the core particles, the first cross trigger matrix is connected to the second cross trigger matrix, and the second cross trigger matrix is connected to the core particle interconnection interface; A third cross trigger matrix is also provided in each of the core particles; in each of the core particles, the second cross trigger matrix is connected to the core particle interconnection interface through the third cross trigger matrix; The chiplet interconnection interface has two bus ports; in each of the chiplets, the system bus is connected to the two bus ports respectively, one of the bus ports is used to exchange the operation data of the chip during operation with the system bus, and the other bus port is used to exchange the configuration data of the chip during debugging with the system bus.
2. The chip according to claim 1, characterized in that: The third cross-trigger matrix in each of the core particles has a sending interface and a receiving interface corresponding to each of the other core particles; In each of the core particles, the third cross-trigger matrix is connected to the core particle interconnection interface through the sending interface and the receiving interface respectively, the sending interface is used to send a trigger signal during the debugging process to the corresponding other core particles, and the receiving interface is used to receive the trigger signal during the debugging process sent by the corresponding other core particles through the core particle interconnection interface.
3. A chip, characterized in that: The chip is provided with a plurality of core particles; Each of the core particles is provided with a core particle interconnection interface, and the plurality of core particles are connected via the core particle interconnection interface; Each of the core particles is also provided with a debugging interface, a core vision system and a system bus, wherein the core vision system includes an interface bus; in each of the core particles, the debugging interface is connected to the interface bus, the interface bus is connected to the core particle interconnection interface, and the core particle interconnection interface is connected to the system bus; Each of the core particles is also provided with a processor, the processor includes a first cross trigger matrix, and the core vision system includes a second cross trigger matrix; in each of the core particles, the first cross trigger matrix is connected to the second cross trigger matrix, and the second cross trigger matrix is connected to the core particle interconnection interface; The chiplet interconnection interface has two bus ports; in each chiplet, the system bus is connected to the two bus ports respectively, one of the bus ports is used to exchange the operation data of the chip during operation with the system bus, and the other bus port is used to exchange the configuration data of the chip during debugging with the system bus; Each of the core particles is provided with a third cross trigger matrix corresponding to each of the other core particles; in each of the core particles, the second cross trigger matrix is connected to each of the third cross trigger matrices, and each of the third cross trigger matrices is connected to the core particle interconnection interface.
4. A multi-chip collaborative debugging system, characterized in that: The invention comprises a chip as claimed in any one of claims 1 to 3.
