-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·54 lines (43 loc) · 2.51 KB
/
setup.sh
File metadata and controls
executable file
·54 lines (43 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
clear
cat << "EOF"
+ . +
* * .
. . . . + *
.
██████╗ ███████╗ ███████╗ ██████╗ ███████╗ ██████╗ █████╗ ██████╗ ███████╗
██╔══██╗ ██╔════╝ ██╔════╝ ██╔══██╗ ██╔════╝ ██╔══██╗ ██╔══██╗ ██╔════╝ ██╔═════╝
██║ ██║ █████╗ █████╗ ██████╔╝ ███████╗ ██████╔╝ ███████║ ██║ █████╗
██║ ██║ ██╔══╝ ██╔══╝ ██╔══╝ ╚════██║ ██╔══╝ ██╔══██║ ██║ ██╔══╝
██████╔╝ ███████╗ ███████╗ ██║ ███████║ ██║ ██║ ██║ ████████ ███████╗
╚═════╝ ╚══════╝ ╚══════╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚══════╝ ╚══════╝
E X P L O R A T I O N
. + *
. + .
* . . *
. . . * .
+ . +
EOF
cd xrt_test
echo "Building xrt_test"
make clean
make
echo "Building xrt_test completed"
cd ..
cd power_hw
echo "Building power_hw"
make clean
make
echo "Building power_hw completed"
cd ..
cd logs
echo "Building logs"
gcc -c log_power.c -o log_power -Wno-format
echo "Building logs completed"
cd ..
echo "Loading bitstream"
source '/usr/local/share/pynq-venv/bin/activate'
source '/home/ubuntu/pynq/Kria-PYNQ/pynq/sdbuild/packages/xrt/xrt_setup.sh'
/usr/local/share/pynq-venv/bin/python3 -c 'from pynq import Overlay; Overlay("./bitstream/deep_space_vec_250_wrapper.bit");'
echo "Bitstream ready"
sudo ./xrt_test/build/time_bench