aboutsummaryrefslogtreecommitdiff
path: root/projects/01/DMux8Way.hdl
diff options
context:
space:
mode:
Diffstat (limited to 'projects/01/DMux8Way.hdl')
-rw-r--r--projects/01/DMux8Way.hdl5
1 files changed, 4 insertions, 1 deletions
diff --git a/projects/01/DMux8Way.hdl b/projects/01/DMux8Way.hdl
index 75714a5..6038fa6 100644
--- a/projects/01/DMux8Way.hdl
+++ b/projects/01/DMux8Way.hdl
@@ -17,4 +17,7 @@ CHIP DMux8Way {
PARTS:
// Put your code here:
-} \ No newline at end of file
+ DMux (in=in, sel=sel[2], a=i, b=j);
+ DMux4Way (in=i, sel=sel[0..1], a=a, b=b, c=c, d=d);
+ DMux4Way (in=j, sel=sel[0..1], a=e, b=f, c=g, d=h);
+}