From fa34220b481c8bae7930e13d127500bf72e6d397 Mon Sep 17 00:00:00 2001 From: Daniel Newbrook <dwn1c21@soton.ac.uk> Date: Tue, 7 Mar 2023 16:50:27 +0000 Subject: [PATCH] Fixed set_env.sh SHA_2_ACC_DIR export --- set_env.sh | 4 ++-- simulate/stimulus/system/input_data_32bit_stim.csv | 14 +++++++------- simulate/stimulus/system/output_hash_32bit_ref.csv | 14 +++++++------- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/set_env.sh b/set_env.sh index d643e4e..3e3d269 100755 --- a/set_env.sh +++ b/set_env.sh @@ -21,8 +21,8 @@ if [ -z $DESIGN_ROOT ]; then fi # Set Environment Variable for this Repository -export SHA_2_ACC_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" - +export SHA_2_ACC_DIR="$( cd -- "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 ; pwd -P )" +echo $SHA_2_ACC_DIR # If this Repo is root of workspace if [ $SHA_2_ACC_DIR = $DESIGN_ROOT ]; then echo "Design Workspace: $SHA_2_ACC_DIR" diff --git a/simulate/stimulus/system/input_data_32bit_stim.csv b/simulate/stimulus/system/input_data_32bit_stim.csv index 78ad4d0..27f41ce 100644 --- a/simulate/stimulus/system/input_data_32bit_stim.csv +++ b/simulate/stimulus/system/input_data_32bit_stim.csv @@ -1,5 +1,5 @@ 94748770,0,1 -e3109cc ,0,1 +e3109cc,0,1 c4411b41,0,1 5349fe99,0,1 bc3bdfc1,0,1 @@ -41,7 +41,7 @@ ed5fbca6,0,1 aa1320aa,0,1 9fcb8eb3,0,1 6bf549d9,0,1 -49bd3de ,0,1 +49bd3de,0,1 dd09fb8d,0,1 1285908a,0,1 3eb37ea8,0,1 @@ -51,7 +51,7 @@ a2264db5,0,1 4ba05e93,0,1 b60ac4cb,0,1 9edcb672,0,1 -637780 ,0,1 +637780,0,1 860e62d9,0,1 8a983052,0,1 35e38f6f,0,1 @@ -109,12 +109,12 @@ ea97471c,0,1 b3733250,0,1 75028929,0,1 230c2b19,0,1 -bfe6ea9 ,1,1 +bfe6ea9,1,1 ec8225d7,0,1 9193267a,0,1 c3f24d94,0,1 b295566e,0,1 -34a0bc0 ,0,1 +34a0bc0,0,1 1a4d2e6b,0,1 a6ed70c9,0,1 4d573f76,0,1 @@ -123,13 +123,13 @@ db750cbb,0,1 4138b929,0,1 d67d1bbd,0,1 24fdf316,0,1 -650c084 ,0,1 +650c084,0,1 f95e6e9c,0,1 877e2642,1,1 387dc590,0,1 2966f6a3,0,1 add14662,0,1 -bc2175e ,0,1 +bc2175e,0,1 3d2556a0,0,1 335c30a8,0,1 50e7e900,0,1 diff --git a/simulate/stimulus/system/output_hash_32bit_ref.csv b/simulate/stimulus/system/output_hash_32bit_ref.csv index 76655dd..918518f 100644 --- a/simulate/stimulus/system/output_hash_32bit_ref.csv +++ b/simulate/stimulus/system/output_hash_32bit_ref.csv @@ -1,7 +1,7 @@ e06f1bef,0,1 f498916a,0,1 4686ebb1,0,1 -dc803e5 ,0,1 +dc803e5,0,1 960ea091,0,1 eb558be4,0,1 e14c46de,0,1 @@ -25,14 +25,14 @@ ed646faf,1,1 ad5d7f58,0,1 c619f73f,0,1 5a54de49,0,1 -38b0529 ,0,1 +38b0529,0,1 92343513,0,1 ea3cf2a9,0,1 5a1b530b,0,1 49393b4e,1,1 105755f3,0,1 1ca8459e,0,1 -8ffade5 ,0,1 +8ffade5,0,1 29a2e390,0,1 c6905543,0,1 5ed0766b,0,1 @@ -46,9 +46,9 @@ ee44b230,0,1 96ee3bc5,0,1 96cf9939,0,1 38849fc2,1,1 -b51e243 ,0,1 +b51e243,0,1 37b05a4b,0,1 -2497784 ,0,1 +2497784,0,1 aed161d2,0,1 7f6590f6,0,1 479570fd,0,1 @@ -74,7 +74,7 @@ b6a8cf6c,0,1 b8a4b430,0,1 9fe9980d,0,1 80069d04,0,1 -93d866f ,0,1 +93d866f,0,1 7af5e3f6,0,1 cc432473,0,1 -90f1978 ,1,1 +90f1978,1,1 -- GitLab