Multi-chip interconnection routing system based on network-on-chip

By adding cross-chip transmission modules and routes to the chip, the problem of data transmission between multiple chips is solved, and the flexibility of cross-chip data transmission and larger-scale network communication is realized.

CN119046224APending Publication Date: 2024-11-29WUXI INST OF INTERCONNECT TECH CO LTD
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411079736.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The prior art cannot realize data transmission between multiple chips, resulting in the problem of not being able to transmit data across chips.

Method used

Add a cross-chip transmission module to the chip, and connect the route and the cross-chip transmission module to realize cross-chip data transmission, increasing the freedom of routing to meet cross-chip transmission conditions.

Benefits of technology

It realizes data transmission between multiple chips, expands the network structure, meets the needs of data transmission across chips, and makes data transmission more flexible.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119046224A_ABST
    Figure CN119046224A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-chip interconnection routing system based on a network-on-chip, which comprises at least two chips, each chip is a chip based on a network-on-chip topological structure, when the chip is used as a sending chip, at least one data sending node in the sending chip is used for generating target transmission data, and the target transmission data is used for transmitting the target transmission data; sending the target transmission data to a corresponding first target route; each first target route is used for sending the target transmission data to the first cross-chip transmission module based on a transmission path between the first target route and the first cross-chip transmission module when the target transmission data is determined to meet the cross-chip transmission condition; the first cross-chip transmission module is used for determining a receiving chip corresponding to each piece of target transmission data and sending each piece of target transmission data to the corresponding receiving chip, the problem that cross-chip transmission cannot be carried out is solved, the target transmission data is sent to the receiving chip from the chip through the cross-chip transmission module, cross-chip transmission of the data is completed, and the data transmission efficiency is improved. And the data transmission is more flexible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and in particular to a routing system for interconnecting multiple chips based on an on-chip network. Background Art

[0002] NOC (Network on Chip) is an interconnection technology based on on-chip networks, which is used to connect multiple processing units, storage units and other peripherals to achieve high-performance and low-power communication. With the continuous development of integrated circuit technology, the number of processing units integrated on chips is increasing, and the traditional bus interconnection method has been difficult to meet the needs of high performance and low power consumption. NOC technology can effectively improve the integration by building a network structure on the chip, and realize efficient communication between more processing units. NOC technology adopts a distributed communication method, which can flexibly connect different numbers and types of processing units, support multiple communication modes and topologies, and has strong scalability and flexibility. NOC technology can achieve effective control of communication energy consumption, reduce system power consumption, and improve the energy efficiency of the system by optimizing communication paths and dynamically adjusting routing strategies. NOC technology can improve communication bandwidth and speed through parallel transmission, multi-path communication, etc., achieve higher system performance and throughput, and can effectively solve the communication bottleneck and power consumption problems in complex systems such as multi-core processors, systems on chips and heterogeneous computing.

[0003] However, NOC technology can only be applied to a single chip to achieve node communication within the single chip. For multiple chips, the existing technology cannot achieve mutual communication between multiple chips, resulting in data being unable to be transmitted across chips. Summary of the invention

[0004] The present invention provides a routing system for interconnecting multiple chips based on an on-chip network to solve the problem that data transmission cannot be performed between chips.

[0005] According to one aspect of the present invention, a routing system for multi-chip interconnection based on an on-chip network is provided, comprising: at least two chips, each of which is a chip based on an on-chip network topology structure, and the chip comprises: an inter-chip transmission module, at least one node, and a route corresponding to each node, each of the routes is connected to the inter-chip transmission module, and each chip is connected to at least one chip through the inter-chip transmission module;

[0006] When the chip is used as a sending chip, at least one data sending node in the sending chip is used to generate target transmission data and send the target transmission data to the corresponding first target route;

[0007] Each of the first target routes is configured to send the target transmission data to the first cross-chip transmission module based on a transmission path between the first cross-chip transmission module when it is determined that the target transmission data meets the cross-chip transmission condition;

[0008] The first cross-chip transmission module is used to determine the receiving chip corresponding to each target transmission data, and send each target transmission data to the corresponding receiving chip.

[0009] The technical solution of the embodiment of the present invention provides a routing system for multi-chip interconnection based on an on-chip network, comprising: at least two chips, each of which is a chip based on an on-chip network topology structure, and the chip comprises: a cross-chip transmission module, at least one node, and a route corresponding to each node, each of which is connected to the cross-chip transmission module, and each chip is connected to at least one chip through the cross-chip transmission module; when the chip is used as a sending chip, at least one data sending node in the sending chip is used to generate target transmission data and send the target transmission data to a corresponding first target route; each of the first target routes is used to send the target transmission data to the first cross-chip based on the transmission path between the first cross-chip transmission module when it is determined that the target transmission data meets the cross-chip transmission condition. Transmission module; the first cross-chip transmission module is used to determine the receiving chip corresponding to each of the target transmission data, and send each of the target transmission data to the corresponding receiving chip, which solves the problem of being unable to perform cross-chip transmission. By adding a cross-chip transmission module to the chip, the freedom of routing is increased at the same time. The freedom of routing includes the freedom between the cross-chip transmission module. The routing sends the target transmission data that meets the cross-chip transmission conditions to the cross-chip transmission module through the transmission path between the cross-chip transmission module, and the target transmission data is sent from the sending chip to the corresponding receiving chip through the cross-chip transmission module to complete the cross-chip transmission of data. The system provided by the embodiment of the present application can realize a larger-scale network structure and communication between multiple chips, making data transmission more flexible and meeting the needs of cross-chip data transmission.

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

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

