Skip to content

Latest commit

 

History

182 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Detectinator

About

Hardware implementation of opencv-object-detection object detecting software.

Directory Structure

  • imgs/ input images
  • out/ output images, memory dumps
  • qii/ Quartus project
  • scripts/ shell scripts
  • sim/ simulation do files (for Modelsim)
  • src/ source files (Verilog source, tesbench, tasks)
  • viv/ Vivado project
  • work/ Modelsim work directory
  • modelsim.iniModelsim settings file, generated by Vivado
  • quartus.tcl Quartus project generation script
  • README.md README
  • transcript Modelsim output
  • vivado.jou Vivado journal file
  • vivado.log Vivado log file
  • vivado.tcl Vivado project generation script
  • vsim.wlf Modelsim waveform file

Quick Start

Run simulation in Modelsim. The testbench reads a bitmap from imgs/ (defined in src/global.vh and writes the processed image to a bitmap in out/. The output should be readable by any image viewer.

vsim -c -do sim/run_sim.do

To pull up gui:

vsim -do sim/gui.do

Vivado Flow

Run through synthesis, implementation in Vivado. Writes post-synth and post-impl netlists. A vivado project is created in the directory viv/.

vivado -mode batch -source vivado.tcl

To pull up gui, run above command and

vivado $(find . -type f -name '*.xpr')

Debugging

Output a bitmap as hex, grouped by pixel xxd -cols 12 -g 3 -s 0x0000008a out.bmp out.xxd

About

HW implementation of image detect project.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages