simulate-cpu-architecture

Installation
SKILL.md

Simulate CPU Architecture

Design a minimal but complete CPU by defining an instruction set architecture, composing an ALU and register file into a datapath, designing a control unit that generates the correct signals for each instruction phase, implementing the fetch-decode-execute cycle, simulating a small program to completion, and verifying every clock cycle against expected register and memory state.

When to Use

  • Learning or teaching computer architecture from first principles
  • Designing a custom processor for an FPGA or educational simulator
  • Verifying understanding of how instructions execute at the gate and register-transfer level
  • Building a software simulation (Python, JavaScript, or structured walkthrough) of a CPU
  • Composing the combinational blocks from design-logic-circuit and the sequential blocks from build-sequential-circuit into a working system

Inputs

Installs
1
GitHub Stars
31
First Seen
Mar 18, 2026
simulate-cpu-architecture — pjt222/agent-almanac