ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika
Vol 14, No 4: Published November 2026

A Custom RISC-V Instruction for SVPWM Acceleration on FPGA Softcore

MUHAMMAD BUDI SATRIA YONDA (Telkom University)
RIZKI ARDIANTO PRIRAMADHI (Telkom University)
JUNARTHO HALOMOAN (Telkom University)



Article Info

Publish Date
30 Nov 2026

Abstract

Space Vector Pulse-Width Modulation (SVPWM) is a key computation in three-phase motor control executed every switching period. On RISC-V softcore processors, software SVPWM consumes a large fraction of available execution time, and standard extensions such as RV32IM and Zbb are insufficient to resolve this constraint. This paper proposes cf_svpwm, a custom RISC-V instruction integrating all SVPWM kernel stages — inverse Clarke transform, min/max normalization, offset computation, and duty-cycle scaling — into a single atomic hardware operation. A read-latch mode stores all three duty-cycles in hardware latches accessed via cf_read_u/v/w instructions. Evaluated on NEORV32 processor at 50 MHz (Intel Cyclone V FPGA) with 27,823 test vectors, cf_svpwm achieves 17.8× speedup over the RV32I baseline (445→25 cycles, 8.90→0.50 μs), reducing control-period utilization from 17.80% to 1.00% at 20 kHz. Maximum quantization error remains within 1 LSB at 74.72 MHz Fmax.

Copyrights © 2026






Journal Info

Abbrev

elkomika

Publisher

Subject

Electrical & Electronics Engineering Engineering

Description

Jurnal ELKOMIKA diterbitkan 3 (tiga) kali dalam satu tahun pada bulan Januari, Mei dan September. Jurnal ini berisi tulisan yang diangkat dari hasil penelitian dan kajian analisis di bidang ilmu pengetahuan dan teknologi, khususnya pada Teknik Energi Elektrik, Teknik Telekomunikasi, dan Teknik ...