Circuit of on-chip network and electronic device

By using a five-level quad-tree structure and a brain-like chip processing core in the on-chip network, the problems of large routing delays and congestion in the existing technology are solved, and more efficient data transmission and scalability are achieved.

WO2024216858A1PCT designated stage expired Publication Date: 2024-10-24PEKING UNIV

Patent Information

Application Number
PCT/CN2023/121950
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-17
Filing Date
2023-09-27
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

When existing on-chip networks have large integration scale or high design complexity, there are problems such as large routing delays and prone to congestion.

Method used

It adopts a five-level four-fork fat tree on-chip network circuit structure, and realizes hierarchical tree structure and fat tree design through five levels of routing module circuits and multiple brain-like chip processing cores. High-level routing nodes are equipped with more parallel channels to reduce latency and congestion.

Benefits of technology

It effectively reduces the data routing step size, improves routing congestion at upper-level nodes, supports multicast and broadcast communications, and improves the performance and scalability of the on-chip network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023121950_24102024_PF_FP_ABST
    Figure CN2023121950_24102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a circuit of on-chip network and an electronic device. The circuit of on-chip network comprises a five-layer routing module circuit and a resource circuit. The routing module circuit comprises five routing layers. The resource circuit comprises a plurality of brain-like chip processing cores. Four routing nodes connected to a first routing layer in the routing module circuit to serve as a second routing layer; each routing node in the second routing layer is connected to four routing nodes to serve as a third routing layer; each routing node in the third routing layer is connected to four routing nodes to serve as a fourth routing layer; each routing node in the fourth routing layer is connected to four routing nodes to serve as a fifth routing layer; and each routing node in the fifth routing layer is connected to the four brain-like chip processing cores. Routing nodes closer to a root routing node have a larger number of parallel channels. According to the present application, excessive delay of the grid structure is avoided and the congestion problem of the circuit of on-chip network is alleviated.
Need to check novelty before this filing date? Find Prior Art

Description

Network-on-chip circuits and electronic devices

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application No. 202310408126.1, filed on April 17, 2023, entitled “On-chip network circuits and electronic devices,” which is incorporated herein by reference in its entirety. Technical Field

[0003] The present application relates to the technical field of brain-like chips, and in particular to an on-chip network circuit and electronic equipment. Background Art

[0004] As integrated circuit technology continues to advance toward the nanoscale, transistor size reductions have made computing increasingly cost-effective. However, physical limitations have prevented the on-chip wiring capacity from increasing to the same degree. This has led to a substantial reversal of the bottlenecks limiting on-chip computing and communication. With traditional system-on-chip architectures proving inadequate to meet the demands of today's systems, distributed network-on-chip (NoC) architectures have emerged as the preferred interconnect architecture for multi-core communication. A NoC can be defined as a single-chip system framework comprised of computing resources (processor cores and field programmable logic blocks, etc.), distributed storage resources, and programmable I / O. These resources are connected via a switching structure and allow inter-chip access via data packets with their own addressing information. Therefore, NoCs often offer advantages such as structured, high-performance, and modularity.

[0005] Brain-inspired chips are hardware computers designed with the characteristics of biological neurons, inspired by the biological brain. These simulated neurons are connected through synapses, enabling massively parallel computing. Thanks to its vast connectivity and functional organizational structure, the brain can simultaneously execute diverse and complex tasks, exhibiting a high degree of parallelism, excellent fault tolerance, and strong robustness, all while consuming minimal power.

[0006] In this context, it's clear that the architecture of a network on a chip (NoC) shares many similarities with the organizational structure of the brain. 1) Resource Reusability: Comparing this to billions of identical neurons, in a NoC, every resource node can be an identical instantiation of the same node, greatly simplifying the complexity of the underlying circuit design. 2) Scalability: NoCs structure top-level wiring, simplifying their layout and ensuring controllable electrical parameters. This allows for near-infinite expansion of the number of resource nodes, facilitating the realization of ultra-large-scale brain-inspired designs. 3) Distributed Parallelism: Different nodes in a NoC can operate in independent clock domains, eliminating the need for a single synchronized clock. This makes it suitable for parallel, globally asynchronous and locally synchronous communication mechanisms. Similarly, the brain is a highly parallelized, asynchronous system without a global clock to coordinate neuronal activity. 4) Event-Driven: Communication between NoC nodes is achieved by routing data packets. The arrival of a data packet is considered an "event" to be processed. Similarly, the brain operates in a decentralized, event-driven manner, processing asynchronous streaming data from multiple sensory organs in real time. 5) Fault tolerance and robustness: Since the various parts of the on-chip network can replace each other and perform the functions of resource nodes equivalently, they can continue to work even if the local system has functional impairments or defects. This is very similar to the biological phenomenon that when part of the brain area is missing, other brain areas can take over the work.

