0% found this document useful (0 votes)
50 views5 pages

Smart Reliable Network On Chip and Its Area Reduction Using Elastic Buffer

1) The document discusses a smart reliable network on chip (NoC) and its area reduction using elastic buffers. 2) It proposes replacing the input and output buffers of a NoC with elastic buffers to reduce the area requirements. Introducing arbiters can further improve performance when multiple input ports request the same output port. 3) The NoC uses a 2x2 and 4x4 mesh topology with an adaptive XY routing algorithm that can bypass faulty routers. Error detection and correction is enabled through Hamming codes applied to packets between routers.

Uploaded by

erpublication
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views5 pages

Smart Reliable Network On Chip and Its Area Reduction Using Elastic Buffer

1) The document discusses a smart reliable network on chip (NoC) and its area reduction using elastic buffers. 2) It proposes replacing the input and output buffers of a NoC with elastic buffers to reduce the area requirements. Introducing arbiters can further improve performance when multiple input ports request the same output port. 3) The NoC uses a 2x2 and 4x4 mesh topology with an adaptive XY routing algorithm that can bypass faulty routers. Error detection and correction is enabled through Hamming codes applied to packets between routers.

Uploaded by

erpublication
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

International Journal of Engineering and Applied Sciences (IJEAS)

ISSN: 2394-3661, Volume-2, Issue-11, November 2015

Smart Reliable Network on Chip and its Area


reduction using Elastic buffer
Meera P Alias, Melvin C Jose

incoming data in the input and output buffers when replaced


Abstract Network on Chip (NoC) is one of the efficient with Elastic buffer can reduce the area requirements of the
on-chip communication architecture for System on Chip (SoC) NoC. Arbiters when introduced into NoC can improve the
where a large number of computational and storage blocks are performance when more than one input ports of a router
integrated on a single chip.NoC has more flexibility and request the same output port.Arbiters assigns priority for each
reusability when compared with dedicated wires where number input port when they request the same output port,thereby
of wires increases dramatically as the number of cores grows.In deciding which input port gains control over the output port
this project 2X2 and 4X4 mesh topology NoC has to be designed first.
and implemented. The proposed NoC is based on adaptive XY
routing algorithm. In Adaptive XY algorithm ,if any II. LITERATURE REVIEW
neighbouring router becomes faulty,faulty link of the router
Network on chip act as a solution to implement future on-chip
will be bypassed.The area requirements of the NoC is very
interconnection architecture.A typical NoC consists of
high.In order to reduce the area,the input and output buffers of
switches to route the data packets, interfaces to connect each
the NoC will be replaced with elastic buffers.Inorder to further
core to a switch in a NoC, and interconnections among the
improve the performance of the NoC ,an arbiter can be
switches as shown in Fig. 2.1. The wires connecting the
introduced.Arbiter is used when many input ports request the
routers are unidirectional ,so a connection between
same output port and in such cases a priority will be assigned
neighboring routers uses two wires.The Switching
for input ports when they request the same output port. The Techniques in a NoC is of two types:Circuit Switching and
NoCs performance have to be evaluated and implemented on Packet Switching.In Packet Switching entire message is
Spartan3E field programmable gate array kit. divided into packets and transmitted wheras in Circuit
Switching a link is being established before messages are
Index Terms EB,FIFO,NoC,PE,SEC-DED,SoC transmitted.

