News for hackers. Stuff that matters.
Re:32-bit homebrew CPU using 74' series logic by phkahler on Sunday December 18, 2016 @10:17PM (#13209298)
A couple points. First you could use surface mount ICs and fit a whole lot more circuitry onto one board. Soldering is harder but it should be better in every other way.

Second. The register file could be implemented with far fewer chips if only a single output was used. The A and B register select bits would need to go through a quad 2-1 multiplexor and the output would need to be latched for either A or B and some sequencing logic added to make it work. In other words it would take 2 cycles to read from both A and B operands.

Oh, and don't forget that in RISC-V register 0 is always read as zero so no actual storage is needed for that one.

Re:32-bit homebrew CPU using 74' series logic by captaindiego on Sunday December 18, 2016 @10:22PM (#13209316)
Once you get over the initial effort of switching to surface mount and get a toaster oven/griddle setup, it can actually be quite a lot faster, especially for doing stuff in quantity. Using a stencil you can quickly place paste for all components, then hand place all components and bake it. Of course finding solder bridges and debugging can become a bit tricky...
Re:32-bit homebrew CPU using 74' series logic by tawayway on Monday December 19, 2016 @03:15AM (#13210197)
Desoldering is all much faster if you have hot air and some tweezers.
Re:32-bit homebrew CPU using 74' series logic by userbinator on Monday December 19, 2016 @06:34AM (#13210790)
In other words it would take 2 cycles to read from both A and B operands.

Or you could read one register on the rising and the other on the falling edge of the clock, if timing permits. A lot of real microprocessors were designed with this techinque.