[0012] Figure 1 This is a schematic diagram of the structure of a routing system for multi-chip interconnection based on an on-chip network provided according to Embodiment 1 of the present invention;

[0013] Figure 2 It is a topological structure diagram based on NOC technology in the prior art;

[0014] Figure 3 is a schematic diagram of the freedom of routing in the prior art;

[0015] Figure 4 is a schematic diagram of the freedom of routing provided according to the first embodiment of the present invention;

[0016] Figure 5 is a schematic diagram of the structure of a sending chip provided according to Embodiment 1 of the present invention;

[0017] Figure 6 This is a schematic diagram of the structure of a routing system for multi-chip interconnection based on an on-chip network provided according to a second embodiment of the present invention;

[0018] Figure 7 is a structural schematic diagram of a first cross-chip transmission module provided according to Embodiment 2 of the present invention;

[0019] Figure 8 is a schematic structural diagram of another first cross-chip transmission module provided according to Embodiment 2 of the present invention;

[0020] Fig. 9 is a structural schematic diagram of a second cross-chip transmission module provided according to Embodiment 2 of the present invention;

[0021] Fig.10 It is a structural schematic diagram of another second cross-chip transmission module provided according to the second embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

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

[0024] Embodiment 1

[0025] Figure 1 A schematic diagram of a routing system for interconnecting multiple chips based on an on-chip network is provided in the first embodiment of the present invention. Figure 1 As shown, the system includes: at least two chips 1, each chip 1 is a chip based on an on-chip network topology structure, and the chip 1 includes: an inter-chip transmission module 11, at least one node 12 and a route 13 corresponding to each node, each route 13 is connected to the inter-chip transmission module 11, and each chip 1 is connected to at least one chip 1 through the inter-chip transmission module 11.

[0026] Figure 2 A topology diagram based on NOC technology in the prior art is provided. Taking a 4×4 2Dmesh topology structure as an example, R0-R15 represents routes, and N0-N15 connected to the routes represent their nodes. Adjacent routes are interconnected. Communication between any two nodes relies on routing to forward data. Each node has a fixed ID. When the data contains a source ID and a destination ID, communication from one node to another can be completed under the control of the routing. For example, Figure 3 A schematic diagram of the freedom of routing in the prior art is provided; Figure 4 A schematic diagram of the freedom of routing is provided. It can be seen that the freedom of the present application is increased by one compared with the freedom of the prior art, indicating that the routing has added a transmission path; the routing in this embodiment is connected to the cross-chip transmission module, and the increased degree of freedom is the degree of freedom between the routing 13 and the cross-chip transmission module 11, indicating that the transmission path between the routing and the cross-chip transmission module is added to the routing path. The connection between the routing and the cross-chip transmission module can be a communication connection.

[0027] Figure 5A structural schematic diagram of a transmitting chip is provided, and a chip 1 is used as a transmitting chip 101 and a chip 1 is used as a receiving chip 102 as an example to illustrate the process of cross-chip data transmission. When chip 1 is used as the transmitting chip 101, the transmitting chip 101 includes: a first cross-chip transmission module 1011, at least one node 1012, and a route 1013 corresponding to each node, wherein each node can be used as a data sending node 10121 to send data, and each data sending node corresponds to a first target route 10131, that is, the transmitting chip 101 includes: a first cross-chip transmission module 1011, at least one data sending node 10121, and a first target route 10131 corresponding to each data sending node, a node 1012 that does not send data, and a route 1013 corresponding to the node 1012.

[0028] When chip 1 is used as a sending chip 101, at least one data sending node 10121 in the sending chip 101 is used to generate target transmission data and send the target transmission data to the corresponding first target route 10131;

[0029] Each first target route 10131 is used to send the target transmission data to the first cross-chip transmission module 1011 based on the transmission path between the first cross-chip transmission module 1011 when it is determined that the target transmission data meets the cross-chip transmission condition;

[0030] The first cross-chip transmission module 1011 is used to determine the receiving chip 102 corresponding to each target transmission data, and send each target transmission data to the corresponding receiving chip 102 .

[0031] In this embodiment, the sending chip 101 can be understood as a chip for sending data; the data sending node 10121 can be understood as a node in the chip that sends data. The sending chip 101 includes at least one node, and each node can be used as a data sending node 10121 to send data. For example, the sending chip 101 includes 16 nodes, among which node 1 sends target transmission data as a data sending node 10121 at time t1, node 1 and node 3 send target transmission data as data sending nodes 10121 at the same time at time t2, and no node sends data at time t3, etc. The target transmission data can be understood as data that needs to be transmitted. The target transmission data can be data sent to nodes in this chip or data sent to nodes in other chips. The first target route 10131 can be understood as the route corresponding to the data sending node 10121. The cross-chip transmission condition can be understood as a condition for determining whether data needs to be transmitted across chips, for example, the receiving chip 102 (i.e., the destination address) of the target transmission data is not this chip. The first inter-chip transmission module 1011 can be understood as a module for performing inter-chip data transmission, that is, transmitting data from a chip to another chip.

