CN104539533B - The method and its application of channel table are established according to each layer of TSV connection state in 3D NoC - Google Patents

The method and its application of channel table are established according to each layer of TSV connection state in 3D NoC Download PDF

Info

Publication number
CN104539533B
CN104539533B CN201410810372.0A CN201410810372A CN104539533B CN 104539533 B CN104539533 B CN 104539533B CN 201410810372 A CN201410810372 A CN 201410810372A CN 104539533 B CN104539533 B CN 104539533B
Authority
CN
China
Prior art keywords
node
channel
noc
layer
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410810372.0A
Other languages
Chinese (zh)
Other versions
CN104539533A (en
Inventor
方芳
李润丰
王伟
陈�田
周梦玲
刘军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei University of Technology
Original Assignee
Hefei University of Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei University of Technology filed Critical Hefei University of Technology
Priority to CN201410810372.0A priority Critical patent/CN104539533B/en
Publication of CN104539533A publication Critical patent/CN104539533A/en
Application granted granted Critical
Publication of CN104539533B publication Critical patent/CN104539533B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种依据3D NoC中每一层TSV连接状况建立通道表的方法及其应用,其特征是通道表的建立是对于每一层上所有上通道节点和下通道节点分别通过最短路径算法确立最短环形路径,在各通道节点的通道表中记录有处在最短环形路径中的下一个上通道节点和下通道节点的地址;普通节点的通道表中记录有距离最近的上通道节点和下通道节点地址;一种基于上下优先策略的异构3D NoC TSV容错路由算法利用上述通道表,在对数据包进行层间传输时,利用当前节点的通道表得到该节点可用的上通道节点或下通道节点的地址,将数据包发送至该地址,通过该通道节点传送数据。本发明可以实现任意规模异构3D NoC中的有效数据传输,并具有TSV容错和拥塞缓解功能。

The invention discloses a method for establishing a channel table according to the TSV connection status of each layer in a 3D NoC and its application. The algorithm establishes the shortest circular path, and the channel table of each channel node records the addresses of the next upper channel node and lower channel node in the shortest circular path; the channel table of ordinary nodes records the nearest upper channel node and Down channel node address; a heterogeneous 3D NoC TSV fault-tolerant routing algorithm based on the upper and lower priority strategy uses the above channel table to obtain the available upper channel node or channel table of the current node when transmitting data packets between layers. The address of the next channel node, the data packet is sent to this address, and the data is transmitted through the channel node. The invention can realize effective data transmission in any scale heterogeneous 3D NoC, and has TSV fault tolerance and congestion relief functions.

Description

依据3D NoC中每一层TSV连接状况建立通道表的方法及其 应用Method for establishing channel table according to TSV connection status of each layer in 3D NoC and its method application

技术领域technical field

本发明涉及一种3D NoC路由算法,更具体地说是一种用于异构3D NoC结构,具有对失效TSV容错和缓解上下通道拥堵作用的片上路由算法。The invention relates to a 3D NoC routing algorithm, more specifically an on-chip routing algorithm for heterogeneous 3D NoC structures, capable of fault tolerance to failed TSVs and relieving congestion of upper and lower channels.

背景技术Background technique

3D NoC(Three-Dimension Network-on-Chip)是一种通过硅直通孔(TSV)互连多层晶圆(die)而实现垂直集成的互连方式。它克服了2D-NoC中所有的元器件都在一个平面上分布的局限,从而获得更小的体积、更好的功耗和射频性能。3D-NoC通过垂直集成使芯片的集成度大幅度提高,被多数专家认为是一种延续摩尔定律增长趋势的新方法,成为当前半导体产业发展最快的技术之一。3D NoC (Three-Dimension Network-on-Chip) is an interconnection method that realizes vertical integration by interconnecting multi-layer wafers (die) through through-silicon vias (TSVs). It overcomes the limitation that all components in 2D-NoC are distributed on one plane, resulting in smaller size, better power consumption and RF performance. 3D-NoC has greatly improved the integration of chips through vertical integration, and is considered by most experts as a new method to continue the growth trend of Moore's Law, and has become one of the fastest-growing technologies in the current semiconductor industry.

常见的3D NoC拓扑结构有3D Mesh、3D Torus、三维堆叠Mesh等,其中被众多学者广泛研究的结构是3D Mesh。传统的3D Mesh结构是一种由规则的2D NoC通过上下堆叠而成的规则的3D网络结构,每一层间通过TSV实现层间通信。这些TSV实际上就是在晶圆与晶圆之间制造一系列的垂直导通,用来实现芯片间的互连。一个TSV就代表一条在垂直方向上用来传输信号的数据链路。Common 3D NoC topologies include 3D Mesh, 3D Torus, 3D stacked Mesh, etc. Among them, the structure widely studied by many scholars is 3D Mesh. The traditional 3D Mesh structure is a regular 3D network structure formed by stacking regular 2D NoC up and down, and each layer communicates between layers through TSV. These TSVs are actually a series of vertical conductions between wafers and wafers, which are used to realize the interconnection between chips. A TSV represents a data link used to transmit signals in the vertical direction.

传统的3D NoC片上路由器是通过扩展2D片上路由器而实现的,在原有2D片上路由器东、西、南、北和本地5对输入输出端口的基础上,增加上、下两对端口来实现垂直方向的层间通信。其中的路由算法也是通过扩展传统的2D NoC中的路由算法来实现数据的传输,例如扩展传统的X-Y维序路由算法为X-Y-Z路由算法,即先将数据包在层内传输到与目的节点同一垂直位置的中间节点,然后再通过TSV垂直传输到目的节点。而如今的工业设计上,通常将实现不同功能的模块放在3D芯片的不同层上,例如最上一层放置CPU核,中间层放置RAM和ROM,底层放置通信模块。这样的设计很难做到每一层上的网络节点布局一致,从而导致某些路由节点有向上或向下的通道,即有TSV相连,而某些节点则没有垂直方向通道。这样的结构就很难使用传统的3D路由算法来达到传输数据包的目的。The traditional 3D NoC router on chip is realized by extending the 2D router on chip. On the basis of the original 2D router on chip east, west, south, north and local 5 pairs of input and output ports, two pairs of upper and lower ports are added to realize the vertical direction interlayer communication. The routing algorithm among them realizes the data transmission by extending the routing algorithm in the traditional 2D NoC, for example, extending the traditional X-Y dimension order routing algorithm to the X-Y-Z routing algorithm, that is, the data packet is first transmitted in the layer to the same vertical direction as the destination node. The intermediate node of the position, and then vertically transmit to the destination node through TSV. In today's industrial design, modules that implement different functions are usually placed on different layers of the 3D chip, for example, the CPU core is placed on the top layer, RAM and ROM are placed on the middle layer, and communication modules are placed on the bottom layer. Such a design makes it difficult to achieve a consistent layout of network nodes on each layer, resulting in some routing nodes having upward or downward channels, that is, connected with TSVs, while some nodes have no vertical channels. Such a structure makes it difficult to use traditional 3D routing algorithms to achieve the purpose of transmitting data packets.

如今,芯片制造工艺进入65纳米级以下,制造工艺越来越复杂,制造难度越来越大。TSV的尺寸只有10微米左右,而目前TSV制造技术还不够成熟,制造成本高,且极易在制造过程中出现空洞、断裂、误对齐等情况而造成TSV失效。一个65nm CMOS工艺加工技术制造的硅芯片,46%-65%的成本开销都用在了TSV的加工上。因此,TSV的数量应该尽可能少,并需要片上路由算法有对TSV失效进行故障修复的功能。Nowadays, the chip manufacturing process has entered below 65 nanometer level, the manufacturing process is becoming more and more complex, and the manufacturing difficulty is becoming more and more difficult. The size of TSV is only about 10 microns, but the current TSV manufacturing technology is not mature enough, the manufacturing cost is high, and it is very easy to cause voids, breakage, misalignment, etc. during the manufacturing process, resulting in TSV failure. For a silicon chip manufactured with a 65nm CMOS process technology, 46%-65% of the cost is spent on TSV processing. Therefore, the number of TSVs should be as small as possible, and the on-chip routing algorithm needs to have the function of fault recovery for TSV failure.

因此,需要一种3D NoC路由算法,以解决在不规则3D NoC结构中的通信问题,同时又要具备良好的TSV容错和缓解拥堵的功能。Therefore, a 3D NoC routing algorithm is needed to solve the communication problem in the irregular 3D NoC structure while having good TSV fault tolerance and congestion relief functions.

片上路由算法的设计是要在吞吐率、延迟、功耗等几大性能指标中找一个最佳的平衡点。国内外的众多学者也对3D NoC路由器及路由算法有过很多研究。这些研究主要集中在如下几点:The design of the on-chip routing algorithm is to find an optimal balance point among several major performance indicators such as throughput, delay, and power consumption. Many scholars at home and abroad have also done a lot of research on 3D NoC routers and routing algorithms. These studies mainly focus on the following points:

1、一种用于大规模3D NoC芯片的分层路由器,是由两个完全分离的模块组成,一个是5*5的片上路由器,用于层内通信,另一个是4*4的片上路由器用于层间通信,从而在大规模3D NoC结构中获得更好的吞吐率和延迟,且该方法可以较好的应用于异构的3D NoC中,但是不适用于小规模的3D NoC结构,不能应对部分TSV失效的情况,也不具有缓解拥堵的功能。1. A layered router for large-scale 3D NoC chips, which is composed of two completely separated modules, one is a 5*5 on-chip router for intra-layer communication, and the other is a 4*4 on-chip router It is used for inter-layer communication to obtain better throughput and delay in large-scale 3D NoC structures, and this method can be better applied to heterogeneous 3D NoC structures, but not suitable for small-scale 3D NoC structures. It cannot cope with the failure of some TSVs, nor does it have the function of alleviating congestion.

2、使用一种电梯优先路由算法来解决减少TSV的异构3D NoC结构中的通信问题,该算法通过给每个网络节点分配一个具有向上和向下TSV的电梯节点,从而实现层间通信,但是没有考虑部分TSV出现故障的容错处理。2. Use an elevator-priority routing algorithm to solve the communication problem in the heterogeneous 3D NoC structure with reduced TSV. This algorithm realizes inter-layer communication by assigning each network node an elevator node with upward and downward TSVs, But it does not consider the fault-tolerant processing of failure of some TSVs.

3、通过为片上路由器增加一个输入端口的方法来处理TSV故障和输入端口,并具有拥塞感知功能,但是该方法不适用于异构3D NoC。3. By adding an input port to the on-chip router to handle TSV faults and input ports, and have a congestion-aware function, but this method is not suitable for heterogeneous 3D NoC.

4、前瞻性路由算法,将当前节点的路由选择计算提前到上一个路由器进行,从而使路由计算和交叉开关选择两步并行,从而提高路由器吞吐率,但是这个改进的方法并不适用于异构的3D NoC。4. The forward-looking routing algorithm advances the routing calculation of the current node to the previous router, so that the routing calculation and the cross-switch selection are performed in parallel, thereby improving the throughput of the router. However, this improved method is not suitable for heterogeneous 3D NoC.

发明内容Contents of the invention

本发明是为避免上述已有技术中存在的不足之处,提供一种依据3D NoC中每一层TSV连接状况建立通道表的方法及其应用,以解决不规则3D NoC结构中数据通信、TSV容错和垂直方向通道的数据包拥堵的问题。本发明适用的异构3D NoC拓扑结构是:每一层符合标准2DMesh结构,但层与层的结构不一定相同,且每层有若干个不均匀分布的TSV与上一层或者下一层相连。本发明的目标是为了实现在任意规模的上述异构3D NoC结构中实现有效的数据传输,且在几乎不增加路由器面积开销和不降低路由器吞吐率的前提下具有对失效TSV容错处理和对垂直传输通道拥塞缓解的功能。The present invention is to avoid the deficiencies in the above-mentioned prior art, and provides a method for establishing a channel table according to the TSV connection status of each layer in 3D NoC and its application, so as to solve the problems of data communication and TSV in irregular 3D NoC structures. Fault tolerance and packet congestion issues for vertical channels. The heterogeneous 3D NoC topology applicable to the present invention is: each layer conforms to the standard 2DMesh structure, but the structure of the layer is not necessarily the same, and each layer has several unevenly distributed TSVs connected to the previous layer or the next layer . The object of the present invention is to achieve effective data transmission in the above-mentioned heterogeneous 3D NoC structure of any scale, and it has fault-tolerant processing for failed TSVs and vertical The function of transmission channel congestion mitigation.

本发明为解决技术问题采用如下技术方案:The present invention adopts following technical scheme for solving technical problems:

本发明依据3D NoC中每一层TSV连接状况建立通道表的方法的特点是按如下过程进行:The present invention is characterized in that the method for establishing the channel table according to the TSV connection status of each layer in the 3D NoC is carried out according to the following process:

步骤a:确定3D NoC每一层中的上通道节点和下通道节点,所述上通道节点是指在其上方连接有TSV的节点,所述下通道节点是指在其下方连接有TSV的节点;定义3D NoC每一层中除所述上通道节点和下通道节点之外的所有节点为普通节点;Step a: Determine the upper channel node and the lower channel node in each layer of the 3D NoC, the upper channel node refers to the node connected to the TSV above it, and the lower channel node refers to the node connected to the TSV below it ;Define all nodes in each layer of the 3D NoC except the upper channel node and the lower channel node as common nodes;

步骤b:为所述3D NoC中的每个节点上的路由器分别建立通道表,以所述通道表记录相应节点上数据包向上一层或下一层进行数据传输所需要通过的上通道节点或下通道节点;并记录与各普通节点距离最近的上通道节点和下通道节点;Step b: Establish a channel table for the router on each node in the 3D NoC, and use the channel table to record the upper channel node or node through which the data packet on the corresponding node needs to pass through for data transmission to the upper or lower layer. The lower channel node; and record the upper channel node and the lower channel node closest to each common node;

步骤c:对于每一层上所有上通道节点通过最短路径算法确立最短环形路径,在各上通道节点的通道表中记录有处在所述最短环形路径中的下一个上通道节点的地址;对于每一层上所有下通道节点通过最短路径算法确立最短环形路径,在各下通道节点的通道表中记录有处在所述最短环形路径中的下一个下通道节点的地址。Step c: establish the shortest ring path through the shortest path algorithm for all upper channel nodes on each layer, and record the address of the next upper channel node in the shortest ring path in the channel table of each upper channel node; for All down channel nodes on each layer establish the shortest ring path through the shortest path algorithm, and the channel table of each down channel node records the address of the next down channel node in the shortest ring path.

本发明基于上下优先策略的异构3D NoC TSV容错路由算法的特点是按如下步骤进行:The characteristics of the heterogeneous 3D NoC TSV fault-tolerant routing algorithm based on the upper and lower priority strategy of the present invention are as follows:

步骤1:对于节点A上的路由器收到的一个数据包A,首先解析数据包的目的节点的地址,若所述目的节点的地址为节点A的地址,则将数据包A传送到节点A的IP核,完成数据传输;否则,进入步骤2;Step 1: For a data packet A received by the router on node A, first resolve the address of the destination node of the data packet, if the address of the destination node is the address of node A, then send the data packet A to the node A IP core, complete data transmission; otherwise, go to step 2;

步骤2:若目的节点的地址处在本层,则使用2D NoC轮转路由算法通过目的端口将数据包A传送到下一个节点,完成节点A的数据传输;若目的节点的地址处在上层,则进入步骤3;若目的节点的地址处在下层,则进入步骤5;Step 2: If the address of the destination node is in the current layer, use the 2D NoC round-robin routing algorithm to transmit the data packet A to the next node through the destination port to complete the data transmission of node A; if the address of the destination node is in the upper layer, then Go to step 3; if the address of the destination node is in the lower layer, go to step 5;

步骤3:若节点A为上通道节点,并且通过节点A的上通道成功传输数据包A,则完成节点A的数据传输;若是通过节点A的上通道不能成功完成数据包A传输,则进入步骤4;若节点A为普通节点,则进入步骤4;Step 3: If node A is an up channel node and successfully transmits data packet A through the up channel of node A, then complete the data transmission of node A; if the transmission of data packet A cannot be successfully completed through the up channel of node A, then enter the step 4; If node A is an ordinary node, go to step 4;

步骤4:利用节点A的通道表得到节点A可用的上通道节点B的地址,将上通道节点B的地址作为数据包A的临时目的地址,通过2D NoC轮转路由算法将数据包A从指定端口发出,完成节点A的数据传输;Step 4: Use the channel table of node A to obtain the address of node B on the upper channel available to node A, use the address of node B on the upper channel as the temporary destination address of data packet A, and route data packet A from the designated port through the 2D NoC round-robin routing algorithm Issued to complete the data transmission of node A;

步骤5:对于节点A为下通道节点,并且通过节点A的下通道成功传输数据包A,则完成节点A的数据传输;若是通过节点A的下通道不能成功完成数据包A传输,则进入步骤6;若节点A为普通节点,则进入步骤6;Step 5: If node A is a down channel node, and the data packet A is successfully transmitted through the down channel of node A, the data transmission of node A is completed; if the transmission of data packet A cannot be successfully completed through the down channel of node A, then enter the step 6; If node A is an ordinary node, go to step 6;

步骤6:利用节点A的通道表得到节点A可用的下通道节点B的地址,将下通道节点B的地址作为数据包A的临时目的地址,通过2D NoC轮转路由算法将数据包A从指定端口发出,完成节点A的数据传输。Step 6: Use the channel table of node A to obtain the address of node B in the down channel available to node A, use the address of node B in the down channel as the temporary destination address of data packet A, and use the 2D NoC round-robin routing algorithm to route data packet A from the designated port Issued to complete the data transmission of node A.

与已有技术相比,本发明有益效果体现在:Compared with the prior art, the beneficial effects of the present invention are reflected in:

1、本发明由于在3D NoC路由器中采用了通道表,对于位于普通节点上且目的地址位于上层或下层的数据包,将普通节点的通道表中的上通道节点或下通道节点的地址作为数据包的临时目的地址,传输数据包到上通道节点或下通道节点,通过节点将数据包传送至上一层或下一层,从而实现在任意规模异构3D NoC中实现有效的数据传输。1. Since the present invention adopts the channel table in the 3D NoC router, for the data packet located on the common node and the destination address is located at the upper layer or the lower layer, the address of the upper channel node or the lower channel node in the channel table of the common node is used as the data The temporary destination address of the packet, transmit the data packet to the upper channel node or the lower channel node, and transmit the data packet to the upper or lower layer through the node, so as to realize effective data transmission in heterogeneous 3D NoC of any scale.

2、本发明由于在通道表中将每一层上所有上通道节点和下通道节点分别通过最短路径算法确立最短环形路径,在各上通道节点和下通道节点的通道表中分别记录有处在最短环形路径中的下一个通道节点的地址,因此,在某一个或某些TSV损坏或垂直通道出现拥堵的情况下,数据包可以被传输到下一个上通道节点或下通道节点进行层间数据传送,达到在不增加冗余TSV情况下对失效TSV容错处理和对垂直传输通道拥塞缓解的功能。2. The present invention establishes the shortest circular path through the shortest path algorithm by all the upper channel nodes and lower channel nodes on each layer respectively in the channel table, and records in the channel tables of each upper channel node and lower channel node respectively where The address of the next channel node in the shortest ring path, so in the case of one or some TSV damage or congestion in the vertical channel, the packet can be transmitted to the next upper channel node or lower channel node for interlayer data Transmission, to achieve the function of fault-tolerant processing of failed TSVs and congestion relief of vertical transmission channels without adding redundant TSVs.

3、本发明在实现上述功能时,相对于普通的3D NoC路由器,仅需要增加存放通道表的存储器,且每个通道表中只有两个数据,因此增加的面积开销可以忽略不计。3. Compared with common 3D NoC routers, when the present invention realizes the above functions, it only needs to increase the memory for storing the channel table, and each channel table has only two data, so the increased area overhead can be ignored.

4、本发明在实现上述功能时,相对于普通的3D NoC路由算法,没有增加过多的选择和判断,且还具有对垂直通道拥有拥堵缓解功能,因此路由吞吐率不会降低。4. Compared with the common 3D NoC routing algorithm, the present invention does not add too many choices and judgments when realizing the above functions, and also has a congestion relief function for vertical channels, so the routing throughput rate will not decrease.

附图说明Description of drawings

图1为本发明的基于上下优先策略的异构3D NoC TSV容错路由算法的程序流程图Fig. 1 is the program flow chart of the heterogeneous 3D NoC TSV fault-tolerant routing algorithm based on the upper and lower priority strategy of the present invention

具体实施方式detailed description

本实施例中,依据3D NoC中每一层TSV连接状况建立通道表的方法是按如下过程进行:In this embodiment, the method of establishing the channel table according to the TSV connection status of each layer in the 3D NoC is carried out as follows:

步骤a:本实施例适用的拓扑结构是一种异构的3D NoC架构,并不是每一个节点都连接有TSV,因此首先确定3D NoC每一层中的上通道节点和下通道节点,所述上通道节点是指在其上方连接有TSV的节点,所述下通道节点是指在其下方连接有TSV的节点;定义3DNoC每一层中除所述上通道节点和下通道节点之外的所有节点为普通节点;一个节点可能仅仅是上通道节点、下通道节点或普通节点,也可能既是上通道节点,又是下通道节点;Step a: The topology applicable to this embodiment is a heterogeneous 3D NoC architecture, and not every node is connected to a TSV, so first determine the upper channel node and the lower channel node in each layer of the 3D NoC, the The upper channel node refers to the node connected to the TSV above it, and the lower channel node refers to the node connected to the TSV below it; define all the nodes in each layer of 3DNoC except the upper channel node and the lower channel node The node is a common node; a node may be only an upper channel node, a lower channel node or a normal node, or it may be both an upper channel node and a lower channel node;

步骤b:上通道节点可以通过自身上方连接的TSV向上层传输数据,下通道节点可以通过自身下方连接的TSV向下层传输数据,而普通节点本身并不能进行层间通信,为了使处于普通节点的数据包能到达上层或下层,为3D NoC中的每个节点上的路由器分别建立通道表,以通道表记录相应节点上数据包向上一层或下一层进行数据传输所需要通过的上通道节点或下通道节点;并记录与各普通节点距离最近的上通道节点和下通道节点;然后将数据包传送到临近的上通道节点或下通道节点,通过这些上通道节点和下通道节点将数据包传送至上层或下层。Step b: The upper channel node can transmit data to the upper layer through the TSV connected above itself, and the lower channel node can transmit data to the lower layer through the TSV connected below itself, while ordinary nodes themselves cannot communicate between layers. The data packet can reach the upper or lower layer, and a channel table is established for the router on each node in the 3D NoC, and the channel table records the upper channel node that the data packet on the corresponding node needs to pass through to transmit data to the upper layer or the lower layer. or down-channel nodes; and record the up-channel nodes and down-channel nodes closest to each ordinary node; Teleport to the upper or lower layer.

步骤c:在使用某个上通道节点或下通道节点进行数据传输时,可能会出现如下三种情况造成数据包传输失败:一是由于TSV的制造技术还不够成熟,在芯片制造过程中引起的TSV空洞、断裂、误对齐等情况而造成TSV失效;二是由于长时间使用造成的电路老化而引起的TSV失效;三是由于通道节点路由器的垂直方向端口数据量过大而引起的垂直方向端口拥塞。Step c: When using an up-channel node or down-channel node for data transmission, the following three situations may cause data packet transmission failure: First, because the TSV manufacturing technology is not mature enough, it is caused during the chip manufacturing process TSV failures caused by TSV voids, fractures, misalignment, etc.; second, TSV failures caused by circuit aging caused by long-term use; congestion.

为了避免在出现上述情况时而造成数据包丢包甚至整个电路板失效的事情发生,本发明对于每一层上所有上通道节点通过最短路径算法确立最短环形路径,在各上通道节点的通道表中记录有处在所述最短环形路径中的下一个上通道节点的地址;对于每一层上所有下通道节点通过最短路径算法确立最短环形路径,在各下通道节点的通道表中记录有处在所述最短环形路径中的下一个下通道节点的地址。如果某个通道节点出现了上述三种情况,则可查找该通道节点的通道表,将通道表中的上通道节点或下通道节点的地址作为数据包的临时目的地址,发送数据包到所述临时目的地址代表的节点,然后进行层间通信。本发明采用最短环形路径的方式分别连接每一层的上通道节点和下通道节点,可以有效避免同一层中,相邻的两个通道节点都出现无法发送数据的情况时而造成的整个电路板的失效。从而可以达到在不增加冗余TSV的前提下,通过路由算法实现对TSV的容错,并具备垂直方向通道拥塞缓解功能。In order to avoid the occurrence of data packet loss or even the failure of the entire circuit board when the above situation occurs, the present invention establishes the shortest ring path through the shortest path algorithm for all upper channel nodes on each layer, and in the channel table of each upper channel node Record the address of the next upper channel node in the shortest ring path; establish the shortest ring path through the shortest path algorithm for all lower channel nodes on each layer, and record the address in the channel table of each lower channel node The address of the next down channel node in the shortest ring path. If the above three situations occur in a channel node, the channel table of the channel node can be searched, and the address of the upper channel node or the lower channel node in the channel table is used as the temporary destination address of the data packet, and the data packet is sent to the The node represented by the temporary destination address then communicates between layers. The present invention adopts the shortest circular path to connect the upper channel node and the lower channel node of each layer, which can effectively avoid the failure of the entire circuit board caused by the failure of the two adjacent channel nodes in the same layer to send data. invalidated. Therefore, under the premise of not adding redundant TSVs, the fault tolerance to TSVs can be realized through routing algorithms, and the vertical channel congestion relief function can be provided.

本实施例中基于上下优先策略的异构3D NoCTSV容错路由算法是利用通道表并按如下步骤进行:In this embodiment, the heterogeneous 3D NoCTSV fault-tolerant routing algorithm based on the upper and lower priority strategy utilizes the channel table and proceeds as follows:

步骤1:对于节点A上的路由器收到的一个数据包A,首先解析数据包的目的节点的地址,若所述目的节点的地址为节点A的地址,则将数据包A传送到节点A的IP核,完成数据传输;否则,进入步骤2。Step 1: For a data packet A received by the router on node A, first resolve the address of the destination node of the data packet, if the address of the destination node is the address of node A, then send the data packet A to the node A IP core, complete data transmission; otherwise, go to step 2.

步骤2:若目的节点的地址处在本层,则使用2D NoC轮转路由算法通过目的端口将数据包A传送到下一个节点,完成节点A的数据传输;若目的节点的地址处在上层,则进入步骤3;若目的节点的地址处在下层,则进入步骤5。Step 2: If the address of the destination node is in the current layer, use the 2D NoC round-robin routing algorithm to transmit the data packet A to the next node through the destination port to complete the data transmission of node A; if the address of the destination node is in the upper layer, then Go to step 3; if the address of the destination node is in the lower layer, go to step 5.

步骤3:若节点A为上通道节点,并且通过节点A的上通道成功传输数据包A,则完成节点A的数据传输;若是通过节点A的上通道不能成功完成数据包A传输,则进入步骤4;不能成功完成数据包A的传输的情况,是由于TSV本身制造过程失效或者电路老化造成的TSV失效,也可能是由于拥塞而造成数据包A暂时无法发送;若节点A为普通节点,则进入步骤4。Step 3: If node A is an up channel node and successfully transmits data packet A through the up channel of node A, then complete the data transmission of node A; if the transmission of data packet A cannot be successfully completed through the up channel of node A, then enter the step 4. The failure to successfully complete the transmission of data packet A is due to TSV failure caused by the failure of the manufacturing process of TSV itself or the aging of the circuit, or the temporary failure of data packet A to be sent due to congestion; if node A is an ordinary node, then Go to step 4.

步骤4:利用节点A的通道表得到节点A可用的上通道节点B的地址,将上通道节点B的地址作为数据包A的临时目的地址,通过2D NoC轮转路由算法将数据包A从指定端口发出,完成节点A的数据传输。本实施例中采用换一个通道节点进行数据包A传送的方法,将能有效避免因与通道节点A相连的TSV失效而引起的数据包A传送失败的情况发生;且能在通道节点A的垂直方向通道发生拥塞时,将数据包转移到通道节点B发送,从而缓解节点A垂直方向通道的拥塞情况。Step 4: Use the channel table of node A to obtain the address of node B on the upper channel available to node A, use the address of node B on the upper channel as the temporary destination address of data packet A, and route data packet A from the designated port through the 2D NoC round-robin routing algorithm Issued to complete the data transmission of node A. In this embodiment, the method of changing a channel node to transmit data packet A will be able to effectively avoid the failure of the transmission of data packet A caused by the failure of the TSV connected to channel node A; When the direction channel is congested, the data packet is transferred to the channel node B for transmission, thereby alleviating the congestion of node A's vertical channel.

步骤5:对于节点A为下通道节点,并且通过节点A的下通道成功传输数据包A,则完成节点A的数据传输;若是通过节点A的下通道不能成功完成数据包A传输,则进入步骤6;若节点A为普通节点,则进入步骤6。Step 5: If node A is a down channel node, and the data packet A is successfully transmitted through the down channel of node A, the data transmission of node A is completed; if the transmission of data packet A cannot be successfully completed through the down channel of node A, then enter the step 6; If node A is a common node, go to step 6.

步骤6:利用节点A的通道表得到节点A可用的下通道节点B的地址,将下通道节点B的地址作为数据包A的临时目的地址,通过2D NoC轮转路由算法将数据包A从指定端口发出,完成节点A的数据传输。Step 6: Use the channel table of node A to obtain the address of node B in the down channel available to node A, use the address of node B in the down channel as the temporary destination address of data packet A, and use the 2D NoC round-robin routing algorithm to route data packet A from the designated port Issued to complete the data transmission of node A.

2D NoC轮转路由算法是使用《基于随机路由的高性能片上路由器设计与仿真》(岳峰,李润丰,陈田,刘军,陈鹏,王伟.基于随机路由的高性能片上路由器设计与仿真,电子测量与仪器学报[J],2013,27(7):669-675)一文中提出的一种高性能路由算法。该算法是按如下步骤进行的:The 2D NoC round-robin routing algorithm is based on "Design and Simulation of High Performance On-Chip Router Based on Random Routing" (Yue Feng, Li Runfeng, Chen Tian, Liu Jun, Chen Peng, Wang Wei. Design and Simulation of High Performance On-Chip Router Based on Random Routing, Electronics A high-performance routing algorithm proposed in the Journal of Measurement and Instrumentation [J], 2013,27(7):669-675). The algorithm is carried out as follows:

对于节点A收到的一个数据包A,首先解析数据包的目的节点的地址,若所述目的节点的地址为节点A的地址,则将数据包A传送到节点A的IP核,完成数据传输;若只有X轴地址或Y轴地址相同,则通过相应的端口在Y轴或X轴上传输,该算法结束;若X轴和Y轴地址都不相同,则表示有X轴和Y轴两个方向的传输通道可供选择,若节点A中的方向标识位为“0”,则在X轴方向传送,若为“1”则在Y轴方向传送;传输完成后将标识位取反。For a data packet A received by node A, first analyze the address of the destination node of the data packet, if the address of the destination node is the address of node A, then transfer the data packet A to the IP core of node A to complete the data transmission ; If only the X-axis address or the Y-axis address is the same, then transmit on the Y-axis or the X-axis through the corresponding port, and the algorithm ends; if the X-axis and Y-axis addresses are not the same, it means that there are two Transmission channels in two directions are available. If the direction identification bit in node A is "0", it will be transmitted in the X-axis direction, if it is "1", it will be transmitted in the Y-axis direction; after the transmission is completed, the identification bit will be reversed.

在本发明中采用所述2D NoC轮转路由算法用于层内数据包传送,可以有效平衡层内X方向和Y方向的数据流量,从而具有更好的吞吐率和延迟。In the present invention, the 2D NoC round-robin routing algorithm is used for intra-layer data packet transmission, which can effectively balance the data traffic in the X-direction and Y-direction within the layer, thereby having better throughput and delay.

Claims (1)

1.一种依据3D NoC中每一层TSV连接状况建立通道表的方法,其特征是按如下过程进行:1. A method for setting up a channel table according to each layer of TSV connection status in the 3D NoC, characterized in that it is carried out as follows: 步骤a:确定3D NoC每一层中的上通道节点和下通道节点,所述上通道节点是指在其上方连接有TSV的节点,所述下通道节点是指在其下方连接有TSV的节点;定义3D NoC每一层中除所述上通道节点和下通道节点之外的所有节点为普通节点;Step a: Determine the upper channel node and the lower channel node in each layer of the 3D NoC, the upper channel node refers to the node connected to the TSV above it, and the lower channel node refers to the node connected to the TSV below it ;Define all nodes in each layer of the 3D NoC except the upper channel node and the lower channel node as common nodes; 步骤b:为所述3D NoC中的每个节点上的路由器分别建立通道表,以所述通道表记录相应节点上数据包向上一层或下一层进行数据传输所需要通过的上通道节点或下通道节点;并记录与各普通节点距离最近的上通道节点和下通道节点;Step b: Establish a channel table for the router on each node in the 3D NoC, and use the channel table to record the upper channel node or node through which the data packet on the corresponding node needs to pass through for data transmission to the upper or lower layer. The lower channel node; and record the upper channel node and the lower channel node closest to each common node; 步骤c:对于每一层上所有上通道节点通过最短路径算法确立最短环形路径,在各上通道节点的通道表中记录有处在所述最短环形路径中的下一个上通道节点的地址;对于每一层上所有下通道节点通过最短路径算法确立最短环形路径,在各下通道节点的通道表中记录有处在所述最短环形路径中的下一个下通道节点的地址。Step c: establish the shortest ring path through the shortest path algorithm for all upper channel nodes on each layer, and record the address of the next upper channel node in the shortest ring path in the channel table of each upper channel node; for All down channel nodes on each layer establish the shortest ring path through the shortest path algorithm, and the channel table of each down channel node records the address of the next down channel node in the shortest ring path.
CN201410810372.0A 2014-12-22 2014-12-22 The method and its application of channel table are established according to each layer of TSV connection state in 3D NoC Expired - Fee Related CN104539533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410810372.0A CN104539533B (en) 2014-12-22 2014-12-22 The method and its application of channel table are established according to each layer of TSV connection state in 3D NoC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410810372.0A CN104539533B (en) 2014-12-22 2014-12-22 The method and its application of channel table are established according to each layer of TSV connection state in 3D NoC

Publications (2)

Publication Number Publication Date
CN104539533A CN104539533A (en) 2015-04-22
CN104539533B true CN104539533B (en) 2017-12-01

Family

ID=52855002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410810372.0A Expired - Fee Related CN104539533B (en) 2014-12-22 2014-12-22 The method and its application of channel table are established according to each layer of TSV connection state in 3D NoC

Country Status (1)

Country Link
CN (1) CN104539533B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831387A (en) * 2018-12-20 2019-05-31 天津市滨海新区信息技术创新中心 Route device and its method on a kind of three-dimensional plate based on re-computation

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302209B (en) * 2015-06-12 2019-11-29 华为技术有限公司 A kind of network-on-chip NoC and the method for data transmission
CN108512735B (en) * 2017-02-25 2021-04-20 华为技术有限公司 A data transmission method and device
CN111382115B (en) * 2018-12-28 2022-04-15 北京灵汐科技有限公司 Path creating method and device for network on chip and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483614A (en) * 2008-10-20 2009-07-15 电子科技大学 Method for constructing network on three-dimensional chip
CN102148763A (en) * 2011-04-28 2011-08-10 南京航空航天大学 Dynamic path distribution method and system applicable to network on chip
CN102882783A (en) * 2012-10-09 2013-01-16 上海交通大学 Topology architecture and routing method for system-on-chip network of through silica via (TSV)-based three-dimensional integrated circuit
CN103763205A (en) * 2014-01-14 2014-04-30 合肥工业大学 Three-dimensional on-chip network delay upper bound optimization method with TSV loads balanced overall
CN104202253A (en) * 2014-08-06 2014-12-10 长春理工大学 Network-on-chip congestion control method based on dynamic routing table

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7466701B2 (en) * 2004-11-12 2008-12-16 Stmicroelectronics S.R.L. Routing procedure and system, corresponding network, such as a network on chip (NOC), and computer program product therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483614A (en) * 2008-10-20 2009-07-15 电子科技大学 Method for constructing network on three-dimensional chip
CN102148763A (en) * 2011-04-28 2011-08-10 南京航空航天大学 Dynamic path distribution method and system applicable to network on chip
CN102882783A (en) * 2012-10-09 2013-01-16 上海交通大学 Topology architecture and routing method for system-on-chip network of through silica via (TSV)-based three-dimensional integrated circuit
CN103763205A (en) * 2014-01-14 2014-04-30 合肥工业大学 Three-dimensional on-chip network delay upper bound optimization method with TSV loads balanced overall
CN104202253A (en) * 2014-08-06 2014-12-10 长春理工大学 Network-on-chip congestion control method based on dynamic routing table

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
a reliable routing architecture and algorithm for NoCs;DeOrio A,Fick D,Bertacco V,et al;《IEEE transactions on computer-aided design of integrated circuits and systems》;20120531;726-739 *
Elevator-First:A deadlock-free distributed routing algorithm for vertically partially connected 3D-NoCs;Dubois F,Sheibanyrad A,Petrot F;《IEEE transactions on computers》;20130331;609-615 *
面向非全互连3D NoC可靠通信的分布式路由算法;欧阳一鸣,韩倩倩,梁国华等;《计算机辅助设计与图形学学报》;20140331;第26卷(第3期);502-510 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831387A (en) * 2018-12-20 2019-05-31 天津市滨海新区信息技术创新中心 Route device and its method on a kind of three-dimensional plate based on re-computation

Also Published As

Publication number Publication date
CN104539533A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN102882783B (en) Based on topological structure, the method for routing of the network-on-chip of the three dimensional integrated circuits of TSV
Akbari et al. AFRA: A low cost high performance reliable routing for 3D mesh NoCs
JP2016502287A5 (en)
CN104539533B (en) The method and its application of channel table are established according to each layer of TSV connection state in 3D NoC
CN104539547B (en) A kind of router and method for routing for three dimensional integrated circuits network-on-chip
CN104133732B (en) For the fault-tolerance approach of TSV failure sorteds in 3D NoC
CN103413796B (en) The large port interconnection class chip that a kind of substrate multi-chip is integrated and implementation method
JP7679387B2 (en) Multi-chip stacked devices
US9559086B2 (en) Semiconductor device with modified current distribution
CN115277551B (en) Deadlock-free routing system and method for modular three-dimensional network-on-chip based on ring structure
KR20220095203A (en) Multichip Stackable Devices
CN104683242B (en) A kind of topological structure and method for routing of two dimension network-on-chip
CN102387077A (en) Network path selection method for heat balance sheet with fault tolerance function
CN105577539B (en) A kind of method for routing and system towards irregular three dimensional integrated circuits network-on-chip
CN103473210A (en) Topology system and packet routing method of multi-core three-dimensional chip
CN110516272A (en) A dynamic self-repair method and device for 3D integrated circuit defect TSV
CN104243330A (en) Low-density vertical interconnection oriented three-dimensional on-chip network router
CN108364949B (en) Method for realizing ultrahigh bandwidth of chip interconnection and chip interconnection structure
CN114205241B (en) System of network on chip
CN109117318B (en) Partition-based TSV cluster fault tolerance system and method
CN105095148A (en) Mixed type three-dimensional on-chip network
CN105550432A (en) Three-dimensional integrated circuit chip and power network layout method thereof
US20160049386A1 (en) Self-organizing network with chip package having multiple interconnection configurations
CN113238984A (en) Three-dimensional network-on-chip structure and working method
CN105991378A (en) 3D-mesh network-based point-to-multipoint communication method and communication node

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Fang Fang

Inventor after: Li Runfeng

Inventor after: Wang Wei

Inventor after: Chen Tian

Inventor after: Zhou Mengling

Inventor after: Liu Jun

Inventor before: Wang Wei

Inventor before: Li Runfeng

Inventor before: Fang Fang

Inventor before: Chen Tian

Inventor before: Zhou Mengling

Inventor before: Liu Jun

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171201