OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [isim/] [run.sh] - Diff between revs 63 and 67

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 63 Rev 67
Line 199... Line 199...
        BOOT_MEM_PARAMS_FILE="../../sw/${AMBER_TEST_NAME}/${AMBER_TEST_NAME}_memparams32.v"
        BOOT_MEM_PARAMS_FILE="../../sw/${AMBER_TEST_NAME}/${AMBER_TEST_NAME}_memparams32.v"
    fi
    fi
 
 
elif [ $TEST_TYPE == 3 ] || [ $TEST_TYPE == 4 ]; then
elif [ $TEST_TYPE == 3 ] || [ $TEST_TYPE == 4 ]; then
    # sw test using boot loader
    # sw test using boot loader
    pushd ../../sw/boot-loader > /dev/null
    pushd ../../sw/boot-loader-serial > /dev/null
    make
    make
    MAKE_STATUS=$?
    MAKE_STATUS=$?
    popd > /dev/null
    popd > /dev/null
    if [ $MAKE_STATUS != 0 ]; then
    if [ $MAKE_STATUS != 0 ]; then
        echo "Error compiling boot-loader"
        echo "Error compiling boot-loader-serial"
        exit 1
        exit 1
    fi
    fi
 
 
    pushd ../../sw/${AMBER_TEST_NAME} > /dev/null
    pushd ../../sw/${AMBER_TEST_NAME} > /dev/null
    if [ -e Makefile ]; then
    if [ -e Makefile ]; then
        make
        make
    fi
    fi
    MAKE_STATUS=$?
    MAKE_STATUS=$?
    popd > /dev/null
    popd > /dev/null
 
 
    BOOT_MEM_FILE="../../sw/boot-loader/boot-loader.mem"
    BOOT_MEM_FILE="../../sw/boot-loader-serial/boot-loader-serial.mem"
    if [ $SET_5 == 1 ]; then
    if [ $SET_5 == 1 ]; then
        BOOT_MEM_PARAMS_FILE="../../sw/boot-loader/boot-loader_memparams128.v"
        BOOT_MEM_PARAMS_FILE="../../sw/boot-loader-serial/boot-loader-serial_memparams128.v"
    else
    else
        BOOT_MEM_PARAMS_FILE="../../sw/boot-loader/boot-loader_memparams32.v"
        BOOT_MEM_PARAMS_FILE="../../sw/boot-loader-serial/boot-loader-serial_memparams32.v"
    fi
    fi
    MAIN_MEM_FILE="../../sw/${AMBER_TEST_NAME}/${AMBER_TEST_NAME}.mem"
    MAIN_MEM_FILE="../../sw/${AMBER_TEST_NAME}/${AMBER_TEST_NAME}.mem"
    AMBER_LOAD_MAIN_MEM="-d AMBER_LOAD_MAIN_MEM"
    AMBER_LOAD_MAIN_MEM="-d AMBER_LOAD_MAIN_MEM"
 
 
else
else

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.