Skip to content

bluecube/pickle_risc

Repository files navigation

Pickle RISC 16bit CPU

... so I would like to build a computer, this time a little closer to "from scratch".

Goals

  • Fun!
  • Aiming for a poorly defined balance between "easy to build" and "not too slow"
  • Can run a multitasking OS
  • Serve web site about itself (like Magic-1 does)
  • Serial console interface
  • Run at ~2MHz clock
    • 4MHz as a stretch goal :)
  • Most instruction single cycle
  • Probably RPi as a peripherial device, emulating a GPU, network card, storage, serial terminal...

State

  • Instruction set
    • Kind of done, still being tweaked to match the HW limitations and to improve proramming experience
  • HW design
    • Slightly more than a fuzzy idea of how stuff should should go together
    • The block diagram shows most of the general idea
    • There is a design document that contains some (incomplete) information
  • SW
    • Skeleton of a toolchain written in Rust (toolchain-rs/)
    • Lisp interpreter is planned as a shell
      • Probably loosely based on Make a Lisp
      • Compiler as a stretch goal

Links

Inspiration

Instruction set

  • ARM Thumb Instruction set
  • AVR instruction set

Peripherials

The rest

About

Playing around with a DIY CPU architecture, no hardware yet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published