A CNN Core Generator and Code on ARIANNA Trigger System
pip install -r requirements.txt
bender update
Edit cnn_core_project/build_opt.tcl
array set opt {
reset 0
csim 1
synth 1
cosim 1
validation 1
export 1
vsynth 1
fifo_opt 1
}
Then compile. Make sure you have Vitis HLS installed and properly set up in your environment.
cd cnn_core_project
vitis_hls -f build_prj.tcl
git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \
| sed -n 's/^blob //p' \
| sort --numeric-sort --key=2 --reverse \
| head -n 10 \
| cut -c 1-12,41- \
| numfmt --field=2 --to=iec-i --suffix=B --padding=7
Use it to update Bender.yml before release.
bash ./scripts/generate_bender_sources.sh
This project is licensed under the MIT License - see the LICENSE file for details