aboutsummaryrefslogtreecommitdiff
path: root/projects/01/DMux8Way.hdl
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2017-11-29 16:19:33 +0100
committerYuchen Pei <me@ypei.me>2017-11-29 16:19:33 +0100
commitb8f53f80d0a506f1c64d2318db8e05f844bb1fa0 (patch)
tree55da26882508f5eef295b5841cda58debd1f96f5 /projects/01/DMux8Way.hdl
parenta000308104aab27c2dde9a306f1bc654b2db4806 (diff)
Finished Project 1.
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);
+}