NRVCORP DVS Host Application Documentation

Overview

PCIe Interaction and Code Overview

The host code uses memory-mapped I/O to interact with PCIe, leveraging a Xilinx-provided wrapper function written in C. C++ classes are also provided to manage read and write operations for PCIe, specifically designed for DVS and CIS sensors. The relevant applications are implemented as member functions of these classes. For detailed code descriptions, refer to the host code repository.


Program Actions

  • OpenCV Window: The program opens an OpenCV window that streams grayscale 960x720 DVS frames at 2000 fps.

  • DVS Events: The DVS sensor detects:

    • "On" events: Increases in brightness (represented by white pixels).
    • "Off" events: Decreases in brightness (represented by black pixels).
    • Gray pixels represent no events.
  • Frame Merging: To align with the display's frame rate of 60 fps, 33 consecutive frames are merged. A pixel appears black or white if it contains any events in the combined frames.

Execution Steps

1) Open the terminal in root permission by running sudo -i.

2) Navigate to the 1.Single_DVS/streaming/host directory.

3) Run make all.

4) Run ./main.