Home /Modules/cpu/CPU.md

CPU.md

lib/cpu/nintendo-switch/CPU.md · 46 line(s) · markdown

Nintendo Switch (ARM Cortex-A57) CPU

The SLeeLa Nintendo Switch (ARM Cortex-A57) profile models the processor as a 64-bit console SoC (ARM64) with a RISC general-purpose register file and an architectural, timing-oriented view of its execution.

Identity

FieldValueEvidence
FamilyNintendo Switch (ARM Cortex-A57)documented
Data width64-bitdocumented
External address width48-bitdocumented
Address space256 TiBderived from 48-bit addressing
Programmer registersAArch64 register model; NVIDIA Tegra X1 with ARM Cortex-A57 clusterdocumented
Rated clock (model)about 1020 MHzdocumented/representative
Cache (model)L1 + L2documented/architecture model
Integrated DMAYesdocumented/architecture model
MMU/TLBYesdocumented/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:

Cache, DMA and MMU objects are instantiated only where this part actually integrates them (see CACHE.md, DMA.md).

Variant rule

Nintendo Switch SoC is an NVIDIA Tegra X1 (ARM Cortex-A57). 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