[0007] Existing on-chip networks can be divided into two categories: one is based on the design of mesh topology (two-dimensional, clustered), and the other is based on the design of hierarchical topology (tree, star, butterfly).

[0008] Mesh-based designs are the simplest, can be implemented with natural tiling, and typically offer relatively high interconnect bandwidth. However, this structure has the following disadvantages: 1) When the scale of the on-chip network is large, the routing step length and latency required can be significant, proportional to the network edge length. 2) Mesh structures are not easily adaptable to multicast designs, as replicated packets cannot arrive simultaneously and evenly, often requiring relay-based replication. 3) When considering multicast, it is crucial to avoid design flaws such as deadlock.

[0009] Designs based on hierarchical structures offer lower latency, which is logarithmically related to the network edge length. Furthermore, the tree structure is naturally suited to balanced multicast and is theoretically deadlock-free, overcoming the three shortcomings of the mesh structure. However, the disadvantages of the tree-based hierarchical structure are that it is more complex to design, requiring the design of multiple NOC nodes at different levels. Furthermore, its interconnection bandwidth is limited, and higher-level root nodes are more susceptible to congestion.

[0010] Therefore, due to the large integration scale or high design complexity of existing on-chip networks, the routing step length and delay are large, and congestion and blockage are prone to occur. There is an urgent need for an on-chip network structure that can improve the existing on-chip network routing delay and congestion and blockage.

[0011] Summary of the Invention

[0012] The present application provides an on-chip network circuit and electronic device to solve the defects in the prior art caused by the large integration scale or high design complexity of the existing on-chip network, the large step length and delay required for routing, and the susceptibility to congestion and blockage, thereby avoiding excessive delay in the grid structure and improving the congestion problem of the on-chip network circuit.

[0013] The present application provides an on-chip network circuit, the on-chip network circuit including five levels of routing module circuits and resource circuits, the routing module circuit including five levels of routing layers, and the resource circuit including multiple brain-like chip processing cores;

[0014] The first routing layer in the routing module circuit is a root routing node, and the four routing nodes connected to the root routing node serve as the second routing layer in the routing module circuit. Each routing node in the second routing layer is respectively connected to four routing nodes as the third routing layer in the routing module circuit. Each routing node in the third routing layer is respectively connected to four routing nodes as the fourth routing layer in the routing module circuit. Each routing node in the fourth routing layer is respectively connected to four routing nodes as the fifth routing layer in the routing module circuit. Each routing node in the fifth routing layer is respectively connected to four processing cores of the brain-inspired chip.

[0015] The closer the routing node is to the root routing node, the more parallel channels it has.

[0016] According to an on-chip network circuit provided by the present application, the number of parallel channels of the high-level routing channel in any two adjacent routing channels is twice the number of parallel channels of the low-level routing channel. The high-level routing channel is the routing channel closest to the root routing node among any two adjacent routing channels, and the low-level routing channel is the routing channel closest to the brain-like chip processing core among any two adjacent routing channels.

[0017] According to a network-on-chip circuit provided by the present application, each routing node in the routing module circuit includes a receiver, a transmitter, and an arbitrator, wherein the receiver is connected to the transmitter through the arbitrator;

[0018] The arbiter is used to determine all routing directions of the data packet on the on-chip network circuit, and determine the output routing channel based on the routing direction and the data channels available in the routing direction, and transmit the data packet to the target brain-like chip processing core pointed to by the output routing channel through the output routing channel.

