fix ibex regression script (#165)

This commit is contained in:
taoliug 2019-07-16 17:56:39 -07:00 committed by GitHub
parent b7ef64b62d
commit c96ece0429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,10 +68,10 @@ fi
OUT="$RUN_DIR/rtl_sim"
CWD=`pwd`
OPTS=""
# Run each test
while read asm_test; do
OPTS=""
SRC=$(echo "$asm_test" | sed 's/^.*\///g' | sed 's/\.S>*$//g')
BINFILE="$asm_test.bin"
mkdir -p $OUT/$SRC
@ -89,10 +89,10 @@ while read asm_test; do
-assert nopostproc \
-cm_name test_${SEED}"
fi
if [[ $BINFILE =~ ebreak ]]; then
if [[ "$BINFILE" =~ "ebreak" ]]; then
OPTS="+enable_debug_seq=1"
fi
if [[ $BINFILE =~ wfi ]]; then
if [[ "$BINFILE" =~ "wfi" ]]; then
OPTS="+enable_irq_seq=1"
fi
CMD="$OUT/vcs_simv +UVM_TESTNAME=core_ibex_base_test \