1. The Interconnect Bottleneck in Multi-Core Silicon
As semiconductor manufacturing progressed into deep sub-micron nodes, transistor switching times decreased dramatically, but electrical interconnect wires scaled poorly:
- RC Wire Delay: Thinner, tightly packed metal lines experience increased resistance (R) and parasitic capacitance (C).
- Bus Contention: Connecting 32, 64, or 128 processor cores to a single shared electrical bus causes severe arbitration bottlenecks, starving cores of memory bandwidth.
To scale multi-core CPUs and GPUs, chip designers adopted networking principles: building micro-scale packet-switched networks directly on silicon, known as Networks on Chips (NoC).
§
2. NoC Topologies & Routing
Instead of long continuous wires spanning the entire chip, each core or cache tile is paired with an on-chip micro-router:
- 2D Mesh Topology: Routers are arranged in a regular grid, with each node connected to its North, South, East, and West neighbors.
- Dimension-Order $X$-$Y$ Routing: Packets are routed strictly along the horizontal X-axis until reaching the destination column, then routed vertically along the Y-axis. This simple, non-adaptive algorithm mathematically prevents cyclic routing deadlocks.
- Torus Topology: Adds wraparound links between the outer edges of the mesh, cutting the maximum network diameter in half.
§
3. Wormhole Switching & Flits
Because silicon die area is expensive, on-chip routers cannot afford large packet buffer memories. They use Wormhole Switching:
- Packets are sliced into small Flits (Flow Control Units):
- 1Head Flit: Carries destination routing metadata, traverses the path, and allocates router virtual channels.
- 2Body Flits: Follow immediately behind the head flit in a pipeline fashion across intermediate routers.
- 3Tail Flit: Closes the transaction and deallocates channel resources.