Solved the 'smaller' gates and probably not with the best solutions.

This commit is contained in:
2021-01-18 21:40:37 -06:00
parent ede8302d26
commit 6cff6afc04
12 changed files with 63 additions and 0 deletions
+13
View File
@@ -15,4 +15,17 @@ CHIP Mux {
PARTS:
// Put your code here:
Nand(a=sel, b=b, out=out1);
Nand(a=out1, b=out1, out=out2);
Nand(a=sel, b=sel, out=out3);
Nand(a=a, b=out3, out=out4);
Nand(a=out4, b=out4, out=out5);
//Nand(a=out2, b=out5, out=out);
//Nand(a=out6, b=out6, out=out);
//OR
Nand(a=out2, b=out2, out=out6);
Nand(a=out5, b=out5, out=out7);
Nand(a=out6, b=out7, out=out);
}