Building the Hack Computer Hardware in Logisim - Part - 4

..and my notes..

So, continuing from Part 3..

Let 's show the Counter we have:

So finally, we need something that will cycle between 2 phases as the clock ticks. It will be like 2 dividing a clock to 2 clocks. The Fetch cycle will go: tick - tock then the Execute cycle will go tick - tock..

Lets take a look at this:


And finally all we need to do is to assemble all the pieces together.

In the example below, I have loaded the binary code for Multiplication program to RAM and tested it:

I have also uploaded the files I have used here.

Well I guess just by using NAND Gates and a simple switch to enable / disable the current, we constructed the Hack Computer!!!