[0019] According to an on-chip network circuit provided by the present application, the arbitrator is also used to determine all routing directions on the on-chip network circuit based on the data packet address and the address of the current routing node, wherein the data packet address includes the target brain-like chip address of the data packet and the address of the target brain-like chip processing core.

[0020] According to an on-chip network circuit provided by the present application, the arbiter is also used to determine the output routing channel of the data packet based on the payload data of the data packet, the routing direction of the data packet and the data channels available in all routing directions, and based on the output routing channel, copy the data packet into target data packets corresponding to the number of the output routing channels, and transmit the target data packet to the target brain-like chip processing core pointed to by the routing direction through the output routing channel.

[0021] According to a network-on-chip circuit provided by the present application, each routing node in the routing module circuit also includes an asynchronous handshake transceiver circuit, which is used to provide an asynchronous single-rail two-phase handshake protocol between the receiver and the transmitter for communication, so as to transmit a data packet each time the response signal level changes.

[0022] According to a network-on-chip circuit provided by the present application, each routing node in the routing module circuit further includes a gating circuit, which is used to control the start and stop of the receiver, the transmitter, the arbiter, and the asynchronous handshake transceiver circuit.

[0023] According to a network-on-chip circuit provided by the present application, the network-on-chip circuit includes multiple brain-inspired chips, and the arbiter is further used to divide the multiple brain-inspired chip processing cores into multiple chip arrays with clusters based on the chip absolute address information of the brain-inspired chips, wherein the chip absolute address information is used to represent the horizontal and vertical coordinate information of each brain-inspired chip in the network-on-chip circuit;

[0024] Based on the chip absolute address information, inter-cluster data packet interaction is performed between the plurality of clustered chip arrays.

[0025] According to an on-chip network circuit provided by the present application, the brain-like chip processing core in the on-chip network circuit includes a learning engine, and the learning engine includes one or more of a pulse convolutional neural network core dedicated learning engine, a pulse recurrent neural network core dedicated learning engine, and a general pulse neural network core dedicated learning engine.

[0026] The present application also proposes an electronic device, which includes an on-chip network circuit as described in any one of the above items, and is used to process one or more of visual, auditory, tactile, olfactory, and inertial sensor signals.

[0027] This application provides a network-on-chip (NoC) circuit and electronic device, featuring a five-level quad-tree NoC circuit. First, the routing module circuit comprises five routing layers, with routing nodes in each layer progressively connected until the fifth routing layer connects to the brain-inspired chip processing core. This hierarchical tree structure avoids the shortcomings of a mesh structure, such as excessive latency, packet duplication, and deadlock. Second, this fat-tree structure significantly reduces congestion by allocating parallel channels to higher-level routing nodes, significantly alleviating congestion. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0029] FIG1 is a schematic diagram of the structure of a network-on-chip circuit provided by the present application;

[0030] FIG2 is a schematic diagram of a multicast routing mechanism of an on-chip network circuit provided by the present application;

[0031] FIG3 is a diagram showing the interconnection structure of routing nodes in the fifth routing layer of the on-chip network circuit provided by the present application;

[0032] FIG4 is a diagram showing the interconnection structure of routing nodes in the fourth routing layer of the on-chip network circuit provided by the present application;

[0033] FIG5 is a schematic diagram of the design and implementation of a routing node in an on-chip network circuit of the present application;

[0034] FIG6 is a schematic diagram of an asynchronous single-rail two-phase communication protocol of an on-chip network circuit of the present application;

[0035] FIG7 is a schematic diagram of an inter-chip expansion mechanism of the on-chip network circuit of the present application without inter-cluster expansion of 1024 chips;

[0036] FIG8 is a schematic diagram of 3844 chips with inter-cluster expansion in the inter-chip expansion mechanism of the on-chip network circuit of the present application;

[0037] FIG9 is a schematic diagram of 8100 chips extended with inter-cluster expansion in the inter-chip expansion mechanism of the on-chip network circuit of the present application. DETAILED DESCRIPTION

[0038] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.

[0039] The network-on-chip circuit of the present application is described below with reference to FIG. 1 to FIG. 9 .

