Public » Elements of Computing
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

DMux8Way

Changeset 2ae833e45a4f

Parent 3df578dd6198

by Profile picture of Benjamin PollackBenjamin Pollack

Changes to one file · Browse files at 2ae833e45a4f Showing diff from parent 3df578dd6198 Diff from another changeset...

Change 1 of 1 Show Entire File 01/​DMux8Way.hdl Stacked
 
17
18
19
20
21
 
 
 
 
 
 
 
 
 
 
 
 
17
18
19
 
 
 
20
21
22
23
24
25
26
27
28
29
@@ -17,5 +17,13 @@
  OUT a, b, c, d, e, f, g, h;     PARTS: - // Put your code here: -} \ No newline at end of file
+ DMux(in=in, sel=sel[2], a=abcd, b=efgh); + + DMux(in=abcd, sel=sel[1], a=ab, b=cd); + DMux(in=efgh, sel=sel[1], a=ef, b=gh); + + DMux(in=ab, sel=sel[0], a=a, b=b); + DMux(in=cd, sel=sel[0], a=c, b=d); + DMux(in=ef, sel=sel[0], a=e, b=f); + DMux(in=gh, sel=sel[0], a=g, b=h); +}