all repos — nand2tetris @ ff759eb50d761dc5a395e3e49ace4132e050ba5a

my nand2tetris progress

Re-do And.hdl, Not,hdl, Or.hdl, and Xor.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 19:15:26 -0800
commit

ff759eb50d761dc5a395e3e49ace4132e050ba5a

parent

78a2cfd02e0315105caa19f4cf65719ab0bdd677

M projects/01/And.hdlprojects/01/And.hdl

@@ -14,5 +14,6 @@ IN a, b;

OUT out; PARTS: - // Put your code here: + Nand(a=a, b=b, out=nand-out); + Not(in=nand-out, out=out); }
M projects/01/Not.hdlprojects/01/Not.hdl

@@ -13,5 +13,5 @@ IN in;

OUT out; PARTS: - // Put your code here: -}+ Nand(a=in, b=in, out=out); +}
M projects/01/Or.hdlprojects/01/Or.hdl

@@ -14,5 +14,7 @@ IN a, b;

OUT out; PARTS: - // Put your code here: + Not(in=a, out=not1); + Not(in=b, out=not2); + Nand(a=not1, b=not2, out=out); }
M projects/01/PROGRESS.mdprojects/01/PROGRESS.md

@@ -3,7 +3,6 @@ # Progress

## TODO And16 -And DMux4Way DMux8Way DMux

@@ -12,11 +11,12 @@ Mux4Way16

Mux8Way16 Mux Not16 -Not Or16 Or8Way + +## DONE +And +Not Or Xor -## DONE -
M projects/01/Xor.hdlprojects/01/Xor.hdl

@@ -13,5 +13,7 @@ IN a, b;

OUT out; PARTS: - // Put your code here: -}+ Nand(a=a, b=b, out=nand-out); + Or(a=a, b=b, out=or-out); + And(a=nand-out, b=or-out, out=out); +}