[0040] Please refer to Figure 1, the network-on-chip circuit proposed in this application includes five levels of routing module circuits and resource circuits. The routing module circuit includes five levels of routing layers, and the resource circuit includes multiple brain-like chip processing cores;

[0041] The first routing layer in the routing module circuit is a root routing node, and the four routing nodes connected to the root routing node serve as the second routing layer in the routing module circuit. Each routing node in the second routing layer is respectively connected to four routing nodes as the third routing layer in the routing module circuit. Each routing node in the third routing layer is respectively connected to four routing nodes as the fourth routing layer in the routing module circuit. Each routing node in the fourth routing layer is respectively connected to four routing nodes as the fifth routing layer in the routing module circuit. Each routing node in the fifth routing layer is respectively connected to four processing cores of the brain-inspired chip.

[0042] The closer the routing node is to the root routing node, the more parallel channels it has.

[0043] Among them, the routing module circuit is used to address and receive data outside the chip or data within the chip. The resource circuit contains multiple brain-like chip processing cores, which serve as computing nodes of the on-chip network circuit and are used to analyze and process the received data, including image processing and voice data recognition. The data that can be processed includes but is not limited to one or more visual, auditory, tactile, olfactory, and inertial sensor signals.

[0044] The routing module circuit comprises a five-level structure, consisting of the first routing layer (L1), the second routing layer (L2), the third routing layer (L3), the fourth routing layer (L4), and the fifth routing layer (L5). The first routing layer is the root node, serving as the starting node of the routing module circuit. Starting from the first routing layer, the first routing layer connects to four routing nodes, which form the second routing layer. Each routing node in the second routing layer connects to four routing nodes, and the sixteen routing nodes connected to the second routing layer form the third routing layer. Each routing node in the third routing layer connects to four routing nodes, and the sixty-four routing nodes connected to the third routing layer form the fourth routing layer. Each routing node in the fourth routing layer connects to four routing nodes, and the two hundred and fifty-six routing nodes connected to the fourth routing layer form the fifth routing layer. This is the five-layer structure of the routing module circuit. The routing nodes in each layer are connected in an incremental manner, which can avoid the shortcomings of the mesh structure, such as excessive latency, packet duplication, and deadlock defects. Each routing node in the fifth routing layer is connected to four brain-like chip processing cores respectively, and the brain-like chip processing cores connected downward from the fifth routing layer constitute a resource circuit.

[0045] Refer to Figure 1. As shown in Figure 1, the center of the chip is the L1 routing node, which can communicate directly with the outside of the chip through the IO of the east, west, south and north of the chip. At the same time, it is connected to 4 L2 routing nodes downward. Each L2 node is connected to 4 L3 nodes downward, and so on, until each L5 node is connected to 4 processing cores downward.

[0046] The so-called fat tree structure is that the closer to the chip's root routing node, the fewer routing channels there are. Therefore, the number of routing channels between nodes close to the root routing node must be appropriately increased to improve communication bandwidth. Based on the 4:1 convergence ratio of the quadtree, the fat tree structure is used to improve the convergence ratio to 4:2. The closer the routing node is to the root routing node, the more parallel channels are set. For example, the L5 routing has one channel between each of the four processing cores, doubling the bandwidth between it and the L4 routing, with two parallel channels. Similarly, each L4 has 4×2=8 channels between it and the four L5s, increasing the bandwidth between L3 and L4 routing to 4 parallel channels. Similarly, each L1 has 4×16=64 channels between it and the four L2s, increasing its bandwidth to 32 parallel channels with the chip's output IO, with 8 channels allocated to each of the four sides of the chip.

[0047] In such a 5-level quad-tree architecture, data can be sorted according to The transmission process is defined as downlink, and the data is transmitted according to The transmission process is defined as uplink, and a properly functioning routing network will ensure that the uplink and downlink routing processes of each processing core are correct.

[0048] This application constructs a five-level uplink and downlink separated quad-fat tree on-chip network, adopts a 1024-core multi-core parallel architecture, which can meet the data communication needs between thousands of cores. The network can effectively reduce the data routing step, improve the routing congestion of the upper node, and better support multicast and broadcast communications.

