u/TheFinalMillennial

Image 1 — Designed a nibble-oriented CPU in Verilog for a scientific calculator where other CPUs wouldn't cut it
Image 2 — Designed a nibble-oriented CPU in Verilog for a scientific calculator where other CPUs wouldn't cut it
Image 3 — Designed a nibble-oriented CPU in Verilog for a scientific calculator where other CPUs wouldn't cut it
▲ 358 r/calculators+1 crossposts

Designed a nibble-oriented CPU in Verilog for a scientific calculator where other CPUs wouldn't cut it

I designed and built a scientific calculator on an FPGA, using a custom nibble-oriented CPU I wrote in Verilog. Then I wrote ~4K of its machine code that implemented a large set of operations you'd normally find in a calculator. All operations are verified against long-doubles with a dedicated test suite.

The calculator uses BCD arithmetic: one decimal digit per 4-bit nibble. Standard byte-oriented CPUs fight that layout constantly. This CPU has 4 bits as the natural data width, memory is nibble-addressable, and walking through a 16-digit mantissa is just a loop.

What I built:

  • Custom nibble-oriented CPU in Verilog: Harvard architecture, 12-bit ISA, 8-state FSM, 8 registers, hardware stack guard with a FAULT state, interrupts, ...
  • Two-pass assembler in Python (~700 lines)
  • Verilator + Qt simulation framework: same Verilog runs in simulation, GUI debugger, WebAssembly, and on real FPGA hardware
  • CORDIC for trig, BCD arithmetic verified to 14 significant digits
  • Scripting language on top of the microcode for adding more complex functions
  • Custom PCB (EasyEDA / JLCPCB), battery, charging circuit; 3D printed enclosure

Synthesized on a Cyclone II EP2C5. The finished device is on my desk.

Write-up: https://baltazarstudios.com

Source: https://github.com/gdevic/FPGA-Calculator

Live demo (actual Verilog + microcode compiled to WebAssembly): https://baltazarstudios.com/files/calculator-d/Calculator.html

Hackaday: https://hackaday.com/2026/05/13/build-the-cpu-then-build-the-calculator/

Happy to discuss any of the architecture decisions.

u/TheFinalMillennial — 3 days ago

If you want details and the test procedure, see my post on Cemetech: https://www.cemetech.net/forum/viewtopic.php?p=316409#316409

The quick screen-on time results:

  • Zero ZGC4: 27 hours with a 2,200mAh battery and Arm CPU.
  • TI-84 Plus CE: 26 hours with a 1,200mAh battery and eZ-80 CPU.
  • TI-84 Evo: 12 hours with a 1,200mAh battery and Arm CPU

I also tested charging times from 0-100%:

  • Zero ZGC4: 1 hour 45 minutes at 7.5w
  • TI-84 Plus CE: no data at 2.5w
  • TI-84 Evo: 3 hours 54 minutes at 2.5w

It's not a great result for the TI-84 Evo. It still uses the same battery capacity and size as its predecessor, but the new processor is much more power hungry.

On the bright side, there was no boot looping! Also, since the Evo uses the same size battery as the CE, the Evo can immediately benefit from high-capacity 3rd party batteries. It's a shame TI didn't included a better battery from the factory though.

reddit.com
u/TheFinalMillennial — 16 days ago
▲ 31 r/ti84hacks+1 crossposts

TI-Planet just published their first article on the new TI-84 Plus CE successor, the TI-84 Evo. There will be many articles posted so keep an eye out for them!

This first article is primarily an unboxing and an overview of the outside of the calculator: https://tiplanet.org/forum/viewtopic.php?p=280655#p280655

Some of the highlights:

  • USB C (finally)
  • A "3x faster processor"
  • The battery is the same dimensions and capacity as the TI-84 Plus CE but it is a different revision. This hopefully means it won't cause the calculator to boot loop.
  • The software to transfer files to the calculator is entirely web-based.
  • A 4 year access to the TI-84 Evo emulator is included with purchase of a physical TI-84 Evo.

Far more details on each point can be found in the article linked above!

Several pictures have been posted including one of the circuit board: https://tiplanet.org/forum/gallery/album.php?album_id=1040

Mod note: This sub has gotten an influx of posts from unknown sites claiming to sell the TI-84 Evo. Please use caution if you see these posts. This sub recommends only purchasing from reputable marketplaces such as directly from Texas Instruments.

u/TheFinalMillennial — 21 days ago
▲ 36 r/ti84hacks+1 crossposts

Yesterday, Texas Instruments released OS 5.8.5 for the TI-84 Plus CE (Python). This update patched the Artifice jailbreak which means you cannot run assembly games and programs on the new OS.

This is an unprecedented move by TI because they have historically only patched the jailbreak when a security flaw is discovered. However, no known security flaw exists. We can only speculate the reasoning for this patch is because final exams are starting and TI wants to appear serious about their "distraction-free" tagline.

FAQ:

Q: When will a new jailbreak be released?

A: The jailbreak is made by unpaid volunteers. It may be several months before a new one is released. There is no time line.

Q: Can I downgrade?

A: Likely no. The only exception is if you already had specific tools to run assembly programs installed before you updated. This sub will not provide downgrade tools at this time.

Q: What if I'm on an older OS version? Do I need to do anything?

A: No action is needed. Your calculator cannot auto-update itself. You can continue running programs as normal. Simply do not update.

Q: I don't have a TI-84 Plus CE (Python) what does this mean for me?

A: Nothing, this only affects the TI-84 Plus CE family.

More info: https://tiplanet.org/forum/viewtopic.php?p=280596

u/TheFinalMillennial — 1 month ago