Design of a 16-Bit RISC Processor with PMAC Unit
Weighted sums such as x1w1 + x2w2 + x3w3 + x4w4 dominate neural-network layers and digital filters, yet a small processor without a multiply-accumulate (MAC) instruction must assemble them from many separate multiply and add instructions, which lengthens programs and adds fetch and decode work. This paper describes a compact 16-bit reduced instruction set computer (RISC) processor, written in Verilog hardware description language, that adds one instruction, the parallel multiply-accumulate (PMAC), for a four-term weighted sum. An otherwise identical baseline processor without the PMAC unit serves as reference. Both designs were verified with self-checking testbenches in the Vivado simulator and implemented on an Artix-7 field-programmable gate array (FPGA), and the PMAC design was demonstrated on a Nexys A7-100T board. For the test vector (1, 2, 3, 4) with weights (5, 6, 7, 8), both processors return 70. The PMAC replaces seven arithmetic instructions with one, cutting the test program from 16 to 10 instructions (37.5%), and the PMAC design meets a 10 ns clock constraint that the baseline misses. Its nine-cycle sequencing, however, brings no speed-up, and the low-confidence power estimates (0.133 W against 0.146 W) are not conclusive. The results show a code-size gain at the cost of four digital signal processing slices and point to parallel multipliers as the next step.
Authors
- Divya M
- Dhanushree H N
- Gaana N J
- Nalina H D
- Aishwarya Kadrolli
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24769602
- Primary Topic
- Embedded Systems Design Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00