I. INTRODUCTION
Integrating a NoC into the SoC provides an effective means
to interconnect several processor elements (PEs) or
intellectual properties (IP) (processors, memory controllers,
etc.). The NoC medium features a high level of modularity,
flexibility, and throughput. A NoC comprises routers and
interconnections allowing communication between the PEs
and/or IPs. The NoC relies on data packet exchange. The path
for a data packet between a source and a destination through
the routers is defined by the routing algorithm. Fig 2.1 Neighbours of a router
In this paper a new reliable dynamic NoC is being 2.1.Topology
presented[1]. The proposed NoC is based on mesh structure The topology of NoC depends upon the placement and
of routers which is able to detect routing errors using interconnection of NoC nodes[2]. The ideal characteristics
adaptive XY algorithm. Data packet error detection and that a NoC provides are low latency, more throughput and
correction is possible as the packet is transmitted between less power consumption, less routing area and less
routers.Hamming Error Correction Code applied at the input complexity.Its difficult to have all these features in a single
and output of the router will enable Single Error Correction NoC , so a trade off exists between these features.The
and Double Error Detection(SEC-DED). topology of the NoC classified as regular and irregular. Mesh
A 2x2 and 4x4 mesh Topology NoC is used in this and Torus are regular forms of topologies as shown in
paper.NoC using First in first out (FIFO) for storage of Fig.2.2.A mesh topology NoC is used here as it is much
suitable for a 2D layout and faults can be easily
detected.Torus topology is similar to mesh topology except
that ends of the row and column are connected.Irregular
Meera P Alias, is pursuing M.Tech in VLSI and Embedded Systems topology is obtained by mixing different forms and it forms a
from Viswajyothi College of Engineering and Technology, hybrid ,asymmetric or hierarchical fashion.
Vazhakulam,India
Melvin C Jose has done M.Tech from Amrita University.He is working
as Assistant Professor in Electronics and Communication Department at
Viswajyothi College of Engineering and Technology ,Vazhakulam,India.

53 www.ijeas.org
Smart Reliable NoC and its Area reduction using Elastic Buffers

Fig 2.3 Position of redundancy bits in (18,6,1) Hamming


code
To construct a single error correcting plus double error
Fig 2.2 Topolgy of NoC detecting code,one more position lc is added for checking
all the previous positions,using an even parity check.
2.2 Routing Algorithms in a NoC
The routing algorithm which defines the path taken by a r Even parity of bit positons
packet between the source and the destination affects the the
efficiency of the communication of NoC. r1 1,3,5,7,9,11,13,15,17,19,21,23
Routing algorithm can be classified in different ways :-
(i)Depending upon degree of adaptiveness of routing r2 2,3,6,7,10,11,14,15,18,19,22,23
algorithm as adaptive and deterministic routing algorithm
(ii)Depending upon number of destination as unicast and r4 4,5,6,7,12,13,,14,15,20,21,22,23
multicast routing algorithm r8 8,9,10,11,12,13,14,15
(iii) Depending upon routing decisions as source
routing,distributed routing,centralized routing and multi r16 23,22,21,20,19,18,17,16
phase routing etc..
lc 1 to 23
2.2.1 XY Routing Algorithm
There are different types of XY Routing algorithms[3].XY
Routing Algorithm is an example of deterministic routing Fig 2.4 Calculation of redundancy bits in Hamming code
algorithm.It takes a fixed path between the source and Three different cases exists under this condition.
destination.In XY Routing Algorithm,routing first takes place No errors:All parity checks including the last are
in x direction and then in y direction.An adaptive XY satisfied
algorithm is used here which bypasses the faulty router and Single error:The last parity check fails in all such
reaches the destination by using XY algorithm. situations whether the error be in the information,the
orginal check positions or the last check
2.3 Hamming code Error Correction position.The orginal checking number gives the
In communication system, a secure data transmission from position of error,where zero value means the last
transmitter to receiver is very major issue for error free check position
transmission.There are number of methods.One of them is
Two errors:In all such situations the last parity check
Hamming code method[4].The central concept in detecting or
is satisfied and the checking number indicates some
correcting errors is redundancy. Inorder to detect or correct
kind of error
errors, some extra bits are appended with the data. These
redundant bits are added by the sender and removed by the
III. PROJECT OVERVIEW
receiver at positions in power of 2.Their presence allows the
receiver to detect or correct corrupted bits. The (n, k, t) code
refers to an n-bit code word having k data bits (where n > The RKT-NoC is a packet switched network based on
k) and r (=nk) error-control bits called redundant or intelligent independent reliable routers called RKT switches.
redundancy bits with the code having the capability of The architecture of the RKT switch is shown in Figure 3.1.
correcting t bits in the error (i.e., t corrupted bits).If the The RKT-switch is characterized by its architecture having
total number of bits in a transmittable unit (i.e., code word) is four directions (North, South, East,West) suitable for a 2-D
n (=k+r), r must be able to indicate at least n+1 (=k+r+1) mesh NoC. The PEs and IPs can be connected directly to any
different states. Of these, one state means no error, and n side of a router. Therefore, there is no specific connection
states indicate the location of an error in each of the n port for a PE or IP.In the four port router shown in Figure
positions. So n+1 states must be discoverable by r bits; 3.1,An IP can replace several input ports and can be thus
and r bits can indicate 2r different states. Therefore, 2r must strongly connected in the network.
be equal to or greater than n+1i.e 2r n +1 or 2r k + r +1 A 2X2 and 4X4 mesh topology NoC is used in this
The value of r can be determined by substituting the value project.The single switch structure is being replicated to form
of k (the original length of the data to be transmitted).For a mesh topology.The overall architecture of the RKT switch
example, if the value of k is 7, the smallest r value that is as follows.
can satisfy this constraint is 4i.e Firstly,the packet enters the router through the
24 7+4+1 (1) loopback module.Single bit Errors if any in the
In this paper ,18 bit data is converted into a 24 bit packet and received packet is corrected by Hamming ECC.If
transmitted.The redundant bits are positioned as shown in there is more than two errors in the received
Fig.2.3 below and their calculation is shown in Fig.2.4 packet,that packet will be discarded.
respectively. The decoded packet will be stored in the input buffer
of received input port

