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
+7
View File
@@ -15,4 +15,11 @@ CHIP DMux {
PARTS:
// Put your code here:
// AND in, sel
Nand(a=in, b=sel, out=out1);
Nand(a=out1, b=out1, out=b);
// NAND( (NOT sel), AND in)
Nand(a=sel, b=sel, out=out2);
Nand(a=in, b=out2, out=out3);
Nand(a=out3, b=out3, out=a);
}