Computers power everything from phones and laptops to cars and planes. However, they have always been magical blackboxes to most people. If you are interested in understanding exactly how the magic works under the hood, this book is for you. We will guide you through the fundamentals of computing by creating a 16-bit computer from scratch. To make the design and test of our computer easier, we will construct it virtually in the browser using a Hardware Description Language called Sim. You can print the circuits we designed physically and create a real version of our computer but that's not the focus of this book. The purpose of this book is to guide you through crafting a general computer without being bogged down by the nuisances of the electric hardware. Don't worry too much, we will start simple and slow at first and gradually release the joy of explorations and creations to you after learning the basics.
Here's a roadmap for building our computer:
Arithmetic Logic Unit
Central Processing Unit
You can follow the tutorials and build the circuits using the online Sim editor. All progress are saved automatically so you can pause and resume work anytime.
Thanks to all the wonderful projects below that inspired Crafting Computer: