9. TileLink and Diplomacy Reference
TileLink is the cache coherence and memory protocol used by RocketChip and
other Chipyard generators. It is how different modules like caches, memories,
peripherals, and DMA devices communicate with each other.
RocketChip’s TileLink implementation is built on top of Diplomacy, a framework
for exchanging configuration information among Chisel generators in a two-phase
elaboration scheme. For a detailed explanation of Diplomacy, see the paper
by Cook, Terpstra, and Lee.
A brief overview of how to connect simple TileLink widgets can be found
in the MMIO Peripherals section. This section will provide a
detailed reference for the TileLink and Diplomacy functionality provided by
A detailed specification of the TileLink 1.7 protocol can be found on the