Skip to content

AlexRomberg/NAND2TETRIS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAND 2 TETRIS

Implementation of the nand 2 tetris project in the Digital Logic Sim of Sebastian Lague.

How to run it

On MacOS install the Digital Logic Sim and creat a project. Close the simulator and make shure the folder ~/Library/Application\ Support/com.DefaultCompany.2DProject/Projects/ exists.

Now you can copy the folder NAND2TETRIS to that folder or just run:

./restore.sh

Run the Digital Logic Sim again and it should show up.

Notes

  • To backup the project run ./backup.sh it will copy it in this directory.
  • I did create a RAM16K entirely from NAND gates. You will find the chip in the library but due to performance issues I made a ORAM16K (Optimized RAM) that abuses displays as a form of writeable mass storage.
  • To write the ROM the single ROM-Chips have a label. So you can programatically set them. (Compiler coming soon)

About

An implementation of nand 2 tetris in Digital Logic Sim

Topics

Resources

Stars

Watchers

Forks

Contributors