Skip to content
Snippets Groups Projects
Select Git revision
  • 7535df6b29f7f05bce7226eda3a107604761deea
  • main default protected
2 results

system_secworks_sha256.sh

Blame
  • Forked from SoCLabs / Accelerator Project
    318 commits behind the upstream repository.
    user avatar
    SOC1-167: Bootloader generated code stored in project repository
    dam1n19 authored
    7535df6b
    History
    system_secworks_sha256.sh 944 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=$PROJECT_DIR/simulate/sim/$SIM_NAME
    
    # Create Directory to put simulation files
    mkdir -p $SIM_DIR
    cd $PROJECT_DIR/simulate/sim/system_secworks_sha256
    
    # Compile Simulation
    # Call makefile in NanoSoC Repo with options
    echo ${2}
    make -C $NANOSOC_TECH_DIR/system run_xm \
        SIM_DIR=$SIM_DIR \
        BOOTROM_GEN=yes  \
        ADP_FILE=$PROJECT_DIR/system/stimulus/adp_hash_stim.cmd \
        ${@:2}