CN107046500A - A kind of two-stage applied to stratification network-on-chip splits router and its routing algorithm - Google Patents
A kind of two-stage applied to stratification network-on-chip splits router and its routing algorithm Download PDFInfo
- Publication number
- CN107046500A CN107046500A CN201710359177.4A CN201710359177A CN107046500A CN 107046500 A CN107046500 A CN 107046500A CN 201710359177 A CN201710359177 A CN 201710359177A CN 107046500 A CN107046500 A CN 107046500A
- Authority
- CN
- China
- Prior art keywords
- microplate
- transmission direction
- transmission
- routing node
- current
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/04—Interdomain routing, e.g. hierarchical routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Router and its routing algorithm are split the invention discloses a kind of two-stage applied to stratification network-on-chip, it is characterized in that, it is that the decoding module of router is set into QoS routing computing module that two-stage, which splits router,;QoS routing computing module includes classification decoding unit YM, unicast packet route computing unit SR, multicast upstream data bag route computing unit UR, multicast downlink data packet route computing unit DR and output port deposit unit.The present invention can make certain optimization to mixing Multicast Routing Algorithm to be improved, and the method that the data in multicast packets are split by two-stage selectively split and transmitted, to reduce the delay of multicast packets, while optimizing the congestion condition of upper layer network.
Description
Technical field
It is applied to the invention belongs to the communication technical field of integrated circuit network-on-chip, more particularly to one kind on stratification piece
The two-stage of network splits router and its routing algorithm.
Background technology
As check figure is continuously increased on network-on-chip, the parallel communications between multinuclear causes network-on-chip correspondence to become
Obtain considerably complicated.Traditional network-on-chip design only considers unicast communication mode of the source node to a destination node.
Realize that single source node turns into a more and more important communication requirement to the multi-casting communication of multiple destination nodes on network-on-chip.
There are a variety of Multicast Routing Algorithms at present, wherein, the mixing Multicast Routing Algorithm based on hierarchical network structure is calculated
Method uses two-tier network structure, and bottom-layer network is divided into different regions.Each router of upper layer network is equivalent to bottom region
The bridging router of domain intermediate router.Unicast packet is only in bottom-layer network transmission.Multicast packets are first transferred to upper wire
Network, the different zones traveled to again where each destination node from upper layer network, then reaches destination node.
But the algorithm is in order to avoid a deadlock situation, all-multicast packet in one region of regulation all must be from
Upper level router enters the region, even a source node carries out multicast to other nodes of self zone or adjacent node
Transmission also must enter the region by the upper level router in the region, and this can greatly increase the delay of packet.
The content of the invention
The present invention is proposed a kind of applied to stratification network-on-chip to solve the weak point that above-mentioned prior art is present
Two-stage split router and its routing algorithm, to which packet can be transmitted directly to the purpose being located in upward transmission path
The destination node of the adjacent position of node or upward transmission path, so as to effectively improve efficiency of transmission, and reduces delay.
The present invention is reaches that the technical scheme that above-mentioned purpose is used is:
A kind of two-stage fractionation router applied to stratification network-on-chip of the present invention, the stratification network-on-chip be by
N × M bottom two-dimensional network and L × S upper layer network are constituted;1≤L < N, 1≤S < M;The bottom two-dimensional network is divided into L
× S area;An intermediate router and several ordinary routers are included in each area;The ordinary router includes five biographies
Defeated direction;The intermediate router includes five transmission directions and a upward transmission direction;The upper layer network is transmission
Router;The transmission route device includes five transmission directions and a downward transmission direction;The intermediate router with it is described
Transmission route device is interconnected;It is characterized in,
Decoding module in the intermediate router and several ordinary routers is set to QoS routing computing module;
The QoS routing computing module includes classification decoding unit YM, unicast packet route computing unit SR, multicast upstream data
Bag route computing unit UR, multicast downlink data packet route computing unit DR and output port deposit unit;Multicast upstream data
Bag route computing unit UR includes:Two-stage split cells TS and generic uplink route computing unit RC;The output port deposit
Unit includes:The transmission direction register port_1 [m-1 of m:0] and m omnirange register port_2 [m-1:0];M is biography
The number in defeated direction;The transmission direction register port_1 [m-1:0] it is used to store the transmission direction when front microplate;It is described
Omnirange register port_2 [m-1:0] it is used for the transmission direction for storing all microplates;
Intermediate router or ordinary router in any one area are used as current routing node and the input that passes through itself
When module receives packet, the input module of current routing node sends the data to the QoS routing computing module of itself
Microplate in bag;
The classification decoding unit YM of current routing node is judged received current microplate, if received
Current microplate is head microplate, then the decoding unit YM that classifies judges the head microplate again;
If the head microplate is the head microplate of multicast packets;Then to the transmission direction of the head microplates of the multicast packets
Judged, if transmission direction upwards, then the head microplate of the multicast packets is sent to multicast upstream data bag and route
Computing unit UR is used to calculate transmission direction;If downwards transmission direction, then by the head microplate of the multicast packets send to
Multicast downlink data packet route computing unit DR is used to calculate transmission direction;
If the head microplate is the head microplate of unicast packet;Then the head microplate of unicast packet is sent to unicast data
Bag route computing unit SR is used to calculate transmission direction;
If received current microplate is body microplate, the output port deposit unit is by the transmission of all microplates
Direction is from omnirange register port_2 [m-1:0] transmission direction register port_1 [m-1 are copied to:0] in, current route section
The input module of point is according to transmission direction register port_1 [m-1 in output port deposit unit:0] transmission direction is micro- by body
Piece is transmitted to downstream routing node;
If received current microplate is tail microplate, the output port deposit unit is by the transmission of all microplates
Direction is from omnirange register port_2 [m-1:0] transmission direction register port_1 [m-1 are copied to:0] in, current route section
The input module of point is according to transmission direction register port_1 [m-1 in output port deposit unit:0] transmission direction is micro- by tail
Piece is transmitted to downstream routing node;Then, the classification decoding unit YM of current routing node is to the output port deposit unit
Send packet end of transmission signal;The output port deposit unit according to received packet end of transmission signal,
The output port deposit unit of current routing node is reset;
The two-stage split cells TS of the multicast upstream data bag route computing unit UR is according to received multicast number
According to the head microplate of bag, the coordinate of the own coordinate of the current routing node and destination node is compared,
If two coordinates are identical, then it represents that current routing node is destination node, transmission direction is obtained for local direction
And preserve into the output port deposit unit;
If two coordinates are adjacent, then it represents that current routing node and destination node are adjacent node, and obtaining transmission direction is
Adjacent direction, the two-stage split cells TS judges whether the output port of current routing node is idle again, if idle, by phase
Adjacent direction is preserved into the output port deposit unit;If not idle, adjacent direction is not preserved, and by the multi-case data
The head microplate of bag is transmitted to generic uplink route computing unit RC;
Also differ, directly transmit the head microplate of the multicast packets to generic uplink if two coordinates are non-conterminous
Route computing unit RC;The generic uplink route computing unit RC is sat according to the intermediate router of current routing node location
Mark, calculates the transmission direction in multi-case data packet header microplate downstream, and preserve to the output port storage receipt of current routing node
Member;
The multicast downlink data packet route computing unit DR is utilized according to the head microplate of received multicast packets
XY routing algorithms calculate the transmission direction in multi-case data packet header microplate downstream, and preserve to the output port of current routing node
Deposit unit;
Unicast packet route computing unit SR is route using XY and calculated according to the head microplate of received unicast packet
Method calculates the transmission direction in unicast data packet header microplate downstream, and preserves to the output port storage receipt of current routing node
Member;
The omnirange register port_2 [m-1:When 0] receiving the input direction of current microplate, current microplate is judged
Transmission direction whether existed, if having existed, the QoS routing computing module of current routing node will arbitration please again
Signal is asked to send to the arbitration modules of itself, for opening the corresponding output port of cross switch module, otherwise, directly storage is worked as
The input direction of preceding microplate.
A kind of two-stage applied to stratification network-on-chip of the present invention splits the routing algorithm of router, the stratification piece
Upper network is made up of N × M bottom two-dimensional network and L × S upper layer network;1≤L < N, 1≤S < M;The bottom two dimension
Network is divided into L × S area;An intermediate router and several ordinary routers are included in each area;The ordinary router
Include five transmission directions;The intermediate router includes five transmission directions and a upward transmission direction;The upper wire
Network is transmission route device;The transmission route device includes five transmission directions and a downward transmission direction;The middle road
Interconnected by device and the transmission route device;It is characterized in, with the intermediate router or ordinary router in any one area
When as current routing node and receiving packet by the input module of itself, the routing algorithm is to enter as follows
OK:
Step 1, the setting intermediate router and several ordinary routers include:The transmission direction register of m
port_1[m-1:0] and m omnirange register port_2 [m-1:0];M is the number of transmission direction;The transmission direction is posted
Storage port_1 [m-1:0] it is used to store the transmission direction when front microplate;The omnirange register port_2 [m-1:0] use
In the transmission direction for storing all microplates;
Step 2, current routing node are judged the current microplate in received packet, if received
Current microplate is head microplate, then performs step 3;If received current microplate is body microplate, step 8 is performed;If being connect
The current microplate received is tail microplate, then performs step 9;
Step 3, current routing node judge the head microplate again;If the head microplate is the head of multicast packets
Microplate;Then perform step 4;If the head microplate is the head microplate of unicast packet;Then directly calculated using XY routing algorithms
The transmission direction in unicast data packet header microplate downstream is simultaneously preserved to transmission direction register port_1 [m-1:0] deposited with omnirange
Device port_2 [m-1:0] in;Step 10 is performed again;
Step 4, current routing node are judged the transmission direction of the head microplate of the multicast packets, if upwards
Transmission direction, then perform step 5;If downward transmission direction, then perform step 7;
Step 5, current routing node are according to the head microplates of received multicast packets, by the current routing node
Own coordinate and the coordinate of destination node be compared, if two coordinates are identical, then it represents that for the purpose of current routing node is
Node, obtains transmission direction for local direction and preserves to transmission direction register port_1 [m-1:0] and omnirange register
port_2[m-1:0] in;Step 10 is performed again;
If two coordinates are adjacent, then it represents that current routing node and destination node are adjacent node, and obtaining transmission direction is
Adjacent direction, and judge whether the output port of current routing node is idle, if idle, adjacent direction is preserved to transmission direction
Register port_1 [m-1:0] and omnirange register port_2 [m-1:0] in, then step 10 is performed;Otherwise step 6 is performed;
Also differed if two coordinates are non-conterminous, directly perform step 6;
Step 6, current routing node calculate multi-case data packet header micro- according to the intermediate router coordinate of itself location
The transmission direction in piece downstream is simultaneously preserved to transmission direction register port_1 [m-1:0] and omnirange register port_2 [m-1:
0] in;Step 10 is performed again;
Step 7, current routing node are calculated according to the head microplate of received multicast packets using XY routing algorithms
Go out the transmission direction in multi-case data packet header microplate downstream and preserve to transmission direction register port_1 [m-1:0] posted with omnirange
Storage port_2 [m-1:0] in;Step 10 is performed again;
The transmission direction of all microplates is copied to transmission direction by step 8, current routing node from omnirange register
Register port_1 [m-1:0] in, so that according to transmission direction register port_1 [m-1:0] transmission direction in is by body microplate
Transmit to downstream routing node;Return again to step 2;
Step 9, current routing node are by the transmission direction of all microplates from omnirange register port_2 [m-1:0] it is multiple
Make transmission direction register port_1 [m-1:0] in, so that according to transmission direction register port_1 [m-1:0] transmission in
Tail microplate is transmitted to downstream routing node in direction;When the tail microplate end of transmission, current routing node deposits transmission direction
Device port_1 [m-1:0] and omnirange register port_2 [m-1:0] reset, return again to step 2;
Step 10, the omnirange register port_2 [m-1:When 0] receiving the input direction of current microplate, judge to work as
Whether the transmission direction of preceding microplate has been present, if having existed, and the arbitration request signal that will weigh of current routing node is sent
To the arbitration modules of itself, for opening the corresponding output port of cross switch module, otherwise, the defeated of current microplate is directly stored
Enter direction;
Step 11, return to step 2.
Compared with prior art, advantageous effects of the invention are embodied in:
1st, the present invention is by the way that by bottom route network subregion, there is the biography on an intermediate router and upper strata in each region
Defeated router is connected, and each region is connected by transmission route device, so as to realize the transmission in region and region;It is general by changing
Logical router decoding module is QoS routing computing module, and packet transmission divide into unicast packet according to head microplate information
Transmission, the transmission of multicast upstream data bag and multicast downstream packet transmission;Unicast packet is transmitted, multicast downstream packet transmission
All it is directly to be transmitted by XY routing algorithms, and whether it is to work as prosthomere that multicast upstream data bag is transmitted according to destination node
Point, present node adjacent node, and both incongruent node is classified, so that the transmission of multicast upstream data bag be divided
Into three kinds of situations;Resolution is carried out when destination node is present node, because this mode will not produce deadlock
Problem, so even if output channel is occupied the output channel free time can also be waited to be transmitted, this has been considerably improved biography
Defeated efficiency, nor transmission of the packet to other directions can be influenceed;When destination node be present node adjacent node, in order to
Deadlock is avoided, it is idle if any output channel directly to middle route transmission if output channel is occupied, then can be with
Adjacent node is directly transferred to, because without new Deadlock is increased, this would not increase the complexity of hardware algorithm realization,
Nor congestion problems can be produced;When destination node is unsatisfactory for both the above situation, then packet is transmitted to centre route
Device, is transmitted to destination node region by upper layer transport router, by multicast downstream packet transmission algorithm transmit to
Destination node;It must could be transmitted to destination node via upper layer transport router in mixing Multicast Routing Algorithm so as to solve
The problem of, realizing packet by two-stage fractionation routing algorithm can be to destination node in present node and its adjacent node position
Put and be transmitted;And then efficiency of transmission is substantially increased, reduce congestion and delay.
2nd, the present invention is preserved, one in order to which multicast directional information can be gathered all by two kinds of registers
Transmission direction register is planted to preserve current microplate transmission direction;And in order to preserve many head microplate directional informations, using full side
To register, directional information is transmitted to transmission direction register when simultaneous transmission body microplate and tail microplate;This will just work as forward pass
Defeated direction is distinguished with all transmission directions of multicast;Simultaneously in order to avoid the multiple arbitration in identical traffic direction, by setting
Weight arbitration request signal directly opens cross bar switch, so that reduction arbitration time and complexity, decrease moderator work
Time, delay is reduced, while reducing router power consumption.
3rd, by two-stage fractionation routing algorithm, to the progress of multicast upstream data bag, bottom-layer network is selectively passed the present invention again
It is defeated, whether it is present node by the destination node to current multicast packet, present node adjacent node, and neither
The node met is classified, and is transmitted to the process of destination node, is greatly reduced in bottom-layer network so as to add packet
Packet greatly reduces the congestion situation of upper layer network, reduction delay to the process of the transmission route device on upper strata.
4th, two grades of fractionation modules are judged destination node in present node phase by the present invention in order to not increase new Deadlock
When ortho position is put, whether split according to the whether idle determination data bag of output channel to adjacent node, and avoid network congestion
Situation, reduces delay.
5th, packet transmission is divided into three by the present invention by the position for the packet rs destination node for judging upward transmission direction
The situation of kind, respectively present node is the situation of destination node, and present node adjacent node is the situation of destination node, and
Other situations;Changing the mixing Multicast Routing Algorithm based on hierarchical network structure can only be from upper layer transport route transmission to mesh
Node limitation, so as to greatly improve efficiency of transmission, reduce delay.
Brief description of the drawings
Fig. 1 is bottom 6 × 6, the hierarchical network structure figure of the scale of upper strata 2 × 2 in the prior art;
Fig. 2 is QoS routing computing module circuit structure diagram of the present invention;
Fig. 3 is two destination nodes of the invention on its up path;
Fig. 4 is adjacent node of the destination node of the invention in its up path;
Fig. 5 is adjacent node of two destination nodes of the invention in its up path;
Fig. 6 is adjacent node of three destination nodes of the invention in its up path;
Fig. 7 is adjacent node of four destination nodes of the invention in its up path;
Fig. 8 is the delay comparison diagram of different destination node numbers on up path of the present invention;
Fig. 9 is the delay comparison diagram of the different detachable adjacent destination node numbers of the present invention.
Embodiment
In the present embodiment, the form of packet as shown in table 1, comprising Virtual Channel number mark by each multi-case data packet header microplate
Will, microplate type code, type of data packet mark, destination node numbering, source node numbering, packet current transmission path, mesh
Node region upper layer node numbering, upper layer network transmission direction;
The network packet form of table 1
The stratification on-chip network structure of use is made up of 6 × 6 bottom two-dimensional network and 2 × 2 upper layer network
Double-deck network-on-chip, as shown in Figure 1;Bottom two-dimensional network is divided into 4 areas;If in each area comprising an intermediate router with
Dry ordinary router;Ordinary router includes five transmission directions;Intermediate router comprising five transmission directions and one to
Upper transmission direction;Upper layer network is transmission route device;Transmission route device includes five transmission directions and a downward transmission side
To;Intermediate router is interconnected with transmission route device.
In the present embodiment, the decoding module in intermediate router and several ordinary routers is set to QoS routing meter
Calculate module;As shown in Fig. 2 QoS routing computing module include classification decoding unit YM, unicast packet route computing unit SR,
Multicast upstream data bag route computing unit UR, multicast downlink data packet route computing unit DR and output port deposit unit;
Multicast upstream data bag route computing unit UR includes:Two-stage split cells TS and generic uplink route computing unit RC;Commonly
Router output mouthful deposit unit includes:The transmission direction register port_1 [4 of 5:0] and 5 omnirange registers
port_2[4:0];Intermediate router output port deposit unit includes:The transmission direction register port_1 [5 of 6:0] and 6
Position omnirange register port_2 [5:0];The transmission direction register of ordinary router and intermediate router is collectively expressed as passing
Defeated direction register port_1, omnirange register is collectively expressed as omnirange register port_2;Transmission direction register
Port_1 is used to store the transmission direction when front microplate;Omnirange register port_2 is used for the transmission for storing all microplates
One represents a transmission direction in direction, omnirange register port_2;
Intermediate router or ordinary router in any one area are used as current routing node and the input that passes through itself
When module receives packet, the input module of current routing node is sent in packet to the QoS routing computing module of itself
Microplate data_in [38:0];
The classification decoding unit YM of current routing node is to received current microplate data_in [38:0] sentenced
It is disconnected, judge microplate data_in [36:35] whether microplate type code is 2 ' b01, if so, then current microplate is head microplate, if
2 ' b11, then current microplate is body microplate, if 2 ' b10, then current microplate is tail microplate;If received current microplate is
Head microplate, then the correct microplates of decoding unit YM of classifying are judged again, judge head microplate data_in [34] type of data packet mark
Whether it is 1 ' b1, if so, then head microplate is multi-case data packet header microplate, if it is not, being then unicast data packet header microplate.
If head microplate is the head microplate of multicast packets, the transmission direction to the head microplate of multicast packets is sentenced
It is disconnected, judge whether head microplate data_in [32] packet current transmission path is the upward b1 of transmission path 1 ', if so, working as forward pass
Defeated path is upward transmission path, if it is not, current transmission path is downward transmission path;If upward transmission direction, then will
The head microplate of multicast packets, which is sent to multicast upstream data bag route computing unit UR, to be used to calculate transmission direction;If downwards
Transmission direction, then the head microplates of multicast packets is sent at most broadcast downlink data packet route computing unit DR be used for calculate transmission
Direction;
If head microplate is the head microplate of unicast packet;Then the head microplate of unicast packet is sent to unicast packet road
It is used to calculate transmission direction by computing unit SR;
If received current microplate is body microplate, output port deposit unit is by the transmission direction of all microplates
From omnirange register port_2 copies to transmission direction register port_1, the input module of current routing node is according to defeated
Transmission direction register port_1 transmission direction transmits body microplate to downstream routing node in exit port deposit unit;
If received current microplate is tail microplate, output port deposit unit is by the transmission direction of all microplates
From omnirange register port_2 copies to transmission direction register port_1, the input module of current routing node is according to defeated
Transmission direction register port_1 transmission direction transmits tail microplate to downstream routing node in exit port deposit unit;So
Afterwards, the classification decoding unit YM of current routing node sends packet end of transmission signal to output port deposit unit;Output
Port deposit unit is according to received packet end of transmission signal, by the output port deposit unit of current routing node
Reset;
Multicast upstream data bag route computing unit UR two-stage split cells TS is according to received multicast packets
Head microplate, by the coordinate data_in [23 of the own coordinate of current routing node and destination node:8] it is compared,
If two coordinates are identical, then it represents that current routing node is destination node, transmission direction is obtained for local direction
And preserve into output port deposit unit;
If two coordinates are adjacent, then it represents that current routing node and destination node are adjacent node, and obtaining transmission direction is
Adjacent direction, two-stage split cells TS judges whether the output port of current routing node is idle again, if idle, by adjacent side
To preservation into output port deposit unit;If not idle, adjacent direction is not preserved, and the head microplate of multicast packets is passed
Transport to generic uplink route computing unit RC;
Also differed if two coordinates are non-conterminous, the head microplate of multicast packets is directly transmitted to generic uplink to routeing
Computing unit RC;Generic uplink route computing unit RC is calculated according to the intermediate router coordinate of current routing node location
Go out the transmission direction in multi-case data packet header microplate downstream, and preserve to the output port deposit unit of current routing node;
Multicast downlink data packet route computing unit DR utilizes XY roads according to the head microplate of received multicast packets
The transmission direction in multi-case data packet header microplate downstream is calculated by algorithm, and is preserved to the output port deposit of current routing node
Unit;
Unicast packet route computing unit SR is route using XY and calculated according to the head microplate of received unicast packet
Method calculates the transmission direction in unicast data packet header microplate downstream, and preserves to the output port storage receipt of current routing node
Member;
When omnirange register port_2 receives the input direction of current microplate, judging the transmission direction of current microplate is
It is no to have existed, if having existed, the QoS routing computing module of current routing node will weight arbitration request signal send to
The arbitration modules of itself, for opening the corresponding output port of cross switch module, otherwise, directly store the input of current microplate
Direction.
In the present embodiment, a kind of two-stage applied to stratification network-on-chip splits the routing algorithm of router, stratification
Network-on-chip is made up of 6 × 6 bottom two-dimensional network and 2 × 2 upper layer network;Bottom two-dimensional network is divided into 4 areas;Each
An intermediate router and several ordinary routers are included in area;Ordinary router includes five transmission directions;Centre route
Device includes five transmission directions and a upward transmission direction;Upper layer network is transmission route device;Transmission route device includes five
Individual transmission direction and a downward transmission direction;Intermediate router is interconnected with transmission route device;With in any one area
Intermediate router or ordinary router are as current routing node and when receiving packet by the input module of itself, route
Algorithm is to carry out as follows:
Step 1, setting intermediate router and several ordinary routers include:The transmission direction register port_ of 5
1[4:0] and 5 omnirange register port_2 [4:0];Intermediate router output port deposit unit includes:The transmission side of 6
To register port_1 [5:0] and 6 omnirange register port_2 [5:0];The transmission of ordinary router and intermediate router
Direction register is collectively expressed as transmission direction register port_1, and omnirange register is collectively expressed as omnirange register
port_2;Transmission direction register port_1 is used to store the transmission direction when front microplate;Omnirange register port_2 is used
One represents a transmission direction in the transmission direction for storing all microplates, omnirange register port_2;
Step 2, current routing node are judged the current microplate in received packet, if received
Current microplate is head microplate, then performs step 3;If received current microplate is body microplate, step 8 is performed;If being connect
The current microplate received is tail microplate, then performs step 9;
The correct microplate of step 3, current routing node is judged again;If head microplate is the head microplate of multicast packets;Then
Perform step 4;If head microplate is the head microplate of unicast packet;Then directly calculate unicast data packet header using XY routing algorithms
The transmission direction in microplate downstream is simultaneously preserved into transmission direction register port_1 and omnirange register port_2;Step is performed again
Rapid 10;
Step 4, current routing node are judged the transmission direction of the head microplate of multicast packets, if transmission upwards
Direction, then perform step 5;If downward transmission direction, then perform step 7;
Step 5, current routing node according to the head microplates of received multicast packets, by current routing node from
Body coordinate and the coordinate of destination node are compared, if two coordinates are identical, then it represents that current routing node is destination node,
Transmission direction is obtained for local direction and is preserved into transmission direction register port_1 and omnirange register port_2;Hold again
Row step 10;
If two coordinates are adjacent, then it represents that current routing node and destination node are adjacent node, and obtaining transmission direction is
Adjacent direction, and judge whether the output port of current routing node is idle, if idle, adjacent direction is preserved to transmission direction
In register port_1 and omnirange register port_2, then perform step 10;Otherwise step 6 is performed;If two coordinates not phase
Neighbour also differs, then directly performs step 6;
Step 6, current routing node calculate multi-case data packet header micro- according to the intermediate router coordinate of itself location
The transmission direction in piece downstream is simultaneously preserved into transmission direction register port_1 and omnirange register port_2;Step is performed again
10;
Step 7, current routing node are calculated according to the head microplate of received multicast packets using XY routing algorithms
Go out the transmission direction in multi-case data packet header microplate downstream and preserve to transmission direction register port_1 and omnirange register
In port_2;Step 10 is performed again;
The transmission direction of all microplates is copied to biography by step 8, current routing node from omnirange register port_2
In defeated direction register port_1, so that the transmission direction in transmission direction register port_1 transmits body microplate under
Swim routing node;Return again to step 2;
The transmission direction of all microplates is copied to biography by step 9, current routing node from omnirange register port_2
In defeated direction register port_1, so that the transmission direction in transmission direction register port_1 transmits tail microplate under
Swim routing node;When the tail microplate end of transmission, current routing node deposits transmission direction register port_1 and omnirange
Device port_2 is reset, and returns again to step 2;
When step 10, port_2 omnirange registers receive the input direction of current microplate, the biography of current microplate is judged
Whether defeated direction has been present, if having existed, and weight arbitration request signal is sent secondary to itself by current routing node
Module is cut out, for opening the corresponding output port of cross switch module, otherwise, the input direction of current microplate is directly stored;
Step 11, return to step 2.
In specific implementation, change destination node number detachable on multicast up path.For the network of bottom 6 × 6, press
It is divided into a region so multicast packets according to every 3 × 3 and two detachable destination nodes is up on up path.Experiment
With (1,1) for source node, destination node is (2,1), (2,2) and (2,4) respectively, as shown in Figure 3.Packet is micro- by three heads
Piece, three individual microplates and a tail microplate composition, a packet is sent from source node to destination node.Data under different situations
The delay result of bag is as shown in Figure 8.
When removable partial node only one of which, the average retardation of packet reduces 15.9%;When removable partial node has two
When individual, the average retardation of packet reduces 22%.It can thus be seen that the destination node that transmission is split on path is more, phase
Than in not splitting transmission, the arrival of packet postpones the more of reduction.
Under identical network condition, the adjacent destination node number in detachable path is set to 1,2,3,4.
Adjacent removable phrasing points' number is 1:Experiment sets source node as (3,4), and destination node is (2,2), (3,3), (2,6)
(2,1) a, data include four head microplates, three individual microplates and a tail microplate, as shown in Figure 4.
Adjacent removable phrasing points' number is 2:Experiment sets source node as (3,4), and destination node is (2,2), (3,3), (4,4)
(2,1) a, data include four head microplates, three individual microplates and a tail microplate, as shown in Figure 5.
Adjacent removable phrasing points' number is 3:Experiment sets source node as (3,4), and destination node is (2,2), (3,3), (4,4)
(3,5) a, data include four head microplates, three individual microplates and a tail microplate, as shown in Figure 6.
Adjacent removable phrasing points' number is 4:Experiment sets source node as (3,4), and destination node is (2,3), (3,3), (4,4)
(3,5) a, data include four head microplates, three individual microplates and a tail microplate, as shown in Figure 7.
Based on the experiment condition of above-mentioned setting, the delay result drawn is as shown in Figure 9.Detachable adjacent segments are counted from 1
The individual delay reduction result increased to corresponding to 4 is 22.7%, 31.5%, 41.4% and 50.3% respectively.It can draw, can
The adjacent segments points of fractionation are more, and the average retardation optimization of packet is bigger.
Claims (2)
1. a kind of two-stage applied to stratification network-on-chip splits router, the stratification network-on-chip is by N × M bottom
Layer two-dimensional network and L × S upper layer network are constituted;1≤L < N, 1≤S < M;The bottom two-dimensional network is divided into L × S area;
An intermediate router and several ordinary routers are included in each area;The ordinary router includes five transmission directions;
The intermediate router includes five transmission directions and a upward transmission direction;The upper layer network is transmission route device;
The transmission route device includes five transmission directions and a downward transmission direction;The intermediate router and the transmission route
Device is interconnected;It is characterized in that,
Decoding module in the intermediate router and several ordinary routers is set to QoS routing computing module;It is described
QoS routing computing module includes classification decoding unit YM, unicast packet route computing unit SR, multicast upstream data Bao Lu
By computing unit UR, multicast downlink data packet route computing unit DR and output port deposit unit;Multicast upstream data Bao Lu
Included by computing unit UR:Two-stage split cells TS and generic uplink route computing unit RC;The output port deposit unit
Including:The transmission direction register port_1 [m-1 of m:0] and m omnirange register port_2 [m-1:0];M is transmission side
To number;The transmission direction register port_1 [m-1:0] it is used to store the transmission direction when front microplate;The full side
To register port_2 [m-1:0] it is used for the transmission direction for storing all microplates;
Intermediate router or ordinary router in any one area are used as current routing node and the input module that passes through itself
When receiving packet, the input module of current routing node is sent in the packet to the QoS routing computing module of itself
Microplate;
The classification decoding unit YM of current routing node is judged received current microplate, if received is current
Microplate is head microplate, then the decoding unit YM that classifies judges the head microplate again;
If the head microplate is the head microplate of multicast packets;Then the transmission direction to the head microplate of the multicast packets is carried out
Judge, if transmission direction upwards, then send the head microplate of the multicast packets to multicast upstream data bag router-level topology
Unit UR is used to calculate transmission direction;If downward transmission direction, then send the head microplate of the multicast packets to multicast
Downlink data packet route computing unit DR is used to calculate transmission direction;
If the head microplate is the head microplate of unicast packet;Then the head microplate of unicast packet is sent to unicast packet road
It is used to calculate transmission direction by computing unit SR;
If received current microplate is body microplate, the output port deposit unit is by the transmission direction of all microplates
From omnirange register port_2 [m-1:0] transmission direction register port_1 [m-1 are copied to:0] in, current routing node
Input module is according to transmission direction register port_1 [m-1 in output port deposit unit:0] transmission direction passes body microplate
Transport to downstream routing node;
If received current microplate is tail microplate, the output port deposit unit is by the transmission direction of all microplates
From omnirange register port_2 [m-1:0] transmission direction register port_1 [m-1 are copied to:0] in, current routing node
Input module is according to transmission direction register port_1 [m-1 in output port deposit unit:0] transmission direction passes tail microplate
Transport to downstream routing node;Then, the classification decoding unit YM of current routing node is sent to the output port deposit unit
Packet end of transmission signal;The output port deposit unit, ought according to received packet end of transmission signal
The output port deposit unit of preceding routing node is reset;
The two-stage split cells TS of the multicast upstream data bag route computing unit UR is according to received multicast packets
Head microplate, the coordinate of the own coordinate of the current routing node and destination node is compared,
If two coordinates are identical, then it represents that current routing node is destination node, obtains transmission direction for local direction and protects
Deposit into the output port deposit unit;
If two coordinates are adjacent, then it represents that current routing node and destination node are adjacent node, it is adjacent to obtain transmission direction
Direction, the two-stage split cells TS judges whether the output port of current routing node is idle again, if idle, by adjacent side
To preservation into the output port deposit unit;If not idle, adjacent direction is not preserved, and by the multicast packets
Head microplate is transmitted to generic uplink route computing unit RC;
Also differed if two coordinates are non-conterminous, the head microplate of the multicast packets is directly transmitted to generic uplink to routeing
Computing unit RC;The generic uplink route computing unit RC according to the intermediate router coordinate of current routing node location,
The transmission direction in multi-case data packet header microplate downstream is calculated, and is preserved to the output port deposit unit of current routing node;
The multicast downlink data packet route computing unit DR utilizes XY roads according to the head microplate of received multicast packets
The transmission direction in multi-case data packet header microplate downstream is calculated by algorithm, and is preserved to the output port deposit of current routing node
Unit;
Unicast packet route computing unit SR utilizes XY routing algorithm meters according to the head microplate of received unicast packet
The transmission direction in unicast data packet header microplate downstream is calculated, and is preserved to the output port deposit unit of current routing node;
The omnirange register port_2 [m-1:When 0] receiving the input direction of current microplate, the biography of current microplate is judged
Whether defeated direction has been present, if having existed, and the QoS routing computing module of current routing node will weight requests for arbitration letter
Number send to the arbitration modules of itself, for opening the corresponding output port of cross switch module, otherwise, directly storage currently it is micro-
The input direction of piece.
2. a kind of two-stage applied to stratification network-on-chip splits the routing algorithm of router, the stratification network-on-chip is
It is made up of N × M bottom two-dimensional network and L × S upper layer network;1≤L < N, 1≤S < M;The bottom two-dimensional network is divided into
L × S area;An intermediate router and several ordinary routers are included in each area;The ordinary router includes five
Transmission direction;The intermediate router includes five transmission directions and a upward transmission direction;The upper layer network is to pass
Defeated router;The transmission route device includes five transmission directions and a downward transmission direction;The intermediate router and institute
State the interconnection of transmission route device;It is characterized in that, using the intermediate router or ordinary router in any one area as current
Routing node and when receiving packet by the input module of itself, the routing algorithm is to carry out as follows:
Step 1, the setting intermediate router and several ordinary routers include:The transmission direction register port_ of m
1[m-1:0] and m omnirange register port_2 [m-1:0];M is the number of transmission direction;The transmission direction register
port_1[m-1:0] it is used to store the transmission direction when front microplate;The omnirange register port_2 [m-1:0] it is used to deposit
Store up the transmission direction of all microplates;
Step 2, current routing node are judged the current microplate in received packet, if received is current
Microplate is head microplate, then performs step 3;If received current microplate is body microplate, step 8 is performed;If received
Current microplate be tail microplate, then perform step 9;
Step 3, current routing node judge the head microplate again;If the head microplate is micro- for multicast packets
Piece;Then perform step 4;If the head microplate is the head microplate of unicast packet;Then directly calculate list using XY routing algorithms
The transmission direction in multicast data packet header microplate downstream is simultaneously preserved to transmission direction register port_1 [m-1:0] and omnirange register
port_2[m-1:0] in;Step 10 is performed again;
Step 4, current routing node are judged the transmission direction of the head microplate of the multicast packets, if transmission upwards
Direction, then perform step 5;If downward transmission direction, then perform step 7;
Step 5, current routing node according to the head microplates of received multicast packets, by the current routing node from
Body coordinate and the coordinate of destination node are compared, if two coordinates are identical, then it represents that current routing node is destination node,
Transmission direction is obtained for local direction and is preserved to transmission direction register port_1 [m-1:0] and omnirange register port_2
[m-1:0] in;Step 10 is performed again;
If two coordinates are adjacent, then it represents that current routing node and destination node are adjacent node, it is adjacent to obtain transmission direction
Direction, and judge whether the output port of current routing node is idle, if idle, preserve adjacent direction to transmission direction and deposit
Device port_1 [m-1:0] and omnirange register port_2 [m-1:0] in, then step 10 is performed;Otherwise step 6 is performed;If two
Individual coordinate is non-conterminous also to be differed, then directly performs step 6;
Step 6, current routing node are calculated under the microplate of multi-case data packet header according to the intermediate router coordinate of itself location
The transmission direction of trip is simultaneously preserved to transmission direction register port_1 [m-1:0] and omnirange register port_2 [m-1:0] in;
Step 10 is performed again;
Step 7, current routing node are calculated many according to the head microplate of received multicast packets using XY routing algorithms
The transmission direction in multicast data packet header microplate downstream is simultaneously preserved to transmission direction register port_1 [m-1:0] and omnirange register
port_2[m-1:0] in;Step 10 is performed again;
The transmission direction of all microplates is copied to transmission direction deposit by step 8, current routing node from omnirange register
Device port_1 [m-1:0] in, so that according to transmission direction register port_1 [m-1:0] transmission direction in transmits body microplate
To downstream routing node;Return again to step 2;
Step 9, current routing node are by the transmission direction of all microplates from omnirange register port_2 [m-1:0] copy to
Transmission direction register port_1 [m-1:0] in, so that according to transmission direction register port_1 [m-1:0] transmission direction in
Tail microplate is transmitted to downstream routing node;When the tail microplate end of transmission, current routing node is by transmission direction register
port_1[m-1:0] and omnirange register port_2 [m-1:0] reset, return again to step 2;
Step 10, the omnirange register port_2 [m-1:When 0] receiving the input direction of current microplate, judge current micro-
Whether the transmission direction of piece has been present, if having existed, and the arbitration request signal that will weigh of current routing node is sent to certainly
The arbitration modules of body, for opening the corresponding output port of cross switch module, otherwise, directly store the input side of current microplate
To;
Step 11, return to step 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710359177.4A CN107046500B (en) | 2017-05-19 | 2017-05-19 | A kind of two-stage fractionation router and its routing algorithm applied to stratification network-on-chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710359177.4A CN107046500B (en) | 2017-05-19 | 2017-05-19 | A kind of two-stage fractionation router and its routing algorithm applied to stratification network-on-chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107046500A true CN107046500A (en) | 2017-08-15 |
CN107046500B CN107046500B (en) | 2019-08-30 |
Family
ID=59547119
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710359177.4A Active CN107046500B (en) | 2017-05-19 | 2017-05-19 | A kind of two-stage fractionation router and its routing algorithm applied to stratification network-on-chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107046500B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109039902A (en) * | 2018-07-24 | 2018-12-18 | 新华三技术有限公司 | A kind of retransmission method and device of multicast message |
CN109150731A (en) * | 2018-09-19 | 2019-01-04 | 合肥工业大学 | Multicast packet connection circuit and its method for routing based on convolutional neural networks |
CN110351192A (en) * | 2019-08-15 | 2019-10-18 | 电子科技大学 | A kind of multi-level optional compound route control method of dynamic towards network-on-chip |
CN114363245A (en) * | 2020-09-30 | 2022-04-15 | 北京灵汐科技有限公司 | Many-core network-on-chip data transmission method, device, equipment and medium |
CN114844757A (en) * | 2022-02-24 | 2022-08-02 | 电子科技大学长三角研究院(湖州) | Network-on-chip design method for distributed parallel operation algorithm |
CN115665041A (en) * | 2022-11-18 | 2023-01-31 | 北京红山微电子技术有限公司 | Network-on-chip structure, data transmission method, electronic device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618673A (en) * | 2013-11-15 | 2014-03-05 | 中国航空无线电电子研究所 | NoC routing method guaranteeing service quality |
CN104092615A (en) * | 2014-06-10 | 2014-10-08 | 西安电子科技大学 | Network on chip with network coding function, network topology of the network on chip, and route algorithm of the network topology |
CN104158738A (en) * | 2014-08-29 | 2014-11-19 | 中国航空无线电电子研究所 | Network-on-chip router with low buffer area and routing method |
CN105871742A (en) * | 2016-03-24 | 2016-08-17 | 合肥工业大学 | Adaptive router in NoC (network-on-chip) on basis of virtual output queue mechanism |
CN105893162A (en) * | 2016-03-29 | 2016-08-24 | 浙江大学 | Integration method of multiple medical information systems on the basis of automatic routing of message |
-
2017
- 2017-05-19 CN CN201710359177.4A patent/CN107046500B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103618673A (en) * | 2013-11-15 | 2014-03-05 | 中国航空无线电电子研究所 | NoC routing method guaranteeing service quality |
CN104092615A (en) * | 2014-06-10 | 2014-10-08 | 西安电子科技大学 | Network on chip with network coding function, network topology of the network on chip, and route algorithm of the network topology |
CN104158738A (en) * | 2014-08-29 | 2014-11-19 | 中国航空无线电电子研究所 | Network-on-chip router with low buffer area and routing method |
CN105871742A (en) * | 2016-03-24 | 2016-08-17 | 合肥工业大学 | Adaptive router in NoC (network-on-chip) on basis of virtual output queue mechanism |
CN105893162A (en) * | 2016-03-29 | 2016-08-24 | 浙江大学 | Integration method of multiple medical information systems on the basis of automatic routing of message |
Non-Patent Citations (2)
Title |
---|
杜高明等: ""基于多路径路由片上网络的低功耗联合编码电路设计"", 《微电子学与计算机》 * |
欧阳一鸣等: ""针对路径故障与局部拥塞的 NoC 容错路由算法"", 《电子学报》 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109039902A (en) * | 2018-07-24 | 2018-12-18 | 新华三技术有限公司 | A kind of retransmission method and device of multicast message |
CN109150731A (en) * | 2018-09-19 | 2019-01-04 | 合肥工业大学 | Multicast packet connection circuit and its method for routing based on convolutional neural networks |
CN109150731B (en) * | 2018-09-19 | 2020-09-18 | 合肥工业大学 | Multicast packet connection circuit based on convolutional neural network and routing method thereof |
CN110351192A (en) * | 2019-08-15 | 2019-10-18 | 电子科技大学 | A kind of multi-level optional compound route control method of dynamic towards network-on-chip |
CN114363245A (en) * | 2020-09-30 | 2022-04-15 | 北京灵汐科技有限公司 | Many-core network-on-chip data transmission method, device, equipment and medium |
CN114363245B (en) * | 2020-09-30 | 2024-04-26 | 北京灵汐科技有限公司 | Multi-core network-on-chip data transmission method, device, equipment and medium |
CN114844757A (en) * | 2022-02-24 | 2022-08-02 | 电子科技大学长三角研究院(湖州) | Network-on-chip design method for distributed parallel operation algorithm |
CN114844757B (en) * | 2022-02-24 | 2023-11-24 | 电子科技大学长三角研究院(湖州) | Network-on-chip design method for distributed parallel operation algorithm |
CN115665041A (en) * | 2022-11-18 | 2023-01-31 | 北京红山微电子技术有限公司 | Network-on-chip structure, data transmission method, electronic device, and storage medium |
CN115665041B (en) * | 2022-11-18 | 2023-03-28 | 北京红山微电子技术有限公司 | Network-on-chip structure, data transmission method, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107046500B (en) | 2019-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107046500A (en) | A kind of two-stage applied to stratification network-on-chip splits router and its routing algorithm | |
CN105450555B (en) | A kind of method for building up of network-on-a-chip and network-on-chip communication link | |
CN104767694B (en) | A kind of stream compression forwarding method towards Fat Tree data center network architectures | |
US7555001B2 (en) | On-chip packet-switched communication system | |
CN106357547A (en) | Software-defined network congestion control algorithm based on stream segmentation | |
US9148298B2 (en) | Asymmetric ring topology for reduced latency in on-chip ring networks | |
CN101834789B (en) | Packet-circuit exchanging on-chip router oriented rollback steering routing algorithm and router used thereby | |
CN105022717A (en) | Network on chip resource arbitration method and arbitration unit of additional request number priority | |
WO2008075336A3 (en) | Forwarding multicast traffic over link aggregation ports | |
CN104683242B (en) | A kind of topological structure and method for routing of two dimension network-on-chip | |
CN104348735B (en) | Message forwarding method and device in pile system | |
CN106209669A (en) | Towards SDN data center network maximum of probability path stream scheduling method and device | |
CN109873771B (en) | On-chip network system and communication method thereof | |
CN102546417B (en) | Scheduling method of network-on-chip router based on network information | |
CN106254254A (en) | A kind of network-on-chip communication means based on Mesh topological structure | |
CN109561034A (en) | Three-dimensional network topological structure and its routing algorithm | |
KR100730279B1 (en) | Computer chip for connecting devices on chip utilizing star-torus topology | |
CN109039949A (en) | Dynamic radio media access control method priority-based in wireless network-on-chip | |
CN107154897A (en) | Isomery stream partition method based on bag scattering in DCN | |
CN105610707A (en) | Implementation method of AntNet routing algorithm in two-dimensional mesh topology network-on-chip | |
CN107566275A (en) | Multi-path transmission method based on the delay inequality opposite sex in data center network | |
Lusala et al. | Combining sdm-based circuit switching with packet switching in a NoC for real-time applications | |
US8953497B2 (en) | Modified tree-based multicast routing schema | |
CN104754589B (en) | Dynamic networking method based on traffic aware | |
CN109150731A (en) | Multicast packet connection circuit and its method for routing based on convolutional neural networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |