# Apple M4 (ARM64) CPU The SLeeLa Apple M4 (ARM64) profile models the processor as a 64-bit desktop SoC (ARM64) with a RISC general-purpose register file and an architectural, timing-oriented view of its execution. ## Identity | Field | Value | Evidence | |---|---|---| | Family | Apple M4 (ARM64) | documented | | Data width | 64-bit | documented | | External address width | 48-bit | documented | | Address space | 256 TiB | derived from 48-bit addressing | | Programmer registers | AArch64 register model with updated P/E cores and shared system-level cache | documented | | Rated clock (model) | about 4400 MHz | documented/representative | | Cache (model) | L1 + L2 | documented/architecture model | | Integrated DMA | Yes | documented/architecture model | | MMU/TLB | Yes | documented/architecture model | The profile is a functional model: enough register, memory and timing structure to run the CPU and host SLeeLa/C/C++ workloads, not a cycle-accurate silicon recreation. ## SLeeLa modeling The profile composes the shared CPU objects: - SLAppleM4CPU (extends SLCPURuntime) - SLClock - SLRegisterFile - SLALU - SLInstructionDecoder - SLIOBus - SLIOTiming - SLInterruptController Cache, DMA and MMU objects are instantiated only where this part actually integrates them (see CACHE.md, DMA.md). ## Variant rule Fourth-generation Apple M desktop SoC. Do not silently merge variant-specific I/O, cache, addressing or opcode behavior into this base model. See SPECIFICATION.md for the detailed model. ## Sources - https://en.wikipedia.org/wiki/Apple_M4 - https://en.wikipedia.org/wiki/Apple_silicon