[0032] When the chip is used as a sending chip 101, the sending chip 101 includes one or more nodes, and each node can be used as a data sending node 10121 to send data. When data needs to be transmitted, one or more nodes in the sending chip 101 act as data sending nodes 10121 to generate target transmission data. The target transmission data can be generated in real time, or when certain conditions are met, and so on. The target transmission data may include information such as the destination address, which is used to indicate the data transmission purpose; the data sending node 10121 can generate the target transmission data according to a pre-set data format. The data sending node 10121 sends the target transmission data to the first target route 10131 connected thereto. The number of data sending nodes 10121 can be one or more, and accordingly, the number of first target routes 10131 can be one or more.

[0033] After receiving the target transmission data, each first target route 10131 determines whether the target transmission data meets the cross-chip transmission conditions. If so, the first target route 10131 sends the target transmission data to the first cross-chip transmission module 1011 through the transmission path between the first cross-chip transmission module 1011.

[0034] After receiving the target transmission data, the first cross-chip transmission module 1011 analyzes the target transmission data to determine the receiving chip 102 corresponding to the target transmission data. For example, if the target transmission data carries a destination address, the target transmission data is parsed to determine the destination address, and the receiving chip 102 is determined according to the destination address. Since the chip in the system is connected to at least one chip through the cross-chip transmission module, that is, the chips in the system can be directly connected or connected through other chips, the receiving chip 102 can be the final destination of the target transmission data or an intermediate address, that is, after the target transmission data is sent to the receiving chip 102, the receiving chip 102 continues to forward it until it is sent to the final destination. The first cross-chip transmission module 1011 sends the target data to the corresponding receiving chip 102 to complete the cross-chip transmission. When the number of target transmission data is multiple, each target transmission data can be transmitted sequentially or in parallel, that is, the target transmission data can be transmitted to the corresponding receiving chip 102 in sequence or simultaneously.

[0035] An embodiment of the present invention provides a routing system for multi-chip interconnection based on an on-chip network, which solves the problem of being unable to perform cross-chip transmission. By adding a cross-chip transmission module in the chip, the freedom of routing is increased at the same time. The freedom of routing includes the freedom between the cross-chip transmission module. The routing sends the target transmission data that meets the cross-chip transmission conditions to the cross-chip transmission module through the freedom between the cross-chip transmission module. The target transmission data is sent from the sending chip to the corresponding receiving chip through the cross-chip transmission module to complete the cross-chip transmission of data. The system provided by the embodiment of the present application can realize a larger-scale network structure and communication between multiple chips, making data transmission more flexible and meeting the needs of cross-chip data transmission.

[0036] Embodiment 2

[0037] Figure 6 A schematic diagram of the structure of a routing system for multi-chip interconnection based on an on-chip network is provided for the second embodiment of the present invention. This embodiment is refined on the basis of the above embodiment. The first cross-chip transmission module 1011 is refined to include: a first control unit 10111, a first cross-chip transmission unit 10112, and at least one first buffer 10113. The number of first buffers 10113 is the same as the number of routes in the sending chip 101. The first buffers 10113 correspond to the routes one by one. Each first buffer 10113 is connected to the first control unit 10111 and the first cross-chip transmission unit 10112. The first control unit 10111 is connected to the first cross-chip transmission unit 10112.

[0038] The first target route 10131 is specifically used for:

[0039] Parse the address field in the target transmission data according to the preset data format to determine the chip source address and the chip destination address;

[0040] If the chip source address and the chip destination address are different, it is determined that the target transmission data meets the cross-chip transmission condition.

[0041] In this embodiment, the chip source address can be understood as the address of the chip providing data, used to indicate which chip the data comes from. The chip destination address can be understood as the chip to which the data is ultimately sent, used to indicate which chip the data is ultimately sent to.

[0042] The data format is pre-set, and the data sending node 10121 generates the target transmission data according to the data format; the first target routing 10131 parses the target transmission data according to the data format to determine the data in the corresponding address field. For example, the data format is that the 4th to 5th fields store the chip source address, and the 10th to 11th fields store the chip destination address. The first target routing 10131 parses the 4th to 5th fields of the target transmission data to determine the chip source address, and parses the 10th to 11th fields to determine the chip destination address. Compare whether the chip source address and the chip destination address are the same. If they are different, the target transmission data needs to be transmitted to other chips at this time to determine that the target transmission data meets the cross-chip transmission conditions. If they are the same, the target transmission data is intra-chip communication, and the target transmission data can be transmitted according to the intra-chip routing algorithm.

[0043] Exemplarily, Table 1 provides a data format. Taking a 4×4 mesh topology structure as an example, the fields corresponding to the address information in the data packet are shown in Table 1:

[0044] Table 1

[0045]

[0046] For example, Table 2 provides another data format, also taking the 4×4 mesh topology as an example. A single chip contains 16 nodes, and 4 bits of data are required to traverse all nodes. When multiple chips are interconnected, taking the 4×4 mesh topology structure of 4 chips interconnected as an example, the fields corresponding to the address information are shown in Table 2. A single chip has 16 nodes, and 4 bits of data are required to traverse all nodes. A total of 4 chips are interconnected, and an additional 2 bits of data are required.

[0047] Table 2

[0048]

[0049] Optionally, the first cross-chip transmission module 1011 includes: a first control unit 10111, a first cross-chip transmission unit 10112, and at least one first buffer 10113, the number of the first buffers 10113 is the same as the number of routes in the sending chip 101, the first buffers 10113 correspond to the routes one by one, each first buffer 10113 is connected to the first control unit 10111 and the first cross-chip transmission unit 10112, and the first control unit 10111 is connected to the first cross-chip transmission unit 10112;

