Home /Modules/cpu/CACHE.md

CACHE.md

lib/cpu/6502/CACHE.md · 23 line(s) · markdown

6502 Cache

Cache hierarchy

The original 6502 has no conventional CPU cache hierarchy.

LevelPresentSLeeLa model
L1 instructionNoabsent
L1 dataNoabsent
L2Noabsent
L3Noabsent

Timing consequence

A memory access is modeled directly through the processor's bus interface. There is no cache-hit path that bypasses the external memory cycle.

This is important for the SLeeLa timing model: CPU clock cycles and memory/bus cycles remain observable rather than being hidden behind a cache abstraction.

Variant rule

Do not attach modern cache objects to 6502-derived profiles unless a specific derivative or surrounding processor actually contains such storage.