• Stars
    star
    297
  • Rank 140,075 (Top 3 %)
  • Language
  • Created almost 3 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A CPU implemented in a modular synthesizer

A CPU implemented in an analog modular synthesizer

This runs in the VCV Rack eurorack simulator.

I wrote a thread explaining the CPU on twitter
and a thread explaining just the ripple adder.

TODO list: #1

Here's the unannotated screenshot and here's a video of the whole thing running

Instruction formats:

00000: no-op (clears bus)
10ooo: output ALU op to bus
010rr: load reg from bus (keeps bus)
110rr: output register to bus
0110n: load ALU operand (clears bus)
0111i: output immediate to bus

ooo = alu op
rr = register number
n = alu operand
i = immediate

Fetch and Decode

and a video of it running

Data bus

3-Stage Clock

A single register

Register bank

and a video of it running

Immediate value

ALU

Ripple carry adder