[0050] At least one first buffer 10113 connected to at least one first target route 10131 serves as a first target buffer 101131, and is used to receive and buffer the target transmission data forwarded by the first target route 10131;

[0051] The first control unit 10111 is used to read the target transmission data from the first target buffer 101131 in sequence, and determine the receiving chip 102 according to the chip destination address in the target transmission data, and control the first cross-chip transmission unit 10112 to turn on the corresponding transmission channel based on the first target buffer 101131 to send the target transmission data to the receiving chip 102.

[0052] In this embodiment, the first control unit 10111 can be understood as a data processing unit with a control function, which is used to control the transmission of data, for example, an arbiter ARB. The first cross-chip transmission unit 10112 can be understood as a data processing unit for transmitting data across chips. The first buffer 10113 can be understood as a component with a data caching function, for example, a first-in-first-out buffer fifo. The number of first buffers 10113 in the chip is the same as the number of routes, and the two correspond one to one. Each first buffer 10113 is connected to the first control unit 10111 and the first cross-chip transmission unit 10112; the first control unit 10111 is connected to the first cross-chip transmission unit 10112. The first target buffer 101131 can be understood as a buffer connected to the first target route 10131 for cross-chip transmission of target transmission data.

[0053] The first cross-chip transmission module 1011 includes at least one first buffer 10113. The target transmission data is forwarded to the first cross-chip transmission module 1011 by the first target routing 10131. The first buffer 10113 in the first cross-chip transmission module 1011 connected to the first target routing 10131 receives the target transmission data and caches the target transmission data as the first target buffer 101131. At this time, there can be multiple first target buffers 101131 that cache the target transmission data.

[0054] The first control unit 10111 can read the target transmission data from the first target buffer 101131 in sequence according to a certain rule, for example, pre-set the priority of each first buffer 10113, compare the priority of the first target buffer 101131 that has cached data, and read the target transmission data from the first target buffer 101131 in sequence according to the priority, or read the target transmission data in sequence according to the time sequence of the data cached by the first target buffer 101131. The first control unit 10111 reads one target transmission data at a time in sequence, parses the target transmission data, determines the chip destination address, and determines the receiving chip 102 according to the chip destination address. For example, if the destination chip pointed to by the chip destination address is directly connected to the current chip, the destination chip is directly used as the receiving chip 102; if the destination chip pointed to by the chip destination address is not directly connected to the current chip, the target transmission data cannot be directly sent from the current chip to the destination chip, and the chip to which the target transmission data is sent is determined according to the topological structure between the chips, for example, the shortest path is determined according to the routing algorithm, and the receiving chip 102 is determined according to the path. After determining the receiving chip 102, the first control unit 10111 turns on the transmission channel between the first target buffer 101131 and the first cross-chip transmission unit 10112; the first cross-chip transmission unit 10112 is connected to at least one chip, and the first control unit 10111 controls the first cross-chip transmission unit 10112 to turn on the transmission channel with the receiving chip 102 according to the receiving chip 102. The target transmission data is transmitted from the first target buffer 101131 to the first cross-chip transmission unit 10112, and then transmitted to the receiving chip 102 through the first cross-chip transmission unit 10112.

[0055] Optionally, the first cross-chip transmission unit 10112 is a first multiplexer 101121;

[0056] The first multiplexer 101121 responds to the control of the first control unit 10111 , opens the transmission channel with the first target buffer 101131 after the previous target transmission data is transmitted, and sends the target transmission data read this time to the receiving chip 102 .

[0057] In this embodiment, the first multiplexer 101121 can be understood as a multiplexer, and the multiplexer can be connected to at least one first buffer 10113 and connected to other chips at the same time. Since the first multiplexer 101121 can only conduct one channel and transmit one data at the same time, the first multiplexer 101121 responds to the control of the first control unit 10111 to determine whether the previous target transmission data has been completed. If completed, the transmission channel between the first target buffer 101131 is conducted, and the target transmission data read this time is sent to the receiving chip 102. If not completed, wait until the previous target transmission data is completed, conduct the transmission channel between the first target buffer 101131, and send the target transmission data read this time to the receiving chip 102.

[0058] For example, Figure 7A structural schematic diagram of a first cross-chip transmission module is provided, taking the first cross-chip transmission unit 10112 as a first multiplexer 101121 as an example. In the figure, the number of first buffers 10113 is n as an example, and the first buffer 10113 (fifo1) and the first buffer 10113 (fifo2) as the first target buffer 101131 simultaneously receive the target transmission data, and the first control unit 10111 determines to read the target transmission data 1 in the first buffer 10113 (fifo1) first according to a pre-set rule, determines the receiving chip 1, turns on the transmission channel between the first buffer 10113 (fifo1) and the first multiplexer 101121, turns on the transmission channel between the first multiplexer 101121 and the receiving chip 1, and transmits the target transmission data 1 to the receiving chip 1. The first control unit 10111 can read the target transmission data 2 from fifo2 after the target transmission data 1 is transmitted, determine the receiving chip 2, connect the transmission channel between fifo2 and the first multiplexer 101121, connect the transmission channel between the first multiplexer 101121 and the receiving chip 2, and transmit the target transmission data 2 to the receiving chip 2. Alternatively, when transmitting the target transmission data 1, the first control unit 10111 controls the transmission channel between fifo1 and the first multiplexer 101121 to be turned on, and then reads the target transmission data 2 from fifo2 to determine the receiving chip 2; it is determined whether the target transmission data 1 has completed the transmission at this time. If it has been completed, the transmission channel between fifo2 and the first multiplexer 10111 is controlled to be turned on, and the transmission channel between the first multiplexer 101121 and the receiving chip 2 is turned on at the same time, and the target transmission data 2 is transmitted to the receiving chip 2; if it has not been completed, the transmission channel between fifo2 and the first multiplexer 101121 is turned on after waiting for the target transmission data 1 to be completed, and the transmission channel between fifo2 and the first multiplexer 101121 is turned on at the same time, and the transmission channel between the first multiplexer 101121 and the receiving chip 2 is transmitted to the receiving chip 2.

