all repos — nand2tetris @ 2177927c31885f697d7234d73600ee9ade925215

my nand2tetris progress

Re-do And16.hdl, Not16.hdl, Or16.hdl, Or8Way.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 20:26:23 -0800
commit

2177927c31885f697d7234d73600ee9ade925215

parent

758efc49e1a082b4f2e3f112b897f2740ef3c202

M projects/01/And16.hdlprojects/01/And16.hdl

@@ -13,5 +13,20 @@ IN a[16], b[16];

OUT out[16]; PARTS: - // Put your code here: -}+ And(a=a[0], b=b[0], out=out[0]); + And(a=a[1], b=b[1], out=out[1]); + And(a=a[2], b=b[2], out=out[2]); + And(a=a[3], b=b[3], out=out[3]); + And(a=a[4], b=b[4], out=out[4]); + And(a=a[5], b=b[5], out=out[5]); + And(a=a[6], b=b[6], out=out[6]); + And(a=a[7], b=b[7], out=out[7]); + And(a=a[8], b=b[8], out=out[8]); + And(a=a[9], b=b[9], out=out[9]); + And(a=a[10], b=b[10], out=out[10]); + And(a=a[11], b=b[11], out=out[11]); + And(a=a[12], b=b[12], out=out[12]); + And(a=a[13], b=b[13], out=out[13]); + And(a=a[14], b=b[14], out=out[14]); + And(a=a[15], b=b[15], out=out[15]); +}
M projects/01/Not16.hdlprojects/01/Not16.hdl

@@ -13,5 +13,20 @@ IN in[16];

OUT out[16]; PARTS: - // Put your code here: -}+ Not(in=in[0], out=out[0]); + Not(in=in[1], out=out[1]); + Not(in=in[2], out=out[2]); + Not(in=in[3], out=out[3]); + Not(in=in[4], out=out[4]); + Not(in=in[5], out=out[5]); + Not(in=in[6], out=out[6]); + Not(in=in[7], out=out[7]); + Not(in=in[8], out=out[8]); + Not(in=in[9], out=out[9]); + Not(in=in[10], out=out[10]); + Not(in=in[11], out=out[11]); + Not(in=in[12], out=out[12]); + Not(in=in[13], out=out[13]); + Not(in=in[14], out=out[14]); + Not(in=in[15], out=out[15]); +}
M projects/01/Or16.hdlprojects/01/Or16.hdl

@@ -13,5 +13,20 @@ IN a[16], b[16];

OUT out[16]; PARTS: - // Put your code here: -}+ Or(a=a[0], b=b[0], out=out[0]); + Or(a=a[1], b=b[1], out=out[1]); + Or(a=a[2], b=b[2], out=out[2]); + Or(a=a[3], b=b[3], out=out[3]); + Or(a=a[4], b=b[4], out=out[4]); + Or(a=a[5], b=b[5], out=out[5]); + Or(a=a[6], b=b[6], out=out[6]); + Or(a=a[7], b=b[7], out=out[7]); + Or(a=a[8], b=b[8], out=out[8]); + Or(a=a[9], b=b[9], out=out[9]); + Or(a=a[10], b=b[10], out=out[10]); + Or(a=a[11], b=b[11], out=out[11]); + Or(a=a[12], b=b[12], out=out[12]); + Or(a=a[13], b=b[13], out=out[13]); + Or(a=a[14], b=b[14], out=out[14]); + Or(a=a[15], b=b[15], out=out[15]); +}
M projects/01/Or8Way.hdlprojects/01/Or8Way.hdl

@@ -13,5 +13,11 @@ IN in[8];

OUT out; PARTS: - // Put your code here: -}+ Or(a=in[0], b=in[1], out=or1); + Or(a=or1, b=in[2], out=or2); + Or(a=or2, b=in[3], out=or3); + Or(a=or3, b=in[4], out=or4); + Or(a=or4, b=in[5], out=or5); + Or(a=or5, b=in[6], out=or6); + Or(a=or6, b=in[7], out=out); +}
M projects/01/PROGRESS.mdprojects/01/PROGRESS.md

@@ -1,13 +1,8 @@

# Progress -## TODO +## DONE And16 -Not16 -Or16 -Or8Way - -## DONE And DMux4Way DMux8Way

@@ -16,7 +11,10 @@ Mux16

Mux4Way16 Mux8Way16 Mux +Not16 Not +Or16 +Or8Way Or Xor