Re-do DMux4Way.hdl and DMux8Way.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 20:13:57 -0800
3 files changed,
12 insertions(+),
8 deletions(-)
M
projects/01/DMux4Way.hdl
→
projects/01/DMux4Way.hdl
@@ -16,5 +16,7 @@ IN in, sel[2];
OUT a, b, c, d; PARTS: - // Put your code here: -}+ DMux(in=in, sel=sel[1], a=dmux-a, b=dmux-b); + DMux(in=dmux-a, sel=sel[0], a=a, b=b); + DMux(in=dmux-b, sel=sel[0], a=c, b=d); +}
M
projects/01/DMux8Way.hdl
→
projects/01/DMux8Way.hdl
@@ -16,5 +16,7 @@ IN in, sel[3];
OUT a, b, c, d, e, f, g, h; PARTS: - // Put your code here: -}+ DMux(in=in, sel=sel[2], a=dmux-a, b=dmux-b); + DMux4Way(in=dmux-a, sel=sel[0..1], a=a, b=b, c=c, d=d); + DMux4Way(in=dmux-b, sel=sel[0..1], a=e, b=f, c=g, d=h); +}
M
projects/01/PROGRESS.md
→
projects/01/PROGRESS.md
@@ -3,18 +3,18 @@ # Progress
## TODO And16 -DMux4Way -DMux8Way -Mux4Way16 -Mux8Way16 Not16 Or16 Or8Way ## DONE And +DMux4Way +DMux8Way DMux Mux16 +Mux4Way16 +Mux8Way16 Mux Not Or