[0059] Optionally, the first cross-chip transmission unit 10112 includes: a first switch control subunit 101122 and at least one first input-output subunit 101123;

[0060] The first switch control subunit 101122 selects a first target input-output subunit A from each first input-output subunit 101123 in response to the control of the first control unit 10111;

[0061] The transmission channel between the first target buffer 101131 and the first target input / output subunit A is turned on to send the target transmission data to the receiving chip 102 .

[0062] In this embodiment, the first switch control subunit 101122 can be understood as a control unit for switching and controlling the transmission channel, for example, a crossbar switch; the first input and output subunit 101123 can be understood as a unit that can input and output data, and can be a data transmission port. The first target input and output subunit A can be understood as a unit that transmits target transmission data. Since there is one or more first input and output subunits 101123, multiple data can be transmitted simultaneously.

[0063] The first switch control subunit 101122 responds to the control of the first control unit 10111 and selects one from each of the first input-output subunits 101123 as the first target input-output subunit A. The screening method may be to select the corresponding first input-output subunit 101123 as the first target input-output subunit A according to the destination address in the target transmission data, or to select the first input-output subunit 101123 that is not currently performing data transmission from each of the first input-output subunits 101123, and select one from the first input-output subunits 101123 that is not currently performing data transmission as the first target input-output subunit A; connect the transmission channel between the first target buffer 101131 and the first target input-output subunit A, connect the transmission channel between the first target input-output subunit A and the receiving chip 102, and send the target transmission data to the receiving chip 102.

[0064] For example, Figure 8Another structural schematic diagram of a first cross-chip transmission module is provided, taking the first cross-chip transmission unit 10112 as an example, including: a first switch control subunit 101122 and at least one first input-output subunit 101123. The first buffer 10113 (fifo1) and the first buffer 10113 (fifo2) as the first target buffer 101131 simultaneously receive the target transmission data, the first control unit 101122 determines to read the target transmission data 1 in fifo1 first according to a pre-set rule, determines the receiving chip 1, controls the first cross-chip transmission unit to conduct the transmission channel, the first switch control subunit 101122 responds to the control of the first control unit 10111, selects the first target input-output subunit A (1) from each first input-output subunit 101123, conducts the transmission channel between fifo1 and the first target input-output subunit A (1), conducts the transmission channel between the first target input-output subunit A (1) and the receiving chip 1, and transmits the target transmission data 1 to the receiving chip 1. After completing the transmission channel conduction control of the target transmission data 1, the first control unit 10111 directly reads the target transmission data 2, or reads the target transmission data 1 and the target transmission data 2 at the same time, determines the receiving chip 2, and controls the first cross-chip transmission unit 10112 to conduct the transmission channel conduction. The first switch control subunit 101122 responds to the control of the first control unit 10111, selects the first target input and output subunit A (2) from each first input and output subunit 101123 (at this time, the first target input and output subunit A (1) may be occupied and is transmitting the target transmission data 1), conducts the transmission channel between fifo2 and the first target input and output subunit A (2), conducts the transmission channel between the first target input and output subunit A (2) and the receiving chip 2, and transmits the target transmission data 2 to the receiving chip 2. This method can realize the parallel transmission of multiple target transmission data.

[0065] Optionally, when the chip serves as a receiving chip 102, the second cross-chip transmission module in the receiving chip 102 is used to receive target transmission data, if it is determined according to the target transmission data that the destination chip of the target transmission data is the chip, determine the data receiving node corresponding to the target transmission data, and send the target transmission data to the second target route corresponding to the data receiving node;

[0066] The second target route is used to send the target transmission data to the data receiving node.

[0067] When chip 1 is used as a receiving chip 102, the receiving chip 102 includes: a second cross-chip transmission module 1021, at least one node 1022, and a route 1023 corresponding to each node. When the chip is used as a receiving chip 102, the receiving chip 102 includes one or more nodes, each of which can be used as a data receiving node to receive data. When data needs to be transmitted, one or more nodes in the receiving chip 102 serve as data receiving nodes 10221 to receive target transmission data. That is, the sending chip 101 includes: a first cross-chip transmission module 1011, at least one data receiving node 10221, and a second target route 10231 corresponding to each data receiving node, a node 1022 that does not receive data, and a route 1023 corresponding to the node 1022.

[0068] In this embodiment, the receiving chip 102 can be understood as a chip that receives data; the data receiving node 10221 can be understood as a node that receives data, and the receiving chip 102 includes at least one node, each of which can serve as a data receiving node 10221 to receive data. The second target route 10231 can be understood as a route corresponding to the data receiving node 10221. The second cross-chip transmission module 1021 can be understood as a module for performing cross-chip data transmission, that is, receiving data from other chips.

