Skip to content

AMBA AXI · Module 19

NoC / Interconnect Use

How AXI bridges into a Network-on-Chip at scale — why a crossbar doesn't scale to many masters/slaves, how AXI-to-NoC bridges packetize transactions onto a routed packet-switched fabric, how the NoC preserves AXI ordering and IDs across the network, and the scalability trade that makes NoCs the interconnect of large SoCs.

The interconnect chapters (Module 12) assumed a crossbar — direct switched paths between masters and slaves. That works for a handful of endpoints, but a large SoC has dozens to hundreds of masters and slaves (many cores, GPUs, accelerators, DMAs, memory controllers, peripherals), and a full crossbar's cost grows roughly as the product of masters and slaves — quickly infeasible in wires, area, and timing. The solution at scale is a Network-on-Chip (NoC): a packet-switched fabric where transactions are packetized and routed across a network of links and switches, exactly like a miniature internet on the chip. AXI doesn't go away — it remains the endpoint protocol — but it bridges into the NoC: AXI-to-NoC bridges packetize AXI transactions onto the network and de-packetize them back to AXI at the destination. This chapter shows how AXI scales by bridging into a NoC, the central interconnect of large SoCs.

1. Why a Crossbar Doesn't Scale

A crossbar connects every master to every slave with dedicated switched paths, so its cost scales as roughly masters × slaves — wires, multiplexers, and arbitration all grow with the product. For 4 masters and 4 slaves that's fine; for 50 masters and 50 slaves it's 2500 paths — infeasible in wiring (routing congestion), area (the switch matrix), and timing (long cross-chip wires can't meet timing in one cycle). The crossbar also concentrates all traffic through one structure, a bandwidth and physical bottleneck. So beyond a modest endpoint count, the crossbar's quadratic cost makes it the wrong topology — large SoCs need a fabric whose cost scales better.

Crossbar cost scales as masters times slaves; large counts cause wiring congestion, area blowup, and timing failure; a bottleneck.Crossbarevery M to every SCost ~ M × Squadratic50×50 = 2500 pathsinfeasibleWiring congestion+ area + timingSingle bottleneckall traffic funneledNeed a fabricthat scales better12
Figure 1 — why a crossbar doesn't scale. A crossbar gives every master a switched path to every slave, so its cost (wires, muxes, arbitration) scales as roughly masters × slaves — fine for a few endpoints, infeasible for dozens-to-hundreds. At 50×50 that's 2500 paths: routing congestion (wiring), a huge switch matrix (area), and long cross-chip wires that can't close timing in one cycle. The crossbar also funnels all traffic through one structure (a bottleneck). Beyond a modest endpoint count, the quadratic cost forces a better-scaling fabric.

2. The NoC: Packet-Switched, Routed Fabric

A Network-on-Chip replaces the crossbar with a network: a set of routers/switches connected by links in a topology (mesh, ring, tree), where transactions travel as packets routed hop-by-hop from source to destination — exactly like a packet-switched computer network, miniaturized onto silicon. Its cost scales much better than a crossbar: adding an endpoint adds a network interface and a link, not a path to every other endpoint, so cost grows roughly linearly with endpoints rather than quadratically. The NoC also provides distributed bandwidth (many links carry traffic concurrently, no single bottleneck) and modularity (endpoints attach to local routers). This is why large SoCs use NoCs — they're the only interconnect topology that scales to many endpoints.

NoC: routers connected by links in a mesh; packets routed hop-by-hop; linear cost scaling; distributed bandwidth; modular endpoints.Routers + linksmesh/ring/treePackets routedhop-by-hopLinear scaling+endpoint = +linkDistributedbandwidthconcurrent linksModularattach to local routerScales to manythe SoC fabric12
Figure 2 — the NoC: a packet-switched, routed fabric. Routers/switches connected by links in a topology (mesh/ring/tree); transactions travel as packets routed hop-by-hop from source to destination, like a miniature packet-switched network on silicon. Cost scales roughly linearly with endpoints (each adds a network interface + a link, not a path to every other endpoint), versus the crossbar's quadratic cost. The NoC provides distributed bandwidth (many links carry traffic concurrently — no single bottleneck) and modularity, which is why large SoCs use it.

3. The AXI-to-NoC Bridge: Packetization

AXI doesn't disappear in a NoC — it stays the endpoint protocol (masters and slaves still speak AXI), but it bridges into the network. An AXI-to-NoC bridge (a network interface) at each endpoint packetizes AXI transactions: it takes an AXI transaction (address, data, ID, control) and encapsulates it into one or more network packets with a routing header (destination derived from the address), injects them into the NoC, and at the destination a matching bridge de-packetizes back into an AXI transaction delivered to the slave. The response travels back as packets the same way. So AXI is tunneled over the NoC: endpoints see plain AXI, the network sees packets, and the bridges translate between them — decoupling the endpoint protocol from the transport fabric.

AXI transaction packetized by bridge into routed packets, traverse NoC, de-packetized back to AXI at destination; response same way.injectdeliverAXI transaction(master)Bridge: packetize +routing headerNoC routes packetshop-by-hopBridge:de-packetize →AXI (slave)Responsepacketized backthe same way
Figure 3 — the AXI-to-NoC bridge packetizes transactions. AXI stays the endpoint protocol; at each endpoint a network-interface bridge packetizes an AXI transaction (address/data/ID/control) into network packets with a routing header (destination from the address decode), injects them into the NoC, and a matching bridge at the destination de-packetizes back to AXI for the slave. The response returns as packets the same way. AXI is tunneled over the NoC — endpoints see plain AXI, the network sees packets, bridges translate — decoupling the endpoint protocol from the transport fabric.

4. Preserving AXI Semantics Across the Network

The hard part of bridging AXI over a NoC is preserving AXI's semantics across a packet network that, by itself, has none of them. Ordering: AXI requires same-ID responses in order, but a NoC may route packets along different paths with different latencies (reordering them), so the bridges/network must restore per-ID ordering at the destination — typically by routing same-ID traffic deterministically or reordering at the endpoint. IDs: the NoC must carry enough information to return responses to the right master with the right AXI ID (like interconnect ID remapping, but across the network). Deadlock: the network must avoid routing/dependency deadlocks (separate virtual channels for requests vs. responses, so a response isn't stuck behind a request). QoS: the NoC carries mixed traffic (latency-critical CPU, throughput DMA) and must arbitrate fairly across the fabric. So the NoC must reconstruct the AXI guarantees the raw packet network lacks.

