Home /Modules/cpu/CIRCUIT.md

CIRCUIT.md

lib/cpu/sega-master-system/CIRCUIT.md · 46 line(s) · markdown

Sega Master System (Z80) Circuit Model

Scope

This document describes the architectural circuit blocks SLeeLa models reliably for the Sega Master System (Z80). It is not a transistor-for-transistor recreation.

Major blocks

  1. Register section
    • Z80 register model (AF, BC, DE, HL + alternates, IX, IY, SP, PC)
  1. ALU
    • arithmetic;
    • logic;
    • shifts/rotates;
    • flag generation.
  1. Address path
    • 16-bit address formation;
    • address latches;
    • effective-address computation.
  1. Data path
    • 8-bit data latch;
    • internal data movement;
    • external data bus buffer.
  1. Control
    • instruction register;
    • instruction decode;
    • timing control;
    • interrupt logic.
  1. Clock
    • clock input;
    • phase sequencing.

Accuracy boundary

Gate-level or transistor-level detail should be added only from sufficiently reliable die analysis or a validated hardware recreation. This profile stays at the architectural/behavioral/timing level.

Sources