[0049] Given the clear hierarchical architecture of the quadtree routing network, starting from L5, the distance to each processing core is of equal length, and the routing step length is exactly the same. This structure is very suitable for implementing one-to-many routing, so this application is equipped with a multicast routing mechanism for this purpose. As shown in Figure 2, each data packet carries the address (X, Y) of the target processing core and will be routed to the core with the same address. In one-to-one transmission, (0, 0), (0, 1), (1, 0), and (1, 1) will be routed to the specified core respectively. In one-to-many multicast transmission, several bits * address are defined in the data packet, indicating that the bit of the data packet will be copied into two data packets with address 0 and address 1. For example, in a one-to-two transmission, (*, 0) will be copied by the routing node into two data packets (0, 0) and (1, 0) during the downlink process and sent to the two cores, and (*, 1), (0, *), and (1, *) are also shown in the figure. When transmitting in a one-to-four fashion, (*,*) is replicated into four packets: (0,0), (0,1), (1,0), and (1,1). When transmitting in a one-to-sixteen fashion, (**,**) is replicated into 16 packets. Since the chip allocates a total of 10-bit addresses to the processing cores, the routing network can implement the following routing mechanisms: 1-to-1 unicast, 1-to-2 multicast, 1-to-4 multicast, 1-to-8 multicast, 1-to-16 multicast, 1-to-32 multicast, 1-to-64 multicast, 1-to-128 multicast, 1-to-256 multicast, 1-to-512 multicast, and 1-to-1024 broadcast.

[0050] This application proposes a five-level quad-tree network-on-chip circuit. First, the routing module circuit has five routing layers, with routing nodes in each layer progressively connected until the fifth routing layer connects to the brain-inspired chip processing core. This hierarchical tree structure avoids the shortcomings of a mesh structure, such as excessive latency, packet duplication, and deadlock. Second, this fat-tree structure significantly reduces congestion by allocating parallel channels to higher-level routing nodes.

[0051] In one embodiment, the number of parallel channels of the higher-level routing channel in any two adjacent routing channels is twice the number of parallel channels of the lower-level routing channel. The higher-level routing channel is the routing channel closest to the root routing node among any two adjacent routing channels, and the lower-level routing channel is the routing channel closest to the brain-like chip processing core among any two adjacent routing channels.

[0052] A typical NoC consists of four parts: routing nodes, resource nodes, network interfaces, and routing channels. In this application, routing nodes refer to the routing module circuits at the five levels L1 to L5, which instantiate 256 (L5), 64 (L4), 16 (L3), 4 (L2), and 1 (L1) of the same circuit, respectively. Resource nodes belong to the resource module and refer to the 1024 brain-like chip processing cores placed in the NoC, directly connected to the routing nodes in the fifth routing layer. Network interfaces refer to the asynchronous two-phase handshake circuits used for data transmission and reception between transceivers. Routing channels refer to the physical connections for a single set of data transmission, divided into upstream and downstream.

[0053] As shown in Figure 3, each L5 routing node sends data to four processing cores through a transmitter, and simultaneously receives data from the four processing cores through a receiver. The downlink and uplink channels are independent of each other and do not interfere with each other. As shown in Figure 4, each L4 routing node can be connected to four L5 routing nodes through a transmitter and receiver. The difference is that the number of channels between L4 and L5 is doubled compared to the number between L5 and the processing cores, widening the communication bandwidth of high-level routing nodes and avoiding congestion. Similarly, when reaching the root node L1, the L1 node and each L2 node will have 16 pairs of independent uplink and downlink channels. The next level above L1 is the inter-chip input and output in the four directions of east, west, south and north.

[0054] In one embodiment, each routing node in the routing module circuit includes a receiver, a transmitter, and an arbitrator, wherein the receiver is connected to the transmitter through the arbitrator;

[0055] The arbiter is used to determine all routing directions of the data packet on the on-chip network circuit, and determine the output routing channel based on the routing direction and the data channels available in the routing direction, and transmit the data packet to the target brain-like chip processing core pointed to by the output routing channel through the output routing channel.

