Skip to content

monicadola42/fpga-neural-network-accelerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural Network Accelerator on FPGA (Verilog)

This project implements a basic Neural Network hardware accelerator using Verilog HDL. The design demonstrates how neural network computations can be executed in parallel using FPGA-style hardware architecture.

Features

  • Multiply Accumulate (MAC) Unit
  • ReLU Activation Function
  • Parallel Neuron Layer
  • Weight Memory Support
  • Simulation using EDA Playground and EPWave

Architecture

Input data is multiplied with different weights using parallel MAC units. The results are passed through a ReLU activation function to generate the final outputs.

Input → MAC Units → ReLU → Parallel Outputs

Files

  • design.sv – Top level module
  • testbench.sv – Simulation testbench
  • nn_layer.v – Neural network layer implementation
  • nn_layer_parallel.v – Parallel neuron architecture
  • weights.mem – Weight memory values

Tools Used

  • Verilog HDL
  • EDA Playground
  • EPWave

Example Output

Input = 5 Weights = 2, 3, 4, 5

Outputs:

  • o1 = 10
  • o2 = 15
  • o3 = 20
  • o4 = 25

About

FPGA-based Neural Network Accelerator designed in Verilog with MAC, ReLU, and parallel neural network layers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors