News for hackers. Stuff that matters.
Re:Ask HN: What's a good book to learn electronics? by blackguardx on Monday November 10, 2008 @01:25AM (#358946)
Anyone wanting to know about electronics shouldn't start with FPGAs. I do FPGA design for a living. I wouldn't really consider it "electronics." It is closer to embedded programming than circuit design. To an outsider, they are almost exactly the same. Many companies lump FPGA design with firmware.

With FPGA design, you start with a board with an FPGA on it and then write some code in Verilog (Verilog is much easier to learn than VHDL). Once the design is complete, you hit the synthesize and place and route buttons and download the reulting file into the FPGA.

With embedded programming, you start with a board with a microcontroller on it and then write some code in assembly (you could also use C or something else). Once the design is complete, you hit the compile button and download the resulting file into the microcontroller.

Re:Ask HN: What's a good book to learn electronics? by jsyedidia on Monday November 10, 2008 @05:37PM (#359858)
Yes, FPGA design is more like programming than it is like analog electronic circuit design. No need for soldering, or for thinking about analog equations. I think a lot of the audience of Hacker News would find it an interesting way to learn more about hardware, even though it doesn't answer the original poster's question about electronics a la resistors and capacitors.

If one prefers Verilog, Pong Chu also has an edition of his book using that language. VHDL is more verbose than Verilog, and more strict about typing, which many consider to be a good thing for hardware designs. But at the level of Chu's books, they're almost equivalent--he uses a bunch of re-usable code templates which are easily translated between Verilog and VHDL. It's not worth agonizing about the difference; I chose VHDL mostly because more reference designs for the Xilinx starter kits are written in VHDL.