aboutsummaryrefslogtreecommitdiff
path: root/projects/01/DMux4Way.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/DMux4Way.hdl
parenta000308104aab27c2dde9a306f1bc654b2db4806 (diff)
Finished Project 1.
Diffstat (limited to 'projects/01/DMux4Way.hdl')
-rw-r--r--projects/01/DMux4Way.hdl5
1 files changed, 4 insertions, 1 deletions
diff --git a/projects/01/DMux4Way.hdl b/projects/01/DMux4Way.hdl
index 24270c0..18b725d 100644
--- a/projects/01/DMux4Way.hdl
+++ b/projects/01/DMux4Way.hdl
@@ -17,4 +17,7 @@ CHIP DMux4Way {
PARTS:
// Put your code here:
-} \ No newline at end of file
+ DMux (in=in, sel=sel[1], a=e, b=f);
+ DMux (in=e, sel=sel[0], a=a, b=b);
+ DMux (in=f, sel=sel[0], a=c, b=d);
+}