[0069] The second cross-chip transmission module 1021 in the receiving chip 102 receives the target transmission data sent by the sending chip 101, analyzes the target transmission data, and determines the destination chip of the target transmission data. For example, the specified field of the target transmission data is parsed to obtain the chip destination address. The chip pointed to by the chip destination address is the destination chip. It is determined whether the chip is the destination chip. If so, the data receiving node 10221 is determined according to the node destination address in the target transmission data, and the target transmission data is sent to the second target route 10231 corresponding to this data receiving node 10221. After receiving the target transmission data, the second target route 10231 sends the target transmission data to the data receiving node 10221 connected thereto.

[0070] It should be noted that the same chip can be used as both a transmitting chip 101 and a receiving chip 102 . For the same target transmission data, the transmission process in the transmitting chip 101 and the transmission process in the receiving chip 102 are mirror images.

[0071] Optionally, the second cross-chip transmission module 1021 includes: a second control unit 10211, a second cross-chip transmission unit 10212, and at least one second buffer 10213, the number of the second buffers 10213 is the same as the number of routes in the receiving chip 102, the second buffers 10213 correspond to the routes one by one, each second buffer 10213 is connected to the second control unit 10211 and the second cross-chip transmission unit 10212, and the second control unit 10211 is connected to the second cross-chip transmission unit 10212;

[0072] A second cross-chip transmission unit 10212, configured to receive at least one target transmission data;

[0073] The second control unit 10211 is used to sequentially obtain target transmission data, determine the data receiving node 10221 according to the target transmission data, determine the second target route 10231 according to the data receiving node 10221, determine the second target buffer 102131 according to the second target route 10231, control the second cross-chip transmission unit 10212 to conduct the transmission channel between the second target buffer 102131, and send the target transmission data to the second target buffer 102131;

[0074] The second target buffer 102131 is used to send the target transmission data to the second target route 10231 corresponding to the data receiving node 10221.

[0075] In this embodiment, the second control unit 10211 can be understood as a data processing unit with a control function, which is used to control the transmission of data, for example, an arbiter ARB. The second cross-chip transmission unit 10212 can be understood as a data processing unit for transmitting data across chips. The second buffer 10213 can be understood as a component with a data caching function, for example, a first-in-first-out buffer fifo. The number of second buffers 10213 in the chip is the same as the number of routes, and the two correspond one to one. Each second buffer 10213 is connected to the second control unit 10211 and the second cross-chip transmission unit 10212; the second control unit 10211 is connected to the second cross-chip transmission unit 10212. The second target buffer 102131 can be understood as a buffer connected to the second target route 10231 for cross-chip transmission of target transmission data.

[0076] The second cross-chip transmission unit 10212 receives the target transmission data transmitted by other chips. When there are multiple target transmission data, the second cross-chip transmission unit 10212 can receive each target transmission data in sequence, or can receive multiple target transmission data at the same time. The second control unit 10211 obtains the target transmission data sent by other chips. The second control unit 10211 can obtain the target transmission data from the second cross-chip transmission unit 10212, or can directly receive the target transmission data transmitted by other chips. The second control unit 10211 obtains each target transmission data in sequence, parses the target transmission data, determines the destination node address corresponding to the target transmission data, determines the node to be transmitted according to the target node address, determines the second target route 10231 according to the correspondence between the node and the route, and determines the second target buffer 102131 according to the correspondence between the route and the second buffer 10213. The second control unit 10211 controls the second cross-chip transmission unit 10212 to conduct the transmission channel between the second target buffer 102131, and sends the target transmission data to the second target buffer 102131. After receiving the target transmission data, the second target buffer 102131 sends the target transmission data to the second target route 10231 corresponding to the data receiving node 1022 , and the second target route 10231 forwards the target transmission data to the corresponding data receiving node 1022 .

[0077] Optionally, the second cross-chip transmission unit 10212 is a second multiplexer 102121;

[0078] The second multiplexer 102121 responds to the control of the second control unit 10211 , opens the transmission channel between the second target buffer 102131 after the previous target transmission data is transmitted, and sends the target transmission data read this time to the second target buffer 102131 .

[0079] In this embodiment, the second multiplexer 102121 can be understood as a multiplexer, and the multiplexer can be connected to at least one second buffer 10213 and connected to other chips at the same time. Since the second multiplexer 102121 can only conduct one channel and transmit one data at the same time, the second multiplexer 102121 responds to the control of the second control unit 10211 to determine whether the previous target transmission data has been completed. If completed, the transmission channel between the first target buffer 101131 is conducted, and the target transmission data read this time is sent to the second target buffer 102131. If not completed, wait until the previous target transmission data is completed, conduct the transmission channel between the second target buffer 102131, and send the target transmission data read this time to the second target buffer 102131.