[0056] The receiver is used to receive data transmitted by the routing node, and the transmitter is used to send data to each routing node. The receiver is connected to the transmitter through the arbitrator. Data is transmitted through the arbitrator connected between the receiver and the transmitter. The arbitrator is essentially a switching switch, which selects the routing channel specified by the output data according to specific arbitration and allocation rules.

[0057] Routing nodes receive input data from upstream or downstream routing nodes. Data received by a routing node through its receiver is first stored in an input buffer and then, under the control of the control logic, fed into an arbiter. This arbiter assigns the data to the correct output direction according to specific arbitration and allocation rules. The data is then transmitted to the target location via the transmitter in the corresponding direction.

[0058] For example, refer to Figure 5, which shows a block diagram of an L5 routing node (the fifth routing layer). This routing node receives input data from six directions (four from lower-level processing cores and two from upper-level L4 routing nodes). The data received by the routing node through the receiver is first stored in the input buffer and then, under the control of the control logic, sent to the 6×6 switching switch. This switching switch then assigns the data to the correct output direction according to specific arbitration and distribution rules. The data is then transmitted to the target location via the transmitter in the corresponding direction.

[0059] The most crucial component of each routing node is the arbiter. Its arbitration and allocation rules determine whether the proposed on-chip network circuit can properly complete data distribution tasks and also determine the routing node's operating efficiency. The arbiter first determines all possible routing directions for a received data packet on the on-chip network circuit. Based on the routing direction and the available data channels along that route, it determines the output routing channel, which it then transmits to the target brain-inspired chip processing core.

[0060] In this embodiment, because the NoC utilizes a fat-tree architecture, multiple channels may exist in a single direction. Therefore, the arbiter operates in two steps: first, determining the routing direction; second, determining the routing channel for that direction. Routing nodes use the arbiter to first determine the routing direction for a packet, then the routing channel for that direction, quickly finding the packet's transmission path and improving packet transmission efficiency. This two-stage arbitration allows routing nodes to parse and route packets to the correct direction and, assuming available channels, to maximize the number of packets sent without conflict. If a channel in a particular direction is temporarily occupied and unavailable, packets can be temporarily stored and sent out again when the channel becomes free.

[0061] In one embodiment, the arbitrator is also used to determine all routing directions on the on-chip network circuit based on the data packet address and the address of the current routing node, wherein the data packet address includes the target brain-like chip address and the address of the target brain-like chip processing core.

[0062] In the on-chip network circuit proposed in this application, the target brain-like chip address and the target brain-like chip processing core address of the data packet directly determine the distribution direction of the data, and the role of the routing arbitrator is to complete the copy and distribution operation of the data packet at the fastest speed and without conflict.

[0063] In this embodiment, the arbitrator can find all routing directions on the on-chip network circuit based on the target brain-like chip address of the data packet and the address of the target brain-like chip processing core, which can improve the routing efficiency of the on-chip network circuit for data packets.

[0064] In one embodiment, the arbitrator is also used to determine the output routing channel of the data packet based on the payload data of the data packet, the routing direction of the data packet and the data channels available in all routing directions, and based on the output routing channel, copy the data packet into target data packets corresponding to the number of the output routing channels, and transmit the target data packet to the target brain-like chip processing core pointed to by the routing direction through the output routing channel.

[0065] The routing node's arbiter first locates all routing directions for the packet on the on-chip network circuit based on the packet's routing direction and the available data channels in all routing directions. It then determines the packet's output routing channel, which is the available direction that the packet can reach toward the desired distribution location. Next, the arbiter replicates the packet's payload data, with the number of replicates corresponding to the number of output routing channels, to obtain the target packet. The replicated target packet is then transmitted via the output routing channel to the target brain-inspired chip processing core indicated by the routing direction, completing the routing, broadcasting, and transmission of the packet.

[0066] In this embodiment, based on the payload data of the data packet, the routing direction of the data packet and the available data channels in all routing directions, the copy and distribution operation of the data packet can be completed at the fastest speed and without conflict.

[0067] In one embodiment, each routing node in the routing module circuit further includes an asynchronous handshake transceiver circuit, which is used to provide an asynchronous single-rail two-phase handshake protocol between the receiver and the transmitter for communication, so as to transmit a data packet each time the response signal level changes.

