Show HN: Bit Serial CPU
github.com
github.com
The cross-compiler and the cross compiled program, a [Forth][] interpreter, are available at:
<https://github.com/howerj/bit-serial/blob/master/bit.fth>
It compiles down to an image that uses just 4802 bytes (out of 16KiB).
And a C simulator if you would like to try out the Forth interpreter but lack an FPGA to try things on is available at:
<https://github.com/howerj/bit-serial/blob/master/bit.c>
You can type:
make run
To build the C simulator and run it on a pre-compiled image. Typing 'words' and hitting return shows you a list of all defined functions.
In all likeliness the project will not have that much utility to anyone, but I have wanted to make a bit-serial CPU after completing my previous FPGA project because the architecture is quite rare nowadays and might be something of a curiosity.
[bit-serial]: https://en.wikipedia.org/wiki/Bit-serial_architecture
[Forth]: https://en.wikipedia.org/wiki/Forth_(programming_language)
[FPGA]: https://en.wikipedia.org/wiki/Field-programmable_gate_array
BTW, there is a RISC-V bit-serial CPU (so you can use GCC):
I don't know how big, but they are certainly targeting tiny FPGAs.
CM-5 had a dual connection architecture as well as featuring SPARC CPUs on the nodes.
The Datapoint 2200 desktop computer (whose architecture became the Intel 8008) used a serial processor for similar reasons. Except this time the processor was built from TTL chips instead of tubes and the memory was Intel shift-register memory chips. (Shift register memory could be built cheaper than RAM memory, but with the disadvantage that you had to wait for the bit you wanted to circulate through the shift register.)