An RV32IMC Processor with a Tightly Coupled Linear Classifier Accelerator for Edge AI Inference

Edge AI inference on resource-constrained devices demands low latency, minimal memory footprint, and tight power budgets---requirements that cloud-based inference cannot satisfy due to network latency, bandwidth, and privacy costs. This paper presents the design of an RV32IMC processor tightly coupled with a custom ISA-extended linear-classifier accelerator, described in synthesizable SystemVerilog RTL and evaluated through cycle-accurate simulation. The processor implements the RISC-V RV32I base integer set, the M extension for hardware multiply/divide, and a partial C extension for 16-bit compressed instructions. A 4×4 weight-stationary systolic array is integrated directly into the execute stage of a five-stage pipeline via four custom instructions encoded in the reserved custom-0 opcode space (0x0B). Cycle-accurate RTL simulation on Vivado xsim shows that the hardware accelerator completes a 4-class linear-classification inference in 19 cycles, a 4.2× speedup over an RV32IM software baseline (79 cycles) and a 40.1× speedup over a realistic RV32I general-purpose software baseline (761 cycles). The C extension delivers a 24.24% code-size reduction (528 B → 400 B) with zero performance penalty, via a purely combinational decompressor in the fetch stage. These results indicate that tightly coupled, domain-specific ISA extensions on a compact RISC-V core can deliver meaningful inference acceleration for edge deployment while preserving the modularity of the RISC-V ecosystem. FPGA synthesis and on-hardware characterization were not performed in this work and are identified as future work.

Authors

Publication Details

Journal
Preprints.org
Published
2026-10-29
DOI
https://doi.org/10.20944/preprints202610.3021.v1
Primary Topic
Embedded Systems Design Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

An RV32IMC Processor with a Tightly Coupled Linear Classifier Accelerator for Edge AI Inference

Fathy M. Mustafa, Mahmoud M. Taha, Abdelrahman Ahmed, Abdelrahman Mohamed
Preprints.org
Embedded Systems Design Techniques
preprint

An RV32IMC Processor with a Tightly Coupled Linear Classifier Accelerator for Edge AI Inference

Fathy M. Mustafa, Mahmoud M. Taha, Abdelrahman Ahmed, Abdelrahman Mohamed
preprint en

Abstract

Edge AI inference on resource-constrained devices demands low latency, minimal memory footprint, and tight power budgets---requirements that cloud-based inference cannot satisfy due to network latency, bandwidth, and privacy costs. This paper presents the design of an RV32IMC processor tightly coupled with a custom ISA-extended linear-classifier accelerator, described in synthesizable SystemVerilog RTL and evaluated through cycle-accurate simulation. The processor implements the RISC-V RV32I base integer set, the M extension for hardware multiply/divide, and a partial C extension for 16-bit compressed instructions. A 4×4 weight-stationary systolic array is integrated directly into the execute stage of a five-stage pipeline via four custom instructions encoded in the reserved custom-0 opcode space (0x0B). Cycle-accurate RTL simulation on Vivado xsim shows that the hardware accelerator completes a 4-class linear-classification inference in 19 cycles, a 4.2× speedup over an RV32IM software baseline (79 cycles) and a 40.1× speedup over a realistic RV32I general-purpose software baseline (761 cycles). The C extension delivers a 24.24% code-size reduction (528 B → 400 B) with zero performance penalty, via a purely combinational decompressor in the fetch stage. These results indicate that tightly coupled, domain-specific ISA extensions on a compact RISC-V core can deliver meaningful inference acceleration for edge deployment while preserving the modularity of the RISC-V ecosystem. FPGA synthesis and on-hardware characterization were not performed in this work and are identified as future work.

Preprints.org
Embedded Systems Design Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
An RV32IMC Processor with a Tightly Coupled Linear Classifier Accelerator for Edge AI Inference — Fathy M. Mustafa, Mahmoud M. Taha, et al. · Preprints.org (2026) | TGRS Research Map | TGRS