Hardware implementation of opencv-object-detection object detecting software.
imgs/input imagesout/output images, memory dumpsqii/Quartus projectscripts/shell scriptssim/simulation do files (for Modelsim)src/source files (Verilog source, tesbench, tasks)viv/Vivado projectwork/Modelsim work directorymodelsim.iniModelsim settings file, generated by Vivadoquartus.tclQuartus project generation scriptREADME.mdREADMEtranscriptModelsim outputvivado.jouVivado journal filevivado.logVivado log filevivado.tclVivado project generation scriptvsim.wlfModelsim waveform file
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
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')
Output a bitmap as hex, grouped by pixel xxd -cols 12 -g 3 -s 0x0000008a out.bmp out.xxd