News for hackers. Stuff that matters.
Re:I don't know how CPUs work so I simulated one in code by _han on Tuesday May 21, 2019 @11:11AM (#19970845)
Is there a public resource somewhere that describes the assignment/gives some guidelines? I would like to give it a try.
Re:I don't know how CPUs work so I simulated one in code by cweagans on Tuesday May 21, 2019 @11:31AM (#19971064)
https://www.nand2tetris.org/ goes through the same process. Highly recommend!
Re:I don't know how CPUs work so I simulated one in code by BanazirGalbasi on Tuesday May 21, 2019 @11:55AM (#19971364)
The game MHRD (MicroHard) offers the same content, but in an interactive environment. I haven't gone much into it yet so I don't know how the end content compares to Nand2Tetris, but a lot of people say they're different methods of teaching almost identical content.
Re:I don't know how CPUs work so I simulated one in code by mtreis86 on Tuesday May 21, 2019 @04:24PM (#19974527)
It is very similar in terms of the logic puzzles you need to solve, but the format and tests are different.
Re:I don't know how CPUs work so I simulated one in code by jlangemeier on Tuesday May 21, 2019 @12:40PM (#19971829)
Introduction to Logic Circuits and Logic Design with VHDL: (ISBN: 3319341944)

I'm sure each person here is talking about a slightly different assignment, course, and book; but for me (from an EE side of the coin) the person that wrote this book taught our 2 semester course series that starts with basic logic, moves into the circuitry, and then into modeling the entire computer architecture in VHDL on a reasonably inexpensive FPGA (the Altera dev boards are about $100-$200).

The book follows that 2 semester series to a tee, and uses the guy's same in course narrative style (minus smacking the whiteboard @ 8 in the morning and us getting yelled at by the french teacher next door). The writer has won multiple teaching awards from IEEE, and is a real gift to the EE community - as you can tell I have 0 complaints.

Re:I don't know how CPUs work so I simulated one in code by fwip on Tuesday May 21, 2019 @05:39PM (#19975351)
And if you want to learn the next level down, how computer chips work, read Introduction to VLSI Systems, by Conway and Mead.
Re:I don't know how CPUs work so I simulated one in code by jlangemeier on Wednesday May 22, 2019 @11:48AM (#19982443)
That was the next semester - and further down the rabbit hole after that - if you can find a university with a clean room; is actual microchip design, even getting a PNP transistor built from silicon is a damned miracle - out of a class of 15, only 5 of us got one fully working to spec.
Re:I don't know how CPUs work so I simulated one in code by balls187 on Wednesday May 22, 2019 @11:23AM (#19982189)
Whats kind of cool (to me anyway) is the now FPGA based game machines are making a comeback.

Being able to in software define the exact hardware specificaations of older consoles is pretty cool. Where as previously using general purpose RISC or CISC CPUs and have everything emulated as a software application.

Re:I don't know how CPUs work so I simulated one in code by terlisimo on Thursday May 23, 2019 @03:22AM (#19989341)
Re:I don't know how CPUs work so I simulated one in code by nwallin on Tuesday May 21, 2019 @04:06PM (#19974332)
I highly recommend Ben Eater's youtube series.

https://www.youtube.com/watch?v=HyznrdDSSGM&list=PLowKtXNTBy...

Re:I don't know how CPUs work so I simulated one in code by cobookman on Tuesday May 21, 2019 @12:48PM (#19971898)
Looks like a student published his code from the labs: https://github.com/erafalovsky/ECE3056-Computer-Architecture...

Course is ECE3056: https://ece3056-sy.ece.gatech.edu/

Re:I don't know how CPUs work so I simulated one in code by trillic on Friday May 24, 2019 @12:25AM (#19998466)
EECS 370 through the University of Michigan has the project specs publicly available[1].

[1] http://www.eecs.umich.edu/courses/eecs370/eecs370.s19/