diff options
author | Yuchen Pei <me@ypei.me> | 2017-12-18 15:44:32 +0100 |
---|---|---|
committer | Yuchen Pei <me@ypei.me> | 2017-12-18 15:44:32 +0100 |
commit | 02242f44e479bb4a7d982e40b56ba185f733bac1 (patch) | |
tree | 1f8cb469aa4073842b1b8952299764103cddc57a /projects/05/Computer.hdl | |
parent | c44b4ac2e504c62c24393747b1a32b7995e9dd3c (diff) |
finished project 5
Diffstat (limited to 'projects/05/Computer.hdl')
-rw-r--r-- | projects/05/Computer.hdl | 3 |
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);
}
|