Skip to content

NEW REVISION 1.5 featuring an expansion port, 512KB SSD and 3.6864MHz clock speed

Notifications You must be signed in to change notification settings

opain-replika/Minimal-UART-CPU-System

 
 

Repository files navigation

Minimal UART CPU System - Revision 1.5 Out Now!

NEWS: Native assembler and text editor released!

NEWS: User Manual and Reference: https://docs.google.com/document/d/1c2ZHtLd1BBAwcBAjBZZJmCA3AXpbpv80dlAtsMYpuF4/edit?usp=sharing

NEWS: There is a new revision 1.5 out now featuring 512KB FLASH SSD, 3.6864MHz clock speed and an expansion port! https://www.youtube.com/watch?v=osVi06VKvA0

NEWS: Minimal Python Assembler released: https://www.youtube.com/watch?v=rdKX9hzA2lU

NEWS: The Minimal CPU System now has a dedicated hardware serial 'Minimal Terminal': https://github.com/slu4coder/Minimal-Terminal but can also be operated via a USB-to-serial breakout board and a terminal emulation (e. g. Tera Term) of cause.

I've built my own Computer from scratch - using nothing but TTL chips, because, well, why not? I wanted a CPU that is easy to understand, fun to build and powerful enough to allow for programming educational stuff and little games on it. Ah, and by the way - it should be as simple as possible - sort of the "Simplest Usable Personal Computer". This repo provides you with everything you need to follow my one-and-a-half-year journey down this rabbit hole. Besides running some video game classics, this little DIY CPU is capable of parsing arbitrary mathmatical expressions and performing floating point calculations in single (32-bit) precision. And it comes with an SSD file system, too, since it uses it's own FLASH IC as permanent SSD storage.

WHAT YOU GET:

● Block diagram of the CPU and overview it's instruction set

● KiCAD project files with detailed schematics and PCB layout

● Gerber files ready to be submitted at any PCB manufacturer of your choice

● Bill of material

● Images in .bin format of both the ROM and the CPU's control microcode

● Source code of the minimal operating system MinOS and several demos and games

● Cross-assembler 'asm.exe' running on Windows (or Python) to comfortably write, assemble and upload your own software

TECHNICAL SPECIFICATION:

● Processing power (approx. 0.5Mips @ 3,6864MHz) comparable to C64 or Apple II

● Clear(est?) and simple(st? – you judge!) design for fun and education

● 8-bit data bus, 16-bit address bus, Von-Neumann architecture

● 64 instructions (conditional branching, subroutines, stack and word ops)

● 32KB RAM / 512KB FLASH ROM (OS, memory monitor, disassembler, tools)

● SSD file system (commands LOAD, SAVE, DIR, DELETE, FORMAT as you'd expect)

● UART interface (up to 230.4kbps) for terminal display, keyboard input and file I/O

● 16 control signals, 2 registers A and B, ALU (arithmetic and logic unit) = simple adder, 3 flags (negative, carry and zero)

● Built from 74HCxx TTL logic on 120mm x 190mm PCB

I hope you find this information useful, educational or otherwise interesting. I'd love to hear about you build, so meet me on YouTube.

https://www.youtube.com/channel/UCXYQcMpUBT3aaQKfmAVJNow

Have fun! slu4

About

NEW REVISION 1.5 featuring an expansion port, 512KB SSD and 3.6864MHz clock speed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%