From f68b47c9b40e5875223972434b045562f460b8c9 Mon Sep 17 00:00:00 2001
From: David Mapstone <david@mapstone.me>
Date: Thu, 16 Mar 2023 12:28:08 +0000
Subject: [PATCH] SOC1-124: Moved Simulation script to top-level and updated
 subrepos

---
 accelerator-wrapper                              |  2 +-
 simulate/socsim/wrapper_sha256_hashing_stream.sh | 16 ++++++++++++++++
 socsim                                           |  2 +-
 3 files changed, 18 insertions(+), 2 deletions(-)
 create mode 100755 simulate/socsim/wrapper_sha256_hashing_stream.sh

diff --git a/accelerator-wrapper b/accelerator-wrapper
index ed24acb..89c2757 160000
--- a/accelerator-wrapper
+++ b/accelerator-wrapper
@@ -1 +1 @@
-Subproject commit ed24acbb029a15213b628101f59c3e05d22c86c0
+Subproject commit 89c275741c13d77d87eff97825677bbb4d444bb4
diff --git a/simulate/socsim/wrapper_sha256_hashing_stream.sh b/simulate/socsim/wrapper_sha256_hashing_stream.sh
new file mode 100755
index 0000000..008ebf2
--- /dev/null
+++ b/simulate/socsim/wrapper_sha256_hashing_stream.sh
@@ -0,0 +1,16 @@
+#-----------------------------------------------------------------------------
+# SoC Labs icarus verilog simulation script for engine testbench
+# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license.
+#
+# Contributors
+#
+# David Mapstone (d.a.mapstone@soton.ac.uk)
+#
+# Copyright  2022, SoC Labs (www.soclabs.org)
+#-----------------------------------------------------------------------------
+
+#!/usr/bin/env bash
+
+mkdir -p $SOC_TOP_DIR/simulate/sim/ 
+iverilog -c $ACC_WRAPPER_DIR/flist/accelerator_wrapper.flist -c $ACC_WRAPPER_DIR/flist/ahb_ip.flist -c $ACC_ENGINE_DIR/flist/*.flist -I $ACC_WRAPPER_DIR/hdl/verif/ -I $ACC_WRAPPER_DIR/hdl/verif/submodules -I $ACC_WRAPPER_DIR/hdl/src/ -I $ACC_ENGINE_DIR/hdl/src/ -g2012 -o $SOC_TOP_DIR/simulate/sim/wrapper_sha256_hashing_stream.vvp $ACC_WRAPPER_DIR/hdl/verif/tb_wrapper_sha256_hashing_stream.sv
+cd $SOC_TOP_DIR/simulate/sim/ && vvp wrapper_sha256_hashing_stream.vvp +STIMFILE=$ACC_WRAPPER_DIR/simulate/stimulus/ahb_input_hash_stim.m2d
\ No newline at end of file
diff --git a/socsim b/socsim
index 55fae46..f14cbe8 160000
--- a/socsim
+++ b/socsim
@@ -1 +1 @@
-Subproject commit 55fae46b24cd1ec6e93347e553ad3d5e88fc0064
+Subproject commit f14cbe8a2f6124b6bca3a6b23b5e735b715458b7
-- 
GitLab