Skip to content

Commit 9c0cc36

Browse files
se6astian-pianuejn
authored andcommitted
add script to output date of loaded gateware
1 parent 24baf7c commit 9c0cc36

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
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)