Page 1 of 1

nand2tetris HACK computer

Posted: Thu Apr 16, 2015 12:10 am
by kwx
How about implementing the HACK computer in the nand2tetris open class?

www.nand2tetris.org for more info.

I have done the project 1 and 2, now trying to implement the register and memory in project 3. Yet I am not sure about how should the DFF be done.

Re: nand2tetris HACK computer

Posted: Thu Apr 16, 2015 8:44 am
by admin
Great idea.
Just make sure you are not breaking any rules of the class when sharing your work.

Re: nand2tetris HACK computer

Posted: Fri Apr 17, 2015 12:14 pm
by Hans Cadans
Hi kwx,

The design, I've in mind will cover some of the ideas, mentioned in nand2tetris.
However I can't beat a whole organisation, but together we will approach the idea.

In the presentation you can see the main-components.
ALU, Registers, Data-Memory, Program-Memory, Instruction-Pointer, Control-Unit.

We will begin with the ALU, in here you will find all the basic circuits.
All basic circuits are accompanied, if possible, with a truth-table, Boolean function (canonian representation)
Then the design of the register-bank (12 general purpose + 4 dedicated and 12 shadow-registers (general purpose))
will be explained.

The program memory consists of a ROM (containing the BIOS) and RAM (containing a program)
The program will be written in Assembler
But more important, I hope that many members will join me, so that we will make this computer together.
So your suggestions, improvements to this design are welcome.
Your question about implementing Data-FlipFlops will be answered very soon.

Hans Cadans