Home /Modules/cpu/CPU.md

CPU.md

lib/cpu/sega-saturn/CPU.md · 46 line(s) · markdown

Sega Saturn (SH-2) CPU

The SLeeLa Sega Saturn (SH-2) profile models the processor as a 32-bit console main CPU (dual SH-2) with a RISC general-purpose register file and an architectural, timing-oriented view of its execution.

Identity

FieldValueEvidence
FamilySega Saturn (SH-2)documented
Data width32-bitdocumented
External address width32-bitdocumented
Address space4 GiBderived from 32-bit addressing
Programmer registersHitachi SH-2 register model (R0-R15, PC, SR, GBR, VBR); two SH-2 cores in paralleldocumented
Rated clock (model)about 29 MHzdocumented/representative
Cache (model)L1documented/architecture model
Integrated DMAYesdocumented/architecture model
MMU/TLBNodocumented/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

Sega Saturn uses two Hitachi SH-2 processors working in parallel. 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