[0080] For example, Fig. 9 A structural schematic diagram of a second cross-chip transmission module is provided, taking the second cross-chip transmission unit 10212 as a second multiplexer 102121 as an example. The second multiplexer 102121 can only receive one target transmission data at the same time. The second multiplexer 102121 receives a target transmission data 1, determines the second target route 1023 (R3) corresponding to the target transmission data 1, determines the second target buffer 102131 (fifo3) corresponding to the second target route 10231 (R3), and the second control unit 10211 controls the second multiplexer 102121 to conduct the transmission channel with the second target buffer 102131 (fifo3), and sends the target transmission data 1 read this time to the second target buffer 102131 (fifo3). The second control unit 10211 can read the target transmission data 2 after the target transmission data 1 is transmitted, determine its corresponding second target buffer 102131 (fifo4), connect the transmission channel between the second target buffer 102131 (fifo4) and the second multiplexer 102121, and transmit the target transmission data 2 to the second target buffer 102131 (fifo4). Alternatively, when transmitting the target transmission data 1, the second control unit 10211 controls the transmission channel between the second target buffer 102131 (fifo3) and the second multiplexer 102121 to be turned on, then reads the target transmission data 2 and determines the corresponding second target buffer 102131 (fifo4); determines whether the target transmission data 1 has been transmitted at this time, and if it has been completed, controls the transmission channel between the second target buffer 102131 (fifo4) and the second multiplexer 102121 to be turned on, and transmits the target transmission data 2 to the second target buffer 102131 (fifo4); if it has not been completed, waits for the target transmission data 1 to be transmitted and then turns on the transmission channel between the second target buffer 102131 (fifo4) and the second multiplexer 102121 to transmit the target transmission data 2 to the second target buffer 102131 (fifo4).

[0081] Optionally, the second cross-chip transmission unit 10212 includes: a second switch control subunit 102122 and at least one second input-output subunit 102123;

[0082] The second input-output subunit 102123 connected to the first target input-output subunit A serves as a second target input-output subunit B, and is used to receive the target transmission data sent by the first target input-output subunit A;

[0083] In response to the control of the second control unit 10211 , the second switch control subunit 102122 turns on the transmission channel between the second target buffer 102131 and the second target input / output subunit B, and sends the target transmission data to the second target buffer 102131 .

[0084] In this embodiment, the second switch control subunit 102122 can be understood as a control unit for switching and controlling the transmission channel, for example, a crossbar switch; the second input-output subunit 102123 can be understood as a unit that can input and output data, and can be a data transmission port. The second target input-output subunit B can be understood as a unit that transmits target transmission data. Since there is one or more second input-output subunits 102123, multiple data can be transmitted simultaneously.

[0085] The cross-chip transmission units of the two chips are directly connected. Taking the transmitting chip 101 and the receiving chip 102 as an example, the first input-output subunit 101123 of the transmitting chip 101 and the second input-output subunit 102123 of the receiving chip 102 are directly connected. For example, the transmitting chip 101 and the receiving chip 102 both have n input-output subunits, wherein the first input-output subunit 101123 (input-output0) of the transmitting chip 101 is connected to the second input-output subunit 102123 (input-output0) of the receiving chip 102, and the first input-output subunit 101123 (input-output1) of the transmitting chip 101 is connected to the second input-output subunit 102123 of the receiving chip 102.

[0086] (input-output2) connection.

[0087] The second input-output subunit 102123 connected to the first target input-output subunit A serves as the second target input-output subunit B, and can directly receive the target transmission data sent by the first target input-output subunit A. The second switch control subunit 102122, in response to the control of the second control unit 10211, turns on the transmission channel between the second target buffer 102131 and the second target input-output subunit B, and sends the target transmission data to the second target buffer 102131. Since there are multiple second input-output subunits 102123, they can receive multiple target transmission data at the same time, and the second switch control unit can control the transmission channels between multiple second target buffers 102131 and the second target input-output subunit B to be turned on at the same time.

[0088] For example, Fig.10Another structural schematic diagram of a second cross-chip transmission module is provided, taking the second cross-chip transmission unit 10212 as an example, including: a second switch control subunit 102122 and at least one second input-output subunit 102123. Since there is one or more second input-output subunits 102123, one or more target transmission data can be received at the same time. The second target input-output subunit B (1) receives the target transmission data 1, the second control unit 10211 determines the second target route 1023 (R3) corresponding to the target transmission data 1, determines the second target buffer 102131 (fifo3) corresponding to the second target route 1023 (R3), and the second control unit 10211 controls the second target input-output subunit B (1) to conduct the transmission channel with the second target buffer 102131 (fifo3), and sends the target transmission data 1 read this time to the second target buffer 102131 (fifo3). At the same time, the second target input-output sub-unit B (2) receives the target transmission data 2, the second control unit 10211 determines the second target route 1023 (R4) corresponding to the target transmission data 2, determines the second target buffer 102131 (fifo4) corresponding to the second target route 1023 (R4), and the second control unit 10211 controls the second target input-output sub-unit B (2) to connect the transmission channel with the second target buffer 102131 (fifo4), and sends the target transmission data 2 read this time to the second target buffer 102131 (fifo4).

[0089] Optionally, the second cross-chip transmission module 1021 is further used to: if it is determined that the destination chip of the target transmission data is not the current chip, determine a new receiving chip 102 according to the target transmission data, and send the target transmission data to the new receiving chip 102.

[0090] When the second cross-chip transmission module 1021 determines that the destination chip of the target transmission data is not the current chip, it determines the destination chip of the final transmission according to the target transmission data, determines the new receiving chip 102 according to the routing rule, and sends the target transmission data to the new receiving chip 102. The principle of the second cross-chip transmission module 1021 sending the target transmission data to the new receiving chip 102 is the same as the sending principle of the first cross-chip transmission module 1011, and the process of sending the target transmission data by the first cross-chip transmission module 1011 can be referred to, which will not be repeated here.

