Skip to content

Commit 2f8b20c

Browse files
se6astian-pianuejn
authored andcommitted
add script to output date of loaded gateware
1 parent 2df10dd commit 2f8b20c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
# check if axiom_start.sh has been started already, otherwise accessing gateware registers will crash the system
4+
FILE=/tmp/axiom.started
5+
if [[ -f "$FILE" ]]; then
6+
python3 axiom_convert_timestamp.py $(axiom_fil_regi 1)
7+
else
8+
echo "axiom_start.sh seems to not have been executed yet so accessing gateware registers would crash the system. -> exiting"
9+
exit 1
10+
fi
11+

0 commit comments

Comments
 (0)