54 www.ijeas.org
International Journal of Engineering and Applied Sciences (IJEAS)
ISSN: 2394-3661, Volume-2, Issue-11, November 2015
The same decoded packet will also be stored in the
output buffer of the other ports.
The output buffer which will get enabled is decided
by the adaptive XY algorithm.XY algorithm is such
that it first routes in x direction and then in y
direction.If there exists any error in any port of the
router ,that particular port will not get
transversed.The
packet will transverse through some other port of the
same router.
The output buffer which was enabled will get encoded
using Hamming ECC.
The encoded packet will be out of the router module
through the dataout of the loopback module.This
packet will act as input to other router module.
A centralized journal is maintained that states a Fig 3.2 Architecture of Loopback module
particular port is faulty,when threshold of number of
errors in the journal reaches three. 3.1 Arbiter
Many input ports will be requesting to access a common
physical channel resource. In this case, an arbiter is
required.If many flits arrive at buffers from several channels
and these flits are destined for one physical channel, an
arbiter receives request signals from buffer.The role of arbiter
is shown in Fig 3.3 where it receives requests from
north,east,west input ports for south output port. A priority is
assigned for each input port for a particular output port.For
the south output port shown in Fig 3.3 ,the order of priority is
west input port followed by east input port and north input
port.

Fig 3.1 Architecture of the reliable router Fig 3.3 Role of arbiter
RKT switch
A loopback module is implemented in each of the four ports 3.2 Elastic Buffer
of the router, as illustrated in Fig 3.1.The packet enters and Buffers are commonly implemented in network routers and
leaves the router through the loopback module. The used by the flow control scheme to enqueue contenting
architecture of the loopback module is depicted in Figure packets or flits . Buffers occupy almost 75 percent of the
3.2. The logic control block checks the availability of the network area.So there is a need to eliminate these buffers in
neighboring router in order to transmit the data packets order to reduce area and power consumption. Elastic buffer
(data_request_in signal). If no loopback is required, a (EB) flow control is proposed to eliminate router buffers
semi-crossbar connects the buffer to the data_out signal in while preserving buffering in the network[5].Pipeline
order to send the data packets the data packet on the flip-flop (FFs) become EBs with two storage locations is
data_loopback bus. When loopback is required as obtained through the addition of a small logic block which
neighbouring link is unavailable, the data packet is looped controls their master and slave latch enable inputs
back inside the router and will be considered as a new independently as shown in Fig.3.4 respectively. The two
packet.Thus by loopbacking the same packet will be inputs are still gated by the clock as in a normal master-slave
transversed through some other port of the same router. FFs.Master Flip flop is gated by write signal and slave signal
In the structure of the RKT switch shown below,an arbiter is is gated by read signal. Having EBs in sequence enables
also introduced.An arbiter assigns priority for a router when channels to act as distributed FIFOs. Flits progress among
more than one input ports of a router request the same output EBs using a ready-valid handshake .Thus inorder to reduce
port.The arbiter thus introduced removes the contention the associated area and energy costs buffers based on FIFOs
problem. are replaced with Elastic buffer in this paper.

