aboutsummaryrefslogtreecommitdiff
path: root/projects/03/a/Bit.hdl
diff options
context:
space:
mode:
authorYuchen Pei <me@ypei.me>2017-12-06 16:32:34 +0100
committerYuchen Pei <me@ypei.me>2017-12-06 16:32:34 +0100
commit317270a4daf0bfa6ee1f287a3150f3f752d28391 (patch)
tree5add14d5147aacfb41a21c144adec79cc0b61abe /projects/03/a/Bit.hdl
parentd4e7065850203ff97a1046615644f9a6f73eb523 (diff)
working through project 3
- reached RAM8
Diffstat (limited to 'projects/03/a/Bit.hdl')
-rw-r--r--projects/03/a/Bit.hdl3
1 files changed, 3 insertions, 0 deletions
diff --git a/projects/03/a/Bit.hdl b/projects/03/a/Bit.hdl
index 3064198..52e0539 100644
--- a/projects/03/a/Bit.hdl
+++ b/projects/03/a/Bit.hdl
@@ -15,4 +15,7 @@ CHIP Bit {
PARTS:
// Put your code here:
+ Mux (a=dffout, b=in, sel=load, out=muxout);
+ DFF (in=muxout, out=dffout);
+ Or (a=dffout, b=dffout, out=out);
}