Home /Modules/cpu/CPU.md

CPU.md

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

Sega Mega-CD (68000) CPU

The SLeeLa Sega Mega-CD (68000) profile models the processor as a 16/32-bit add-on CPU (68000) with a CISC named/split register set and an architectural, timing-oriented view of its execution.

Identity

FieldValueEvidence
FamilySega Mega-CD (68000)documented
Data width32-bitdocumented
External address width24-bitdocumented
Address space16 MiBderived from 24-bit addressing
Programmer registers68000 register model (D0-D7, A0-A7, PC, SR); second 68000 in the Mega-CD unitdocumented
Rated clock (model)about 13 MHzdocumented/representative
Cache (model)Nonedocumented/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 Mega-CD adds a second Motorola 68000 alongside the Genesis 68000. 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