https://msyksphinz-en.hatenablog.com/entry/2025/03/05/040000msyksphinz-en.hatenablog.com
The Coherent Hub Interface (CHI) is an evolution of the ACE (AXI Coherency Extensions) protocol.
CHI Protocol Basics:
First, I summarize the types of nodes and how they communicate. After that, I describe the protocol messages (flits).
What Is a Node?
- Request Node (RN): Generates request transactions such as reads and writes. These requests are sent to a Home Node (HN).
- Full Coherent Request Node (RN-Fs): Has a coherent cache, and accepts and responds to snoops.
- I/O Coherent Request Node (RN-Is): Has no coherent cache and cannot accept snoops.
- I/O Coherent Request Node with DVM support (RN-Ds): Has the same functionality as RN-Is and can accept DVM messages.
- Home Node (HN): Can be fully coherent, non-coherent, or something else.
- Coherent Home Node (HN-Fs): Sends all requests to coherent memory and sends snoop requests to RN-Fs.
- Non-Coherent Home Node (HN-Is): Sends requests to the I/O subsystem.
- Miscellaneous Node (MNs): Processes DVM messages sent from request nodes. This node is implemented as an HN-D node.
- Subordinate Nodes (SN-Fs): There are SNs for normal memory, and SNs for peripherals and normal memory.
- SN-Fs: Connect to memory devices that back the coherent memory space. For example, memory controllers are connected to SN-Fs.
- An SN-F for peripherals or normal memory is connected to I/O peripherals or non-coherent memory.
The following table summarizes the behavior of each node category:
| - | RN-F, HN-F, SN-F | RN-I, HN-I, SN-I | I/O Coherent DVM Support | MN |
|---|---|---|---|---|
| RN | Coherent cache | No coherent cache | Accepts DVM messages | - |
| RN | Accepts and responds to snoops | Does not accept or respond to snoops | Otherwise the same as RN-I | - |
| HN | Issues requests to coherent memory | Issues requests targeting the I/O subsystem | - | Processes DVM transactions sent from RNs. |
| HN | Issues snoops to RN-F | - | - | - |
| SN | Connects to memory devices that back the coherent memory space | Connects to I/O peripherals or non-coherent memory. | - | - |
This is an English translation of the original Japanese post: キャッシュコヒーレンスを管理するバスプロトコルの勉強 (6. CHIのノードについて)