Home / Learn / Chiplets and Memory / What Is a Network-on-Chip (NoC)?
On this page
Why chips need networksHow it worksThe building blocksTopologyRoutingFlow controlQuality of serviceAdvantagesCostsBus and network comparedWhere it is usedBeyond a single dieObtaining oneCommon questionsRelated guidesWhat Is a Network-on-Chip (NoC)?
A network-on-chip, or NoC, is a small packet-switched network built inside a chip to carry data between its cores, memories and other blocks. In place of a shared bus or a tangle of dedicated wires, it uses routers and links, much like a computer network in miniature. It is the standard way to connect the parts of a large chip, because it scales to many more blocks than a bus can and makes the chip’s wiring more regular and predictable.
Why chips need networks
Early chips had a handful of blocks. They could be connected by a shared bus: a common set of wires that every block attaches to, with one block using it at a time.
As chips grew to dozens and then hundreds of blocks, that approach broke down.
- A bus is a bottleneck. Only one transfer can happen at a time.
- It does not scale electrically. The more blocks attached, the longer and slower the wires.
- Point-to-point wiring explodes. Connecting every block directly to every other needs a number of wires that grows with the square of the block count.
- Long wires are a problem for timing and power on modern processes.
A network solves these by breaking communication into short hops between routers.
How it works
Data is divided into packets. Each packet carries the address of its destination. It enters the network at one point, passes through a series of routers, each of which forwards it one step closer, and leaves at its destination.
Many packets can be in transit at once on different links. The wires between routers are short, which keeps them fast.
The building blocks
- Routers, sometimes called switches. Each has several ports, decides where an incoming packet should go and forwards it.
- Links. The wires joining routers.
- Network interfaces. Adapters that connect each block to the network, converting the block’s native bus protocol into packets and back.
- Buffers. Small memories in the routers that hold packets waiting for a link.
Because blocks attach through standard interfaces, they do not need to know anything about the network’s internals. A block designed for a standard on-chip bus protocol can be connected without modification.
Topology
Topology is the pattern in which routers are connected.
| Topology | Description | Characteristics |
|---|---|---|
| Mesh | A grid, each router joined to its neighbors | Regular, easy to lay out, widely used |
| Torus | A mesh with the edges wrapped around | Shorter average distance, longer wrap-around wires |
| Ring | Routers in a loop | Simple, limited scalability |
| Tree | Hierarchical branches | Good for traffic that flows to a common point |
| Custom | Designed for a specific chip’s traffic | Most efficient for that chip, least regular |
General-purpose manycore chips tend to use regular topologies such as meshes. System-on-chip designs with a fixed set of varied blocks often use custom topologies generated by tools from a description of who talks to whom.
Routing
Routing decides the path a packet takes.
- Deterministic routing always sends a packet between two given points along the same path. A common scheme in a mesh travels fully in one dimension, then the other. It is simple and predictable.
- Adaptive routing chooses among paths according to congestion. It can balance load better and is more complex.
A routing scheme must avoid deadlock, a situation in which packets block each other in a cycle and none can move.
Flow control
Flow control governs how packets advance from router to router and what happens when the way ahead is full. Packets are typically divided into smaller units, and a router forwards the first unit as soon as it knows where the packet is going, without waiting for the rest. This keeps delay low.
When a buffer is full, the upstream router is told to hold. Many networks also provide several logical channels over each physical link, which helps avoid one blocked packet holding up others.
Quality of service
Not all traffic is equally urgent. A network-on-chip can provide different treatment for different classes.
- Priorities, so that time-critical traffic goes first.
- Guaranteed bandwidth or latency for selected flows.
- Isolation, so that one block’s heavy traffic does not starve another.
This matters in real-time and safety-critical systems, where some communication must meet deadlines.
Advantages
- Scalability. Adding blocks means adding routers, with no central bottleneck.
- Parallelism. Many transfers proceed at once.
- Short, regular wires. Better timing and easier physical design.
- Modularity. Blocks connect through standard interfaces and can be reused.
- Predictability. Timing is easier to analyze than with long ad hoc wires.
- Configurability. Tools can generate a network suited to a particular chip.
Costs
- Area. Routers and buffers take space.
- Power. The network consumes energy, and in a large chip its share is significant.
- Latency. Each hop adds delay. Distant blocks communicate more slowly.
- Design complexity. Choosing topology, buffer sizes and routing well takes analysis.
- Verification. Proving that the network never deadlocks and meets its performance targets.
For a small chip with few blocks, a simple bus or direct connections remain cheaper and faster.
Bus and network compared
| Shared bus | Network-on-chip | |
|---|---|---|
| Simultaneous transfers | One | Many |
| Scales to many blocks | Poorly | Well |
| Wire length | Grows with the chip | Short, between neighbors |
| Latency for nearby blocks | Low | Low |
| Latency for distant blocks | Depends on bus speed | Grows with hops |
| Area and power overhead | Low | Higher |
| Suitable for | Small designs | Large and manycore designs |
Where it is used
- Manycore processors, linking dozens to hundreds of cores.
- Large systems-on-chip in phones, cars and networking equipment, connecting processors, memories, accelerators and peripherals.
- AI accelerators, distributing data among compute arrays, memory and interfaces.
- FPGAs, some of which now include hardened networks.
Beyond a single die
When a system is split across several chiplets, the on-chip network has to extend across the boundaries between them. Die-to-die interfaces carry its traffic from one die to the next. Networks are also being designed for 3D stacks, with routers that pass packets vertically.
Obtaining one
A network-on-chip is a specialized piece of design. Most teams license it as configurable IP, together with tools that generate the network from a specification of the chip’s blocks and traffic. What to look for includes support for the bus protocols the chip’s blocks use, quality-of-service features, the quality of the generation and analysis tools, and evidence from previous chips.
Common questions
What does NoC stand for?
Network-on-chip. It is a network of routers and links inside a chip that carries data between the chip’s blocks.
How is a network-on-chip different from a bus?
A bus is a shared set of wires that one block uses at a time. A network-on-chip routes packets over many separate links, allowing many transfers at once and scaling to far more blocks.
Do all chips have a network-on-chip?
No. Small chips with few blocks use simpler buses or direct connections. Networks-on-chip are used in large systems-on-chip and manycore processors.