This project is for the homework exercises for nand2tetris
-
Build the docker container: docker build -t simulator .
-
docker run -it simulator:latest bash
-
To test a chip run:
docker run -t simulator:latest /bin/sh -c "./tools/HardwareSimulator.sh <<path to .tst for the project>>"
e.g. docker run -t simulator:latest /bin/sh -c "./tools/HardwareSimulator.sh ./projects/05/CPU.tst"