GithubHelp home page GithubHelp logo

dagelf / minimal-uart-cpu-system Goto Github PK

View Code? Open in Web Editor NEW

This project forked from slu4coder/minimal-uart-cpu-system

0.0 0.0 0.0 5.77 MB

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

Python 100.00%

minimal-uart-cpu-system's Introduction

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

minimal-uart-cpu-system's People

Contributors

slu4coder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.