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.hdl3
1 files changed, 1 insertions, 2 deletions
diff --git a/projects/05/Computer.hdl b/projects/05/Computer.hdl
index a34dcae..fdda8e3 100644
--- a/projects/05/Computer.hdl
+++ b/projects/05/Computer.hdl
@@ -21,7 +21,6 @@ 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);
+ Memory(in=outM, address=addressM, load=writeM, out=inM);
ROM32K(address=pc, out=instruction);
}