From 0ddd48965bfa1dd643a62021cdaef975da0f2154 Mon Sep 17 00:00:00 2001
From: dam1n19 <dam1n19@soton.ac.uk>
Date: Wed, 17 May 2023 09:46:16 +0100
Subject: [PATCH] SOC1-204: SoCSim moved to tools directory

---
 flow/socsim | 47 -----------------------------------------------
 1 file changed, 47 deletions(-)
 delete mode 100755 flow/socsim

diff --git a/flow/socsim b/flow/socsim
deleted file mode 100755
index 194c887..0000000
--- a/flow/socsim
+++ /dev/null
@@ -1,47 +0,0 @@
-#-----------------------------------------------------------------------------
-# SoC Labs socsim script to run required simulation
-# A joint work commissioned on behalf of SoC Labs, under Arm Academic Access license.
-#
-# Contributors
-#
-# David Mapstone (d.a.mapstone@soton.ac.uk)
-#
-# Copyright 2023, SoC Labs (www.soclabs.org)
-#-----------------------------------------------------------------------------
-
-#!/usr/bin/env bash
-
-# Check arguments passed to SoCSim
-if [ $# -eq 0 ]
-  then
-    echo "No arguments supplied"
-else 
-
-    # If clean command passed in clean a specific directory or all
-    if [ ${1} == "clean" ]; then
-        if [ $# -eq 1 ];  then
-            echo "No clean arguments supplied"
-        else
-            if [ ${2} == "all" ]; then
-                # Clean all simualation directories
-                echo "Cleaning all Project Simulation Directories"
-                rm -rf $PROJECT_DIR/simulate/sim
-                mkdir -p $PROJECT_DIR/simulate/sim
-            else
-                # Remove specific simulaiton directory
-                SIM_DIR=$PROJECT_DIR/simulate/sim/${2}
-                if [ -d "$SIM_DIR" ]; then
-                    rm -rf $SIM_DIR
-                else 
-                    echo "Simulation Directory '${2}' doesn't exist"
-                fi
-            fi
-        fi
-    fi
-
-    # Find a simulation script in the SoCSim environments of all subrepos
-    simscript=$(find ${SOCSIM_PATH//:/\ } -name "${1}.sh")
-
-    # Run Script if Found
-    $simscript $@
-fi
\ No newline at end of file
-- 
GitLab