Add tutorial software
This commit is contained in:
21
software/tutorial/build.sh
Executable file
21
software/tutorial/build.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -ex
|
||||
|
||||
CYDIR=$(git rev-parse --show-toplevel)
|
||||
G_DIR=$CYDIR/generators/gemmini/software/gemmini-rocc-tests
|
||||
O_DIR=$CYDIR/software/tutorial/overlay/root
|
||||
|
||||
echo "Building Gemmini RoCC tests"
|
||||
cd $G_DIR
|
||||
|
||||
./build.sh imagenet
|
||||
cd build
|
||||
rm -rf $O_DIR
|
||||
mkdir -p $O_DIR
|
||||
cp -r imagenet/resnet50-baremetal $O_DIR/
|
||||
cp -r imagenet/resnet50-linux $O_DIR/
|
||||
cp -r imagenet/mobilenet-baremetal $O_DIR/
|
||||
cp -r imagenet/mobilenet-linux $O_DIR/
|
||||
|
||||
echo "Complete!"
|
||||
Reference in New Issue
Block a user