[0068] In the on-chip network proposed in this application, data entering or leaving a routing node must pass through a transceiver. Because a pair of transmitters and receivers belong to different routing nodes or processing cores, the communication between them is typical cross-clock domain communication. Therefore, this application uses an asynchronous single-rail two-phase handshake protocol between the receiver and transmitter to ensure communication.

[0069] As shown in Figure 6, the single-track protocol contains only the acknowledge signal and a single-track data signal, resulting in a 64-bit data packet width. The two-phase protocol is edge-triggered, with each acknowledge signal level change triggering a data packet. This single-track, two-phase protocol ensures fast data transmission while reducing wiring burden on the on-chip network.

[0070] In one embodiment, each routing node in the routing module circuit further includes a gating circuit, and the gating circuit is used to control the activation and deactivation of the receiver, the transmitter, the arbitrator, and the asynchronous handshake transceiver circuit.

[0071] In particular, when there is no data distribution, the arbiter, receiver, transmitter and other modules of each routing node are controlled by the gating circuit, and no additional dynamic power consumption is generated.

[0072] In one embodiment, the on-chip network circuit includes multiple brain-like chips, and the arbiter is further used to divide the multiple brain-like chips into multiple chip arrays with clusters based on the chip absolute address information of the brain-like chips, wherein the chip absolute address information is used to represent the horizontal and vertical coordinate information of each brain-like chip in the on-chip network circuit;

[0073] Based on the chip absolute address information, inter-cluster data packet interaction is performed between the plurality of clustered chip arrays.

[0074] It should be noted that the division method of the brain-like chip processing core can be divided according to needs, and is not limited in this example. One possible division method is to divide the brain-like chip processing core into multiple clusters including the upper left cluster, the lower left cluster, the upper right cluster and the lower right cluster.

[0075] In addition to the 10-bit processing core address within the core, the circuit also equips each chip with a 10-bit chip address. As shown in Figure 7, generally speaking, a 10-bit address can only represent 32×32=1024 chips. Between chips, the chip uses a YX dimensional order routing algorithm, that is, routing in the Y direction first, then routing in the X direction. In fact, using the chip's (X,Y) absolute address, it can also achieve larger-scale expansion. As shown in Figure 8, this application removes one row and one column from each cluster, that is, the upper left cluster X∈[0,30], Y∈[0,30]; the lower left cluster X∈[0,30], Y∈[1,31]; the upper right cluster X∈[1,31], Y∈[0,30]; the lower right cluster X∈[1,31], Y∈[1,31], can realize an interactive 62×62=3844 chip array. Simply put, using the data packet (31, 0-30) allows interaction between the upper left cluster and the upper right cluster, using the data packet (0-30, 31) allows interaction between the upper left cluster and the lower left cluster, and using the data packet (31, 31) allows interaction between the upper left cluster and the lower right cluster. In this way, chip arrays in different clusters can achieve inter-cluster interaction.

[0076] Similarly, by removing two rows and two columns from each cluster, we can achieve a 90×90=8100 chip array as shown in Figure 9. Using a 10-bit chip absolute address, the maximum achievable chip array is 17×17×16×16=73984 chips.

[0077] Inter-cluster data packet interaction between multiple clustered chip arrays includes data packet interaction from the upper left cluster to the lower left cluster, or from the upper left cluster to the lower right cluster, or from the upper left cluster to the upper right cluster, and so on.

[0078] In one embodiment, the brain-like chip processing core in the on-chip network circuit includes a learning engine, and the learning engine includes one or more of a pulse convolutional neural network core dedicated learning engine, a pulse recurrent neural network core dedicated learning engine, and a general pulse neural network core dedicated learning engine.

[0079] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.

