Skip to content
Snippets Groups Projects
Select Git revision
  • 5d8574a48eb07d01e29a4b259a544928d4b16b25
  • master default protected
2 results

generate-data-trials.sh

Blame
  • regression_nanosoc.sh 892 B
    #-----------------------------------------------------------------------------
    # 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=no \
        ${@:2}