Created
February 4, 2020 13:48
-
-
Save torpedo87/0fefba7030b867c6ad4fc2d98d981b25 to your computer and use it in GitHub Desktop.
cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CHIP Computer { | |
IN reset; | |
PARTS: | |
// Put your code here: | |
Memory(in=Mout, load=Mwrite, address=address, out=outmem); | |
CPU(inM=outmem,instruction=instruction, reset=reset, outM=Mout, writeM=Mwrite, addressM=address, pc=pcout); | |
ROM32K(address=pcout, out=instruction); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment