/FPGA_event_based_optical_flow

Plane fitting event-based optical flow as described in ISCAS2018 paper

Primary LanguageVHDLMIT LicenseMIT

FPGA optical flow for event-based sensors

This repository contains code supporting an ISCAS 2018 paper:

Tun Aung, M.; Teo, R.; and Orchard, G.; “Event-based Plane-fitting Optical Flow for Dynamic Vision Sensors in FPGA” IEEE Int. Symp. Circuits Syst., Florence, Italy, May 2018 https://ieeexplore.ieee.org/document/8351588/

An example of the code in action can be found at

Folders

  • Under the VHDL folder you will find code for the module (implementation) and code for simulating each module (simulation)
  • The Matlab folder contains three main scripts
  1. "full_precision_plane_fit" implements the plane fitting algorithm at full precision without considering the restrictions of FPGA implementation.
  2. "vhdl_plane_fit" contains Matlab code for processing data exactly as the VHDL module would.
  3. "verify_vhdl_simulations" verifies that the Matlab VHDL simulations produce the exact same results as the actual VHDL simulations.

Simulation and Verification

  • The code allows full precision simulations to be compared to VHDL simulations to investigate any loss of accuracy.
  • To verify the VHDL simulations, they need to be run one at a time. Each simulation module uses the output of the previous simulation module as input.

Known Issues

  • The divider in the format_output.vhd module does not simulate correctly on our CentOS 7 machine. No errors are thrown, but the outputs are incorrect. The simulation works correctly on our Windows 7 machines.

Who do I talk to?