summaryrefslogtreecommitdiff
path: root/projects/05/Computer.hdl
diff options
context:
space:
mode:
Diffstat (limited to 'projects/05/Computer.hdl')
-rw-r--r--projects/05/Computer.hdl4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/05/Computer.hdl b/projects/05/Computer.hdl
index 22f9b48..a34dcae 100644
--- a/projects/05/Computer.hdl
+++ b/projects/05/Computer.hdl
@@ -20,4 +20,8 @@ CHIP Computer {
PARTS:
// Put your code here:
+ CPU(reset=reset, instruction=instruction, inM=inM, writeM=writeM, outM=outM, addressM=addressM, pc=pc);
+ DFF(in=writeM, out=load);
+ Memory(in=outM, address=addressM, load=load, out=inM);
+ ROM32K(address=pc, out=instruction);
}