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
- Input data used by this repo: Rotating Bar Video
- Resulting direction
- Resulting speed
- Live screengrab of FPGA results from handheld sensor
- 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
- "full_precision_plane_fit" implements the plane fitting algorithm at full precision without considering the restrictions of FPGA implementation.
- "vhdl_plane_fit" contains Matlab code for processing data exactly as the VHDL module would.
- "verify_vhdl_simulations" verifies that the Matlab VHDL simulations produce the exact same results as the actual VHDL simulations.
- 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.
- 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.
- Garrick Orchard ([email protected])