30
Network-on-Chip Paradigm Erman Doğan

Ermandogan Noc

Embed Size (px)

DESCRIPTION

NOC

Citation preview

Page 1: Ermandogan Noc

Network-on-Chip Paradigm

Erman Doğan

Page 2: Ermandogan Noc

OUTLINE SoC Communication Basics

Bus Architecture Pros, Cons and Alternatives

NoC Why NoC? Components Characteristics

Topology Routing Switching Strategy

On-Chip vs Off-Chip Networks

Page 3: Ermandogan Noc

Introduction

Network-on-a-chip (NoC) is a new approach to System-on-Chip (SoC) design.

NoC-based systems can accommodate multiple asynchronous clocking that many of today's complex SoC designs use.

The NoC solution brings a Networking method to on-chip communication and brings notable improvements over conventional bus systems.

Page 4: Ermandogan Noc

SoC Communication Basics

Shared Medium: Common Buses, Data Paths.

Hybrid Networks: Hierarchical buses, Multiple Backplane. Local communication on shared bus, packet switched

network on higher levels.

Direct and Indirect Network: Presence of Network Interface Block P2P communication support

Page 5: Ermandogan Noc

On-Chip Buses

On-chip Bus design Bus topology, mapping Bus data transmission

Bus segment widths, DMA size, data packet size Bus control

Priorities

Basic operation Arbitration of accesses to the shared bus Data transfer

Page 6: Ermandogan Noc

On-Chip Buses - Advantages

Easy Design

Low Cost

Good utilization

Page 7: Ermandogan Noc

On-Chip Buses - Disadvantages Energy Inefficiency Non scalable Bandwidth. Everyone on the bus had to

talk at the same speed. Central arbitration is a bottleneck Long wire delays – Clock skews Long wire capacitative disadvantages, crosstalk noises

Page 8: Ermandogan Noc

Solutions and Alternatives

Regular architecture – Instead of irregular global wiring

Point to Point Communication – Enables multiple connection, distribution of load

Packet Based Communication GALS – Globally Asynchronous and Locally

Synchronous

Page 9: Ermandogan Noc

The SoC nightmare

The architecture is tightly coupled

Source: Prof Jan Rabaey CS-252-2000 UC Berkeley

DMA CPU DSP

MemCtrl. Bridge

MPEG

I oo

The “Board-on-a-Chip”Approach

C

System Bus

Control Wires Peripheral Bus

Page 10: Ermandogan Noc

On-chip Communication

Bus based interconnect Low cost Easier to Implement Flexible

Networks on Chip Layered Approach Buses replaced with

Networked architectures Better electrical properties Higher bandwidth Energy efficiency Scalable

Irregular architectures Regular ArchitecturesBus-based architectures

Page 11: Ermandogan Noc

Why NoC?

Physical Nanometer-Technology Effects

Better Scalability

Chip Design Productivity Gap

Distributed Nature of Modern Chip Architectures

Page 12: Ermandogan Noc

Why NoC?Physical Nanometer-Technology Effects Decreasing wire dimensions increases resistance. Decreasing inter-wire spacing increases capacitance, wire

coupling delays, and crosstalk noises. Today’s long wires (including bus lines) require the periodic

insertion of repeaters.

NoC favors the use of short wires and the overall reduction of the total wire length in the chip.

NoC builds a highly-utilized and shared interconnection network with short links connected by routers.

Page 13: Ermandogan Noc

Why NoC?Chip Design Productivity Gap

It is a common assumption that the productivity of the designer increases every year by 21%, while the design complexity increases by 58% (following Moore’s Law).

It calls for the development of highly reusable modules and the availability of third party IP cores.

The module’s interface should be independent of the chip size and of the number of modules on the chip.

Page 14: Ermandogan Noc

Why NoC?Chip Design Productivity Gap

Moo

re’s

Law

Progress in

Design Automati

on

MOORE’S LAW

The capacity of integrated chips doubles every 18-20 months.

Time65 75 80 85 90 95 2000

108

1

106

Page 15: Ermandogan Noc

