Jump to content
IGNORED

NAND to Tetris (from gates to CPU to assembly to SW)


Recommended Posts

In case you missed it an interesting book on how to make your own CPUs all the way to how to code for it.

 

https://www.nand2tetris.org/course

 

Yeah the assembly syntax they devise is a little different but still a very good reading, it even has its own HDL and set of tools (pity they require java but I can see why that is the case).

 

NOTE: it does not tell you how to build a NAND or a D-type flip-flop from more basic constructs but those are the only basic building blocks it considers "axioms" and there's plenty of docs on how to make them (if you are interested a D-Type flip-flop NAND only implementation is documented on wikipedia at https://en.wikipedia.org/wiki/Flip-flop_(electronics)#/media/File:Edge_triggered_D_flip_flop.svg as well as the basic CMOS NAND gate at https://en.wikipedia.org/wiki/File:CMOS_NAND.svg ).

 

It's funny how many function they managed to get into the ALU with very simple in/out conditioning.

  • Like 1
Link to comment
Share on other sites

So the above link does not contain the SW chapters, it only covers the HW + assembler (fair enough).

 

Wrt NAND and DFF being taken for granted this link points to a online-ish university that amended a few chapters and added those details in (awesome):

https://inworks.ucdenver.edu/jkb/iwks3300/Book.htm

 

EDIT: I decided to buy the original book from Amazon https://www.amazon.com/Elements-Computing-Systems-Building-Principles/dp/0262640686

as I found it very very intriguing so the authors got my vote.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...