[0091] A routing system for multi-chip interconnection based on an on-chip network provided in an embodiment of the present invention solves the problem of being unable to perform cross-chip transmission. By adding a cross-chip transmission module in the chip, the freedom of routing is increased at the same time. The freedom of routing includes the freedom between the cross-chip transmission module. The routing sends the target transmission data that meets the cross-chip transmission conditions to the cross-chip transmission module through the freedom between the cross-chip transmission module. The target transmission data is sent from the sending chip to the corresponding receiving chip through the cross-chip transmission module to complete the cross-chip transmission of data. The present application provides two different transmission modes when performing cross-chip transmission, which can realize the transmission of single data and the parallel transmission of multiple data. The system provided by the embodiment of the present application can realize a larger-scale network structure and communication between multiple chips, making data transmission more flexible and meeting the needs of cross-chip data transmission.

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

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

Claims

1. A routing system for multi-chip interconnection based on on-chip network, characterized in that: include: At least two chips, each of which is a chip based on an on-chip network topology structure, and the chip comprises: an inter-chip transmission module, at least one node, and a route corresponding to each node, each of which is connected to the inter-chip transmission module, and each chip is connected to at least one chip through the inter-chip transmission module; When the chip is used as a sending chip, at least one data sending node in the sending chip is used to generate target transmission data and send the target transmission data to the corresponding first target route; Each of the first target routes is used to send the target transmission data to the first cross-chip transmission module based on the transmission path between the first cross-chip transmission module when it is determined that the target transmission data meets the cross-chip transmission condition; The first cross-chip transmission module is used to determine the receiving chip corresponding to each target transmission data, and send each target transmission data to the corresponding receiving chip.

2. The system according to claim 1, characterized in that The first target route is specifically used for: Parse the address field in the target transmission data according to a preset data format to determine the chip source address and the chip destination address; If the chip source address and the chip destination address are different, it is determined that the target transmission data meets the cross-chip transmission condition.

3. The system according to claim 1, characterized in that The first cross-chip transmission module includes: a first control unit, a first cross-chip transmission unit, and at least one first buffer, the number of the first buffers is the same as the number of routes in the sending chip, the first buffers correspond to the routes one by one, each of the first buffers is connected to the first control unit and the first cross-chip transmission unit, and the first control unit is connected to the first cross-chip transmission unit; At least one of the first buffers connected to at least one of the first target routes is used as a first target buffer, and is used to receive and buffer the target transmission data forwarded by the first target route; The first control unit is used to read the target transmission data from the first target buffer in sequence, and determine the receiving chip according to the chip destination address in the target transmission data, and control the first cross-chip transmission unit to turn on the corresponding transmission channel based on the first target buffer to send the target transmission data to the receiving chip.

4. The system according to claim 3, characterized in that The first cross-chip transmission unit is a first multiplexer; The first multiplexer responds to the control of the first control unit, opens the transmission channel between the first target buffer after the previous target transmission data is transmitted, and sends the target transmission data read this time to the receiving chip.

5. The system according to claim 3, characterized in that The first cross-chip transmission unit includes: a first switch control subunit and at least one first input-output subunit; The first switch control subunit selects a first target input-output subunit from each of the first input-output subunits in response to the control of the first control unit; A transmission channel between the first target buffer and the first target input / output subunit is turned on to send the target transmission data to the receiving chip.

6. The system according to any one of claims 1 to 5, characterized in that: When the chip is used as a receiving chip, the second cross-chip transmission module in the receiving chip is used to receive the target transmission data, and if the destination chip of the target transmission data is the current chip, determine the data receiving node corresponding to the target transmission data, and send the target transmission data to the second target route corresponding to the data receiving node; The second target route is used to send the target transmission data to the data receiving node.

7. The system according to claim 6, characterized in that The second cross-chip transmission module includes: a second control unit, a second cross-chip transmission unit, and at least one second buffer, the number of the second buffers is the same as the number of routes in the receiving chip, the second buffers correspond to the routes one by one, each of the second buffers is connected to the second control unit and the second cross-chip transmission unit, and the second control unit is connected to the second cross-chip transmission unit; The second cross-chip transmission unit is used to receive at least one target transmission data; The second control unit is used to sequentially acquire the target transmission data, determine a data receiving node according to the target transmission data, determine a second target route according to the data receiving node, determine a second target buffer according to the second target route, control the second cross-chip transmission unit to conduct a transmission channel with the second target buffer, and send the target transmission data to the second target buffer; The second target buffer is used to send the target transmission data to a second target route corresponding to the data receiving node.

8. The system according to claim 7, characterized in that The second cross-chip transmission unit is a second multiplexer; The second multiplexer responds to the control of the second control unit, and after the last target transmission data is transmitted, opens the transmission channel between the second target buffer and sends the target transmission data read this time to the second target buffer.

9. The system according to claim 7, characterized in that The second cross-chip transmission unit includes: a second switch control subunit and at least one second input and output subunit; The second input-output subunit connected to the first target input-output subunit serves as a second target input-output subunit, and is used to receive the target transmission data sent by the first target input-output subunit; In response to the control of the second control unit, the second switch control subunit switches on the transmission channel between the second target buffer and the second target input / output subunit, and sends the target transmission data to the second target buffer.

10. The system according to claim 6, characterized in that The second cross-chip transmission module is further used to: if the destination chip of the target transmission data is not the current chip, determine a new receiving chip according to the target transmission data, and send the target transmission data to the new receiving chip.

Citation Information

Cited By

  • Method for accessing target address, network, medium and product

    CN121597633A

  • Method, network, medium and product for accessing a target address

    CN121597633B

  • Chip, data transmission method, equipment and medium

    CN122226686A