[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A network-on-chip circuit, the network-on-chip circuit comprising five levels of routing module circuits and resource circuits, the routing module circuit comprising five levels of routing layers, and the resource circuit comprising a plurality of brain-like chip processing cores; The first routing layer in the routing module circuit is a root routing node, and the four routing nodes connected to the root routing node serve as the second routing layer in the routing module circuit. Each routing node in the second routing layer is respectively connected to four routing nodes as the third routing layer in the routing module circuit. Each routing node in the third routing layer is respectively connected to four routing nodes as the fourth routing layer in the routing module circuit. Each routing node in the fourth routing layer is respectively connected to four routing nodes as the fifth routing layer in the routing module circuit. Each routing node in the fifth routing layer is respectively connected to four of the brain-like chip processing cores. The closer the routing node is to the root routing node, the more parallel channels it has.

2. The network-on-chip circuit according to claim 1, in, The number of parallel channels of the higher-level routing channel among any two adjacent routing channels is twice the number of parallel channels of the lower-level routing channel. The higher-level routing channel is the routing channel closest to the root routing node among any two adjacent routing channels, and the lower-level routing channel is the routing channel closest to the processing core of the brain-like chip among any two adjacent routing channels.

3. The network-on-chip circuit according to claim 1, in, Each routing node in the routing module circuit includes a receiver, a transmitter and an arbitrator, wherein the receiver is connected to the transmitter through the arbitrator; The arbiter is used to determine all routing directions of the data packet on the on-chip network circuit, and determine the output routing channel based on the routing direction and the data channels available in the routing direction, and transmit the data packet to the target brain-like chip processing core pointed to by the output routing channel through the output routing channel.

4. The network-on-chip circuit according to claim 3, in, The arbitrator is also used to determine all routing directions on the on-chip network circuit based on the data packet address and the address of the current routing node, wherein the data packet address includes the address of the target brain-like chip and the address of the target brain-like chip processing core.

5. The network-on-chip circuit according to claim 4, in, The arbiter is also used to determine the output routing channel of the data packet based on the load data of the data packet, the routing direction of the data packet and the available data channels in all routing directions, and based on the output routing channel, copy the data packet into target data packets corresponding to the number of the output routing channels, and transmit the target data packet to the target brain-like chip processing core pointed to by the routing direction through the output routing channel.

6. The network-on-chip circuit according to claim 3, in, Each routing node in the routing module circuit also includes an asynchronous handshake transceiver circuit, which is used to provide an asynchronous single-rail two-phase handshake protocol between the receiver and the transmitter for communication, so as to transmit a data packet each time the response signal level changes.

7. The network-on-chip circuit according to claim 6, in, Each routing node in the routing module circuit further includes a gating circuit, and the gating circuit is used to control the start and stop of the receiver, the transmitter, the arbitrator and the asynchronous handshake transceiver circuit.

8. The network-on-chip circuit according to claim 3, in, The on-chip network circuit includes a plurality of brain-like chips, and the arbitrator is further used to divide the plurality of brain-like chip processing cores into a plurality of chip arrays with clusters based on chip absolute address information of the brain-like chips, wherein the chip absolute address information is used to characterize the horizontal and vertical coordinate information of each of the brain-like chips in the on-chip network circuit; Based on the chip absolute address information, inter-cluster data packet interaction is performed between the plurality of chip arrays with clusters.

9. The network-on-chip circuit according to claim 1, in, The brain-like chip processing core in the on-chip network circuit includes a learning engine, and the learning engine includes one or more of a pulse convolutional neural network core dedicated learning engine, a pulse recurrent neural network core dedicated learning engine, and a general pulse neural network core dedicated learning engine.

10. An electronic device, comprising the network-on-chip circuit according to claims 1 to 9, and used to process one or more of visual, auditory, tactile, olfactory, and inertial sensor signals.

Citation Information

Patent Citations

  • On-chip network router based on field programmable gate array (FPGA)

    CN102685017A

  • Hybrid interconnection structure for network-on-chip, network node encoding method and hybrid routing algorithm thereof

    CN105119833A

  • Novel compact, efficient and fast on-chip network router based on network coding

    CN105871730A

  • Data acquisition method based on network-on-chip

    CN110460546A

  • Cloud storage network multicast flow scheduling method based on service priority distinguishing

    CN112260950A

Cited By

  • Configurable multi-mode on-chip routing method

    CN121509316A

  • Integrated circuit and routing node thereof

    CN121833585A

  • Data transmission method and system for many-core brain-like chips

    CN122364144A