Why NoC?Distributed Nature of Modern Chip Architectures

The next generation of chip designs will incorporate multiple autonomous intelligent modules with a rich collection of communication services among them.

The level of parallelism in chips is on the rise.

Page 16: Ermandogan Noc

NoC Components

Network adapters implement the interface by which cores (IP blocks) connect to the NoC. Their function is to decouple computation (the cores) from communication (the network).

Routing nodes route the data according to chosen protocols. They implement the routing strategy.

Links connect the nodes, providing the raw bandwidth. They may consist of one or more logical or physical channels.

Page 17: Ermandogan Noc

NoC Characteristics

Topology

Routing Techniques

Switching Strategy

Page 18: Ermandogan Noc

NoC CharacteristicsTopology

The network topology refers to the static arrangement of channels and nodes in the network.

A good topology allows to fulfill the requirements of the traffic at reasonable costs.

Network topology can be compared with a network of roads.

Page 19: Ermandogan Noc

NoC CharacteristicsTopology - Examples

1D MeshRing

2D Mesh

ButterflyFat tree

Torus

Page 20: Ermandogan Noc

NoC CharacteristicsRouting

Routing is the task of finding a path from a source node to a destination node on a given topology.

Routing is one of the key components that determine the performance of the network.

Objectives of a routing algorithm: Reduce the number of hops and overall latency Balance the load of network channels

Page 21: Ermandogan Noc

NoC CharacteristicsSwitching Strategy

Switching strategy defines the way resources are allocated to the packets transfered across the chip.

Two common strategies: Circuit Switching Packet Switching

Page 22: Ermandogan Noc

NoC CharacteristicsSwitching Strategy – Circuit Switching A bufferless flow control Channels are reserved to form circuits for

transmissions

No packet dropping No misrouting of packets

Page 23: Ermandogan Noc

NoC CharacteristicsSwitching Strategy – Packet Switching No reserved path, non-deterministic routes Packet can take any path to the destination Non-deterministic delay due to buffer and

congestion No QOS guarantee Flow and congestion control needed

Packet switching is more popular in NoC literature

Page 24: Ermandogan Noc

NoC CharacteristicsSwitching Strategy – Packet Routing Schemes Store And Forward

After A finishes receiving the entire packet, A asks B if B is ready for the entire packet.

B → A, ack A sends the packet to B.

Page 25: Ermandogan Noc

NoC CharacteristicsSwitching Strategy – Packet Routing Schemes Virtual Cut-Through

While A receives a part of the packet, A asks B if B is ready for the entire packet.

B → A, ack A starts to send the packet to B even when A has

not yet received the entire packet.

Page 26: Ermandogan Noc

NoC CharacteristicsSwitching Strategy – Packet Routing Schemes Wormhole

Wormhole flow control operates like cut-through. The major difference is that cut-through flow

control allocates buffers and channel bandwidth on a packet level, while wormhole flow control does this on the flit level.

Page 27: Ermandogan Noc

“On-Chip” vs “Off-Chip” Networks Routers on Planar Grid Topology Short PTP Links between routers More predictable link delays

M odule

M odule M odule

M odule M odule

M odule M odule

M odule

M odule

M odule

M odule

M odule

Page 28: Ermandogan Noc

“On-Chip” vs “Off-Chip” Networks No legacy protocols to be compliant with No software simple and hardware efficient protocols Different operating environment (no dynamic changes and failures) Custom Network Design – You design what you need!

M odule

M odule M odule

M odule M odule

M odule M odule

M odule

M odule

M odule

M odule

M odule

Replace

M odule

M odule M odule

M odule M odule

M odule M odule

M odule

M odule

M odule

M odule

M odule

Example1: Replace modules

Page 29: Ermandogan Noc

“On-Chip” vs “Off-Chip” Networks Traffic Patterns:

Poisson distribution in large scale networks More predictable in embedded systems Pre-Scheduling increases the speed of

transmissin and actual bandwidth

Page 30: Ermandogan Noc

THANK YOU!

Erman Doğan