phoenixdownita Posted February 11, 2020 Share Posted February 11, 2020 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. 1 Quote Link to comment Share on other sites More sharing options...
phoenixdownita Posted February 16, 2020 Author Share Posted February 16, 2020 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. Quote Link to comment Share on other sites More sharing options...
BydoEmpire Posted February 17, 2020 Share Posted February 17, 2020 Nowhere near Tetris, but in college (~1993) I had to build an 8-bit microprocessor from NAND gates. I *think* I drew it by hand, at least initially... can't remember if I ever tested with a simulator. This seems more fun! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.