Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hmm, I see - how do the opcodes work and jumping then? Do you also read them bit-by-bit and reconfigure the ALU / codepaths? Is addressing also single-bit?


Here's a 16-bit bit-serial computer I made and tested on an FGPA https://github.com/howerj/bit-serial. If you look at `bit.c` it looks like an ordinary 16-bit Accumulator based Virtual Machine with a few odd instructions that make more sense when you know how a bit serial CPU works, nothing special about it. However the VHDL in `bit.vhd` shows how all those instructions are processed in a bit serial fashion, how data is fetched and stored in shift registers, etcetera.

The bit serial CPU in `bit.vhd` is actually customizable, you can make a 32-bit, a 14-bit, or a 27-bit CPU if you want from that VHDL quite easily.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: