Home /Modules/cpu/CPU.md

CPU.md

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

Sega Dreamcast (SH-4) CPU

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

Identity

FieldValueEvidence
FamilySega Dreamcast (SH-4)documented
Data width32-bitdocumented
External address width32-bitdocumented
Address space4 GiBderived from 32-bit addressing
Programmer registersHitachi SH-4 register model (R0-R15 banked, PC, SR, FP bank) with on-chip cache and MMUdocumented
Rated clock (model)about 200 MHzdocumented/representative
Cache (model)L1documented/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

Sega Dreamcast main CPU is a Hitachi SH-4. 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