Simulation of an Open-Hardware RISC-V Coprocessor for Low-Power Medical Artificial Intelligence
The objective of this work was to evaluate, through simulation, whether a simple open-hardware coprocessor coupled to a RISC-V core can run medical artificial intelligence on low-power devices. The EdgeMAC coprocessor was designed; it adds three custom instructions: bias loading, four parallel 8-bit multiply-accumulate operations, and requantization. An instruction-level simulator was developed with a cycle model based on an open microcontroller core and a first-order energy model. A three-layer neural network that classifies breast tumors as benign or malignant from a public dataset was trained, quantized to 8-bit integers, and executed on three configurations: a core without a multiplier, a core with a 32-bit multiplier, and the core with the coprocessor. The quantized model kept an accuracy of 95.6% and a sensitivity of 97.6% on 114 test cases, identical to the floating-point model. The coprocessor reduced the cost of each diagnosis from 17,496 to 2,187 clock cycles, 8.0 times fewer than the core with a multiplier and 102.8 times fewer than the core without a multiplier, and the estimated dynamic energy, a lower bound, fell from 85.3 to 13.1 nanojoules. It is concluded that a minimal instruction-set extension is enough to bring assisted diagnosis to battery-powered portable devices and that, once arithmetic is accelerated, instruction and data access become the next limit. The originality lies in a reproducible methodology, built only with free tools, that enables students and institutions with limited resources to explore hardware-software co-design for socially oriented artificial intelligence.
Authors
- Luna Nirel Jiménez Montiel
- Cecilia Hernández Serrano
Institutions
- Tecnológico Nacional de México, Campus Pachuca (MX)
Publication Details
- Journal
- International Journal of Research and Innovation in Social Science
- Published
- 2026-11-24
- DOI
- https://doi.org/10.47772/ijriss.2026.102500040
- Primary Topic
- Embedded Systems Design Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00