Українською
  In English
Новини світу мікро- та наноелектроніки
Built a scientific calculator from scratch: custom PCB, custom FPGA CPU, hand-written machine code
| I built a scientific calculator from scratch: custom PCB, custom FPGA firmware, and a CPU I designed myself in Verilog. The physical build: a custom main board and keypad PCBs designed in EasyEDA and manufactured by JLCPCB, an Altera Cyclone II FPGA as the brain, an LCD display, battery with charging circuit, and two ROM-flashing connectors on the sides to update the firmware. Under the hood it runs a nibble-oriented CPU I designed specifically for BCD arithmetic: the way decimal calculators should work internally. I then wrote ~4K of machine code implementing the full set of scientific functions: trig, logarithms, complex numbers, statistics, all verified to 14 significant digits against a dedicated test suite. The full stack:
The finished device is sitting on my desk. Live WebAssembly demo (runs the actual Verilog + microcode in your browser): https://baltazarstudios.com/files/calculator-d/Calculator.html Write-up: https://baltazarstudios.com Source: https://github.com/gdevic/FPGA-Calculator Hackaday: https://hackaday.com/2026/05/13/build-the-cpu-then-build-the-calculator/ Happy to answer questions about the PCB design, the FPGA setup, or anything else. [link] [comments] |
Weekly discussion, complaint, and rant thread
Open to anything, including discussions, complaints, and rants.
Sub rules do not apply, so don't bother reporting incivility, off-topic, or spam.
Reddit-wide rules do apply.
To see the newest posts, sort the comments by "new" (instead of "best" or "top").
[link] [comments]
LM317T voltage regulator reference readings in diode mode (0.621V / 1.417V)
| Una vez que lo pegues, ya tienes todo listo. ¡Dale al botón de Post (Publicar) y habrás terminado el proceso! 🚀⚡ [link] [comments] |
Lightning detector for cameras
| submitted by /u/Upbeat-Permission-22 [link] [comments] |
I tore down a Lenovo ThinkPad pro dock 40AH, thought somebody may find it intresting
| submitted by /u/electronicProjects [link] [comments] |



