Skip to content

A CNN Core Wrapper and Code on ARIANNA Trigger System. ['cnn-core' in Bender.]

License

Notifications You must be signed in to change notification settings

NuDAQ/CNN-Core-Generator

Repository files navigation

CNN-Core

A CNN Core Generator and Code on ARIANNA Trigger System

Dependency

pip install -r requirements.txt

Bender

bender update

Compile

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

Always check the large files before pushing.

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

Release

Use it to update Bender.yml before release.

bash ./scripts/generate_bender_sources.sh

License

This project is licensed under the MIT License - see the LICENSE file for details

About

A CNN Core Wrapper and Code on ARIANNA Trigger System. ['cnn-core' in Bender.]

Resources

License

Stars

Watchers

Forks

Packages

No packages published