nand2tetris HACK computer

In this forum, we're going to build/design, together, a fully programmable computer, "bit by bit".
That means, that everyone can participate.
Post Reply
kwx
Posts: 1
Joined: Thu Apr 16, 2015 12:01 am

nand2tetris HACK computer

Post 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.
User avatar
admin
Site Admin
Posts: 406
Joined: Sun Jun 14, 2009 10:53 pm
Contact:

Re: nand2tetris HACK computer

Post by admin »

Great idea.
Just make sure you are not breaking any rules of the class when sharing your work.
Hans Cadans
Posts: 57
Joined: Thu Apr 24, 2014 12:30 pm

Re: nand2tetris HACK computer

Post 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
Post Reply