NoC must restore AXI semantics: per-ID ordering, ID routing, deadlock-free virtual channels (req/resp), QoS across mixed traffic.Orderingsame-ID despite multi-pathIDs across networkresponses to right masterDeadlock-freereq/resp virtual channelsQoSfair across mixed traffic12
Figure 4 — preserving AXI semantics across a packet network. A raw NoC has none of AXI's guarantees, so the bridges/network must reconstruct them: ordering (same-ID responses in order despite multi-path routing — via deterministic routing or endpoint reordering); IDs (carry enough to return responses to the right master with the right AXI ID, like remapping across the network); deadlock-freedom (separate virtual channels for requests vs. responses so a response isn't stuck behind a request); and QoS (fair arbitration across mixed CPU/DMA traffic). The challenge of AXI-over-NoC is restoring the protocol's semantics the packet fabric lacks.

5. Common Misconceptions

6. Debugging Insight

7. Verification Insight

8. Interview Questions

9. Summary

At scale, the AXI interconnect becomes a Network-on-Chip. A crossbar gives every master a path to every slave, so its cost scales as masters × slaves (quadratic) — infeasible for the dozens-to-hundreds of endpoints in a large SoC (wiring congestion, area, timing). A NoC replaces it with a packet-switched, routed fabric (routers + links in a mesh/ring/tree) where transactions travel as routed packets; its cost scales roughly linearly with endpoints, with distributed bandwidth and modularity, making it the interconnect of large chips. AXI doesn't disappear — it remains the endpoint protocol, bridging into the NoC via network interfaces that packetize AXI transactions onto the network and de-packetize them back; AXI is tunneled over the packet fabric (endpoints see plain AXI, the network sees packets, bridges translate).

The hard part — and the lesson — is that a raw packet network has none of AXI's guarantees, so the bridges/network must reconstruct them: per-ID ordering (multi-path routing reorders, so restore via deterministic routing or endpoint reordering), ID-correct response return (interconnect ID-remapping generalized across the network), deadlock-freedom (virtual channels separating requests from responses + deadlock-free routing), and QoS (fair arbitration across the fabric for mixed CPU/DMA traffic). So interconnect design at scale becomes network design (topology, routing, virtual channels, congestion, QoS), with AXI's guarantees as constraints the network must meet — and the architect becomes a network architect who keeps endpoints simple AXI while engineering the fabric to preserve the contract. The enabling insight: AXI is transport-independent at the endpoint — its clean, self-describing transaction model is exactly what's packetizable — so the same protocol scales from a small crossbar to a hundred-endpoint NoC by moving its guarantees into the network. Next, a concrete peripheral integration end-to-end.

10. What Comes Next

You've seen AXI scale to a network; next, a concrete peripheral integration:

  • 19.6 — Peripheral Integration (coming next) — integrating a real AXI peripheral end-to-end, grounding the interconnect and case-study concepts in a concrete bring-up.

Previous: 19.4 — AXI4-Stream Video Pipeline. Related: 12.1 — AXI Interconnect Overview and 12.2 — Crossbar Architecture for the crossbar this scales beyond, and 12.6 — Multiple Managers & Subordinates for the many-endpoint problem.