mirror of
https://github.com/soconnor0919/eceg431.git
synced 2025-12-11 22:54:43 -05:00
project05 - complete
This commit is contained in:
@@ -18,5 +18,13 @@ CHIP Computer {
|
||||
IN reset;
|
||||
|
||||
PARTS:
|
||||
//// Replace this comment with your code.
|
||||
// ROM32K provides instructions to CPU
|
||||
// find where PC points to, output instruction
|
||||
ROM32K(address=pc, out=instruction);
|
||||
|
||||
// CPU executes instructions and manages data flow
|
||||
CPU(inM=memOut, instruction=instruction, reset=reset, outM=outM, writeM=writeM, addressM=addressM, pc=pc);
|
||||
|
||||
// memory does storage and IO
|
||||
Memory(in=outM, load=writeM, address=addressM, out=memOut);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user