Search NASA⌕ Search

DOE OSTI · code-134498

Generic Multi-Layer Perceptron Inference Accelerator on FPGA (vneuron) v1.0

Abstract

We have designed and implemented a neural network inference compute engine (vneuron) that can be deployed in the fabric of any FPGA without using special hardware accelerator primitive. The "vneuron" is purely written in verilog, and supports scalable neural network structure with fully connected layers and ReLU activation ( Multi-Layer Perceptron architecture) with 16 bits of precision. We have demonstrated it on an Xilinx Artix 7 FPGA for a 16-input, 8-output MLP with 3 layer, 1600 parameters. It takes 40 DSP48E and 40 BRAM18, and takes 131 clock cycles for computing (1048 ns when clocked at 125MHz). We include PyTorch quantization from a given floating point model, and provide behavioral verification simulation in the disclosed software package.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Du, Qiang, Doolittle, Lawrence, Wang, Dan. 2024-05-09. Generic Multi-Layer Perceptron Inference Accelerator on FPGA (vneuron) v1.0. https://doi.org/10.11578/dc.20240712.2

Cite the original work for its findings. Save a collection to share your selection of sources.