← All Projects
Completed
November – December 2025

CircuitCat — Open Source Digital Circuit Design Teaching Program & Simulator

Digital Logic Education Open Source Simulator Computer Organization

Overview

CircuitCat is an open source interactive educational program designed to teach the fundamentals of digital circuit design, from basic logic gates through Arithmetic Logic Unit (ALU) construction and the principles of computer organization. The curriculum is delivered through guided mini-lessons narrated by a cat mascot, and the program includes a full circuit sandbox simulator where students can build and test their own circuits.

Background

Digital logic and computer organization are foundational topics in computer science and computer engineering education, yet they can be difficult to learn through textbooks alone. The gap between the abstract (truth tables, Boolean algebra) and the concrete (how a CPU adds two numbers) is wide, and many students struggle to bridge it without hands-on experimentation.

Existing tools like Logisim are powerful but have steep learning curves for beginners. CircuitCat was designed with a different philosophy: start with narrative-driven lessons that guide students through a carefully sequenced set of concepts, then transition to open-ended exploration in the simulator once students have built enough scaffolding to experiment meaningfully.

The cat mascot was chosen to create a friendly, low-stakes learning environment. The name "CircuitCat" reflects the combination of circuits and the mascot, and provides a memorable brand for an otherwise dry technical subject.

Curriculum and Simulator

The lesson curriculum covers:

The simulator supports drag-and-drop placement of gates and components, wire drawing with correct signal propagation, clock stepping for sequential circuits, and a probe tool for inspecting signal values anywhere in a circuit.

Discussion

The most challenging aspect of building CircuitCat was the simulator's signal propagation engine. Digital circuits can contain feedback loops (e.g., in latches and flip-flops), which means a naive level-based evaluation algorithm will either loop infinitely or produce incorrect results. The simulator uses a queue-based event-driven propagation model that correctly handles combinational feedback and settles to stable states.

The pedagogical sequencing—deciding which concepts to introduce in which order, and at what point to remove training wheels and let students explore freely—required as much design work as the software itself.

Interactive Playground

An embedded version of the CircuitCat simulator is planned for this page. Check back later.