DACSDC2021

weight generation

  1. copy the "data" folder generated by the export_weight.py in to the root directory
  2. relpace the "CONV_x_INC_BIT_NEW" and "CONV_x_BIAS_BIT_NEW" macro with the new value printed by the export_weight.py in src/config.h
  3. run "make clean && make genweight && ./genweight.out" to generated the new src/weights.hpp

CSIM test

  1. run "make genweight" generate new weight file
  2. run "make test" to compile test
  3. run "./test" to generate output feature for the ultranet conv and dsp6 conv fun
  4. run "diff conv_ultranet_out.txt conv_dsp6_out.txt" to check correctness

SYN single conv module

  1. run "vivado_hls hw_script/hls_single.tcl" with vivado_hls 2019.2