TL;DR

A developer has created a fully functional scientific calculator using a custom-designed nibble-oriented CPU in Verilog. The project includes microcode firmware, FPGA synthesis, and simulation tools. It demonstrates a hardware approach to complex calculations, with ongoing testing and development.

A developer has designed a custom, nibble-oriented CPU in Verilog to create a hardware-based scientific calculator implemented on an FPGA, including microcode firmware and simulation tools, marking a significant step in hardware calculator design.

The project involves a fully functional scientific calculator built with a custom soft CPU in Verilog, which operates on a nibble (4-bit) architecture. The design includes microcode firmware that drives the CPU’s operations, and the entire system is supported by FPGA synthesis tools such as Quartus, as well as simulation environments like ModelSim and Verilator.

The developer has created a comprehensive toolchain, including a command-line test harness and a Qt-based simulator/debugger, to verify the hardware’s functionality. The project files are organized into folders for source code, microcode, FPGA synthesis, and testing, with instructions for building and testing the system on various platforms.

Why It Matters

This development demonstrates a hardware approach to implementing complex scientific calculations, emphasizing the educational and experimental potential of FPGA-based design. It offers a tangible example of how custom CPU architectures can be tailored for specific computational tasks, such as scientific computing, in a hardware environment.

For enthusiasts and researchers, this project provides a foundation for further exploration into hardware calculator design, microcode development, and FPGA implementation, potentially inspiring more advanced or specialized hardware solutions.

Digilent Basys 3 Artix-7 FPGA Trainer Board: Recommended for Introductory Users

Designed for students and beginners looking to understand Digital Logic, fundamentals of FPGAs

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Traditional scientific calculators are typically built with dedicated ASICs or microcontrollers. This project diverges by using a soft CPU implemented in FPGA, designed specifically around a nibble-oriented architecture. The approach allows for customization at the hardware level, offering educational insights into CPU design, microcode programming, and FPGA synthesis. The project builds on existing FPGA development practices, integrating simulation, microcode firmware, and hardware testing, with the goal of creating a fully functional, hardware-based scientific calculator.

“This project aims to demonstrate how a custom nibble-oriented CPU can be used to build a precise, hardware-based scientific calculator on FPGA.”

— the developer

“The system leverages FPGA synthesis and simulation tools to verify correctness and performance.”

— FPGA tools documentation

Texas Instruments TI-30XIIS Scientific Calculator - Teacher Kit (10 pack)

Texas Instruments TI-30XIIS Scientific Calculator – Teacher Kit (10 pack)

Texas Instruments TI30XIISTK Teacher 10 Pack

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It is not yet clear how the calculator performs in terms of speed and power efficiency compared to conventional designs. The project’s current status focuses on development and verification, with real-world deployment or user testing still to be reported.

Fipsy V2 FPGA Development Board | Bread Board Compatible | 1280 LUTs, 269MHz, 64kbit Memory, SPI/I2C Programming | MachXO2 Logic Device

Fipsy V2 FPGA Development Board | Bread Board Compatible | 1280 LUTs, 269MHz, 64kbit Memory, SPI/I2C Programming | MachXO2 Logic Device

LEARNING PLATFORM: Fipsy is designed for makers and learners! Ideal for FPGA education with progressive projects from basic…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

The next steps include optimizing the CPU design, expanding microcode capabilities, and potentially porting the system to different FPGA boards. Further testing and validation are expected, along with possible user interface development for broader accessibility.

ESP-32S Starter Kit, Development Board Complete Starter Kit, Remote Control, Support IDE and MicroPython Programming Option, Multiple Interfaces for Maker Projects

ESP-32S Starter Kit, Development Board Complete Starter Kit, Remote Control, Support IDE and MicroPython Programming Option, Multiple Interfaces for Maker Projects

MODULE SET: There is an organic LED display, resistors, buzzers, and 4 color LEDs, etc. in the package…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

What is a nibble-oriented CPU?

A nibble-oriented CPU processes data in 4-bit units called nibbles, which can be advantageous for certain calculations and simplified hardware design.

Can this hardware calculator perform all scientific functions?

Currently, the project demonstrates core arithmetic functions and basic scientific operations, but full functionality for all scientific calculations is still under development.

Is the project available for public use?

Yes, the source code, FPGA project files, and simulation tools are publicly available on GitHub, allowing others to build and experiment with the system.

What are the advantages of a hardware-based calculator over software?

Hardware implementations can offer faster computation times, lower latency, and educational value by illustrating low-level CPU design principles.

You May Also Like

DNA Data Storage: Archiving the Digital World in Molecules

Learn how DNA data storage revolutionizes digital archiving with unparalleled capacity and longevity, leaving you to wonder about its future implications.

Edge AI and TinyML: Intelligence at the Device Level

Fascinated by how Edge AI and TinyML enhance device intelligence and privacy? Discover the transformative impact these technologies can have on your daily life.

Samsung chip workers will get an average $340k bonus as AI profits soar

Samsung plans to award its chip employees an average bonus of $340,000 as profits from AI-related chip sales increase significantly, reflecting booming industry demand.

Is AI causing a repeat of Front end’s Lost Decade?

Analysis of how AI’s impact on programming resembles the 2010s frontend deskilling, raising questions about skill loss, job security, and industry evolution.