project05 - complete

This commit is contained in:
2025-09-22 15:17:34 -04:00
parent 2d65af2101
commit 516d1878cb
3 changed files with 119 additions and 14 deletions

View File

@@ -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);
}