itch.io is community of indie game creators and players

Devlogs

Creating a simple CPU. Work in progress.

Logical Path
A downloadable education simulator for Windows, macOS, and Linux

ALU, 2 registers, data bus and clock

8-bit D-type Register

Control block

Hi. I started build a simple CPU which we will use for our education course.

Don’t worry if it looks very difficult. We will study each component separately and in detail in a theoretical game mode.

Currently we have:

ALU (Arithmetic and Logic Unit)
It's supports this operations:

  • addition (A + B)
  • subtraction (A - B, B - A)
  • logical "or" (A | B)
  • logical "and" (A & B)
  • inversion (-A, -B)
  • logical "not" (!A, !B)

A and B register (8-bit D-type)
for store our data.
ALU uses this registers as operands.

8-bit Data bus
for transfer data between alu and our registers.

Control Block
which controls ALU and data bus.

Clock generator
for syncronize our circuit and registers.

Download Logical Path
Leave a comment