# vickiegpt/m3-chip-explainer architecture

> Architecture diagram of the GitHub repository vickiegpt/m3-chip-explainer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vickiegpt/m3-chip-explainer
- Repository: https://github.com/vickiegpt/m3-chip-explainer

## Overview

This repository is an Apple M3 architecture explainer, not an executable application. A reader starts at the overview and follows its CPU, GPU, and Neural Engine sections; the documented result is a tour of their capabilities and how they connect through the SoC and shared memory. The README also describes the NoC, memory controller, SLC, and unified memory as internal architecture. Only the README was provided as source evidence, so links to detailed subsystem documents are limited to relationships it explicitly documents.

Main entry points: [`README.md`](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md) (M3 Overview), [`gpu/README.md`](https://github.com/vickiegpt/m3-chip-explainer/blob/main/gpu/README.md) (GPU Architecture), [`neural-engine/README.md`](https://github.com/vickiegpt/m3-chip-explainer/blob/main/neural-engine/README.md) (Neural Engine), [`cpu/README.md`](https://github.com/vickiegpt/m3-chip-explainer/blob/main/cpu/README.md) (CPU Architecture)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cpu["CPU Architecture"]
  node_cpu_arch["CPU Architecture<br/>[README.md]"]
  node_cpu_prefetch["Hardware Prefetchers"]
end

subgraph group_gpu["GPU Architecture"]
  node_gpu_arch["GPU Architecture<br/>[README.md]"]
  node_dynamic_cache["Dynamic Caching<br/>[README.md]"]
  node_ray_tracing["Hardware Ray Tracing<br/>[README.md]"]
  node_mesh_shaders["Mesh Shaders<br/>[README.md]"]
end

subgraph group_neural["Neural Engine"]
  node_neural_arch["Neural Engine<br/>[README.md]"]
  node_amx["AMX<br/>[amx.md]"]
end

subgraph group_soc["SoC and Memory"]
  node_cpu_clusters["CPU Clusters<br/>[README.md]"]
  node_noc["Network on Chip<br/>[README.md]"]
  node_slc[("System Level Cache<br/>[README.md]")]
  node_memory_controller["Memory Controller<br/>[README.md]"]
  node_unified_memory[("Unified Memory<br/>[README.md]")]
  node_gpu_unit["GPU<br/>[README.md]"]
  node_ane_unit["ANE<br/>[README.md]"]
  node_media_engines["Media Engines<br/>[README.md]"]
end

node_reader(("Reader"))
node_overview["M3 Overview<br/>[README.md]"]

node_reader -->|"reads"| node_overview
node_overview -->|"links to"| node_cpu_arch
node_overview -->|"links to"| node_gpu_arch
node_overview -->|"links to"| node_neural_arch
node_overview -->|"covers"| node_cpu_prefetch
node_gpu_arch -->|"features"| node_dynamic_cache
node_gpu_arch -->|"features"| node_ray_tracing
node_gpu_arch -->|"supports"| node_mesh_shaders
node_neural_arch -->|"covers"| node_amx
node_cpu_clusters -->|"connects via"| node_noc
node_gpu_unit -->|"connects via"| node_noc
node_ane_unit -->|"connects via"| node_noc
node_noc -->|"connects to"| node_memory_controller
node_memory_controller -->|"accesses"| node_unified_memory
node_cpu_clusters -->|"uses"| node_slc
node_gpu_unit -->|"uses"| node_slc
node_noc -->|"connects"| node_media_engines
node_ane_unit -->|"connects via"| node_memory_controller

click node_overview "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_cpu_arch "https://github.com/vickiegpt/m3-chip-explainer/blob/main/cpu/README.md"
click node_cpu_prefetch "https://github.com/vickiegpt/m3-chip-explainer/tree/main/cpu"
click node_gpu_arch "https://github.com/vickiegpt/m3-chip-explainer/blob/main/gpu/README.md"
click node_dynamic_cache "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_ray_tracing "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_mesh_shaders "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_neural_arch "https://github.com/vickiegpt/m3-chip-explainer/blob/main/neural-engine/README.md"
click node_amx "https://github.com/vickiegpt/m3-chip-explainer/blob/main/neural-engine/amx.md"
click node_cpu_clusters "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_noc "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_slc "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_memory_controller "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_unified_memory "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_gpu_unit "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_ane_unit "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"
click node_media_engines "https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_cpu_arch,node_cpu_prefetch,node_overview toneBlue
class node_gpu_arch,node_dynamic_cache,node_ray_tracing,node_mesh_shaders toneAmber
class node_neural_arch,node_amx toneMint
class node_cpu_clusters,node_noc,node_slc,node_memory_controller,node_unified_memory,node_gpu_unit,node_ane_unit,node_media_engines toneRose
class node_reader toneIndigo
```

## Components

### CPU Architecture

- [CPU Architecture](https://github.com/vickiegpt/m3-chip-explainer/blob/main/cpu/README.md): `cpu/README.md`
- [Hardware Prefetchers](https://github.com/vickiegpt/m3-chip-explainer/tree/main/cpu): `cpu`

### GPU Architecture

- [GPU Architecture](https://github.com/vickiegpt/m3-chip-explainer/blob/main/gpu/README.md): `gpu/README.md`
- [Dynamic Caching](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`
- [Hardware Ray Tracing](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`
- [Mesh Shaders](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`

### Neural Engine

- [Neural Engine](https://github.com/vickiegpt/m3-chip-explainer/blob/main/neural-engine/README.md): `neural-engine/README.md`
- [AMX](https://github.com/vickiegpt/m3-chip-explainer/blob/main/neural-engine/amx.md): `neural-engine/amx.md`

### SoC and Memory

- [CPU Clusters](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`
- [Network on Chip](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`
- [System Level Cache](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`
- [Memory Controller](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`
- [Unified Memory](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`
- [GPU](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`
- [ANE](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`
- [Media Engines](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`

### Other components

- **Reader**
- [M3 Overview](https://github.com/vickiegpt/m3-chip-explainer/blob/main/README.md): `README.md`

## Connections

- Reader → M3 Overview: reads (evidence: `README.md`)
- M3 Overview → CPU Architecture: links to (evidence: `README.md`)
- M3 Overview → GPU Architecture: links to (evidence: `README.md`)
- M3 Overview → Neural Engine: links to (evidence: `README.md`)
- M3 Overview → Hardware Prefetchers: covers (evidence: `README.md`)
- GPU Architecture → Dynamic Caching: features (evidence: `README.md`)
- GPU Architecture → Hardware Ray Tracing: features (evidence: `README.md`)
- GPU Architecture → Mesh Shaders: supports (evidence: `README.md`)
- Neural Engine → AMX: covers (evidence: `README.md`)
- CPU Clusters → Network on Chip: connects via (evidence: `README.md`)
- GPU → Network on Chip: connects via (evidence: `README.md`)
- ANE → Network on Chip: connects via (evidence: `README.md`)
- Network on Chip → Memory Controller: connects to (evidence: `README.md`)
- Memory Controller → Unified Memory: accesses (evidence: `README.md`)
- CPU Clusters → System Level Cache: uses (evidence: `README.md`)
- GPU → System Level Cache: uses (evidence: `README.md`)
- Network on Chip → Media Engines: connects (evidence: `README.md`)
- ANE → Memory Controller: connects via (evidence: `README.md`)
