Skip to content
Snippets Groups Projects
Commit 9630ed07 authored by dam1n19's avatar dam1n19
Browse files

Added regression SoCSim script

parent ec8391fb
No related branches found
No related tags found
1 merge request!1Changed set_env flow to source script in soctools and breadcrumb left in...
#-----------------------------------------------------------------------------
# SoC Labs Simulation script for system level verification
# 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
# Get simulation name from name of script
SIM_NAME=`basename -s .sh "$0"`
# Directory to put simulation files
SIM_DIR=$SOCLABS_PROJECT_DIR/simulate/sim/$SIM_NAME
# Create Directory to put simulation files
mkdir -p $SIM_DIR
cd $SOCLABS_PROJECT_DIR/simulate/sim/$SIM_NAME
# Compile Simulation
# Call makefile in NanoSoC Repo with options
echo ${2}
make -C $SOCLABS_NANOSOC_TECH_DIR regression_mti \
SIM_DIR=$SIM_DIR \
ACCELERATOR=yes \
${@:2}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment