Nand to Tetris

This project contains the assignments from the course Building a Modern Computer from First Principles: From Nand to Tetris. All the chips were built with the hardware description language (HDL) provided by the course.

1 – Basic gates

XOR

2 – Boolean Arithmetic and the ALU

ALU

3 – Memory

RAM

4 – Machine Language

Study of this computer architecture’s machine code for better understanding of the assembly language used.

  • A instruction
    A

  • C instruction
    C

5 – Computer Architecture

Knowing how to operate with the provided machine code, the Hack Computer can be built with the previous parts.
CPU

6 – Assembler

An assembler for the Hack machine code built with python.
Assembler

GitHub

View Github