Changeset c98c2fe2cfa3…
Parent 681272718683…
by Benjamin Pollack
Changes to 2 files · Browse files at c98c2fe2cfa3 Showing diff from parent 681272718683 Diff from another changeset...
@@ -16,5 +16,7 @@ OUT out[16];
PARTS:
- // Put your code here:
-}
\ No newline at end of file+ Mux16(a=a, b=b, sel=sel[0], out=ab);
+ Mux16(a=c, b=d, sel=sel[0], out=cd);
+ Mux16(a=ab, b=cd, sel=sel[1], out=out);
+}
|
@@ -18,5 +18,7 @@ OUT out[16];
PARTS:
- // Put your code here:
-}
\ No newline at end of file+ Mux4Way16(a=a, b=b, c=c, d=d, sel=sel[0..1], out=abcd);
+ Mux4Way16(a=e, b=f, c=g, d=h, sel=sel[0..1], out=efgh);
+ Mux16(a=abcd, b=efgh, sel=sel[2], out=out);
+}
|
Loading...