55 www.ijeas.org
Smart Reliable NoC and its Area reduction using Elastic Buffers

router(0,0).The destination is towards the router (1,1).The


packet will be out through the east port of router (0,0) which
is the west input port of the router(0,1).Single bit error will be
corrected and transmitted out of east port of router (0,0).This
packet act as input to west port of router (0,1) and will be out
through the south port of router (0,1).When the packet
reaches destination ,the local request will be made high.The
output waveform shown in Fig 4.2

Fig 3.4 Architecture of Elastic Buffer

IV. RESULTS
The NoC topology for 2x2 mesh size is shown in Fig 4.1
below.Four routers are connected to each other so as to form
a mesh structure.The input can be connected to any of the
router.Each router has x and y co-ordinate associated with it
which is represented inside the node.
Figure 4.2 Output waveform for 2x2 mesh
topology

Fig 4.1 A 2X2 Mesh Topology NoC


Figure 4.3 A 4x4 mesh topology for routing error detection
Suppose that packet is entered through the north port of the

Figure 4.4 Output waveform for 4x4 mesh topology for routing error detection

A 4X4 mesh topology NoC with error in the east port of east.port of the router (1,1) given by pkt_in_e.The
router (1,1) is shown in Figure 4.3.The output waveform for Hamming decoder decodes the packet and finds the
the above 4X4 mesh topology NoC is shown in Figure destination of packet towards the router (2,1).The router (1,1)
4.4.The current address of the router is (1,1) as shown by checks the availability of the links in north,south,west,east
crnt_add in Figure 4.4.The 24 bit directions given by err_in_n, err_in_s err_in_w
packet24101001011010011010110111 enters through the err_in_e.All the links are available as all of them are

56 www.ijeas.org
International Journal of Engineering and Applied Sciences (IJEAS)
ISSN: 2394-3661, Volume-2, Issue-11, November 2015
0.According to XY algorithm packet should be transmitted
out through south port of router (1,1) but the packet is
transmitted out through the west port of router (1,1) making
req_out_w high instead of req_out_s .This creates a
routing error given by east port of router (1,1) making
err_out_e high.

Table 4.1 Comparison of area of 2X2 NoC and 4x4


NoC with and without elastic buffer

The Table shown in Table 4.1 shows the comparison of area of


2x2 and 4x4 NoC with and with out Elastic buffers.There is a
significant reduction in the number of LUTs when buffers using
FIFOs are being replaced with Elastic buffers.

REFERENCES
[1] Cedric Killian, Camel Tanougast, Fabrice Monteiro, and Abbas
Dandache, Smart Reliable Network-on-Chip IEEE Trans. Very
Large Scale Integr. vol. 22, no. 2, Feb. 2014
[2] T.N.K. Reddy, A.K. Swain, J.K. Singh and K.K. Mahapatra,
Performance assessment of different Network on chip topologies
IEEE ICDCS Proc., Mar. 2014
[3] Shubhangi D Chawade Mahendra A Gaikwad Rajendra M Patrikar
,,Review of XY Routing Algorithm for Network-on-Chip
Architecture, International Journal of Computer Applications ,2012
[4] R.W.Hamming,Error Detecting and correcting codes,The Bell
System Technical Journal,Volume XX1X ,No.2.April 1950
[5] George Michelogiannakis, Daniel U. Becker, and William J. Dally
,Evaluating Elastic Buffer and Wormhole Flow Control ,IEEE
Ttransactions on Computers, vol. 60, no. 6, june 2011

57 www.ijeas.org

You might also like