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

Subversion Repositories amber

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

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

Rev 67 Rev 75
Line 48... Line 48...
AMBER_LOG_FILE="tests.log"
AMBER_LOG_FILE="tests.log"
SET_G=0
SET_G=0
SET_M=0
SET_M=0
SET_T=0
SET_T=0
SET_S=0
SET_S=0
SET_A=0
 
SET_5=0
SET_5=0
SET_L=0
SET_L=0
 
 
 
 
# show program usage
# show program usage
show_usage() {
show_usage() {
    echo "Usage:"
    echo "Usage:"
    echo "run <test_name> [-a] [-g] [-d] [-t] [-s] [-v]"
    echo "run <test_name> [-a] [-g] [-d] [-t] [-s] [-v]"
    echo " -h : Help"
    echo " -h : Help"
    echo " -a : Run hardware tests (all tests in \$AMBER_BASE/hw/tests)"
 
    echo " -g : Use ISIM GUI"
    echo " -g : Use ISIM GUI"
    echo " -l : Create dump of complete design"
    echo " -l : Create dump of complete design"
    echo " -s : Use Xilinx Spatran6 Libraries (slower sim)"
    echo " -s : Use Xilinx Spatran6 Libraries (slower sim)"
    echo " -5 : Use Amber25 core instead of Amber23 core"
    echo " -5 : Use Amber25 core instead of Amber23 core"
    echo ""
    echo ""
Line 97... Line 95...
while [ "$1" ]
while [ "$1" ]
do
do
    case $1 in
    case $1 in
        -*)  true ;
        -*)  true ;
            case $1 in
            case $1 in
                -a)     SET_A=1   # all tests
 
                        shift ;;
 
                -s)     SET_S=1   # Xilinx Spartan6 libs
                -s)     SET_S=1   # Xilinx Spartan6 libs
                        shift ;;
                        shift ;;
                -5)     SET_5=1   # Amber25 core (default is Amber23 core)
                -5)     SET_5=1   # Amber25 core (default is Amber23 core)
                        shift ;;
                        shift ;;
                -g)     SET_G=1   # Bring up GUI
                -g)     SET_G=1   # Bring up GUI

powered by: WebSVN 2.1.0

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