From 728a6dd67cc5aece9eb6be4ba652f761af7c7ce6 Mon Sep 17 00:00:00 2001
From: dwn1c21 <d.newbrook@soton.ac.uk>
Date: Tue, 2 May 2023 15:28:26 +0000
Subject: [PATCH] Added script for running CD test on ZCU104

---
 .../mcu/fpga_imp/CI_verification/test_bitfile_ZCU104.sh  | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 Cortex-M0/nanosoc/systems/mcu/fpga_imp/CI_verification/test_bitfile_ZCU104.sh

diff --git a/Cortex-M0/nanosoc/systems/mcu/fpga_imp/CI_verification/test_bitfile_ZCU104.sh b/Cortex-M0/nanosoc/systems/mcu/fpga_imp/CI_verification/test_bitfile_ZCU104.sh
new file mode 100644
index 0000000..d7076bd
--- /dev/null
+++ b/Cortex-M0/nanosoc/systems/mcu/fpga_imp/CI_verification/test_bitfile_ZCU104.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+if (grep -r "Overlay Loaded" ./screenlog)
+then
+  echo "Bit file loaded successfully"
+else
+  echo "Bit file load failed"
+  exit 1
+fi
-- 
GitLab