summaryrefslogtreecommitdiff
path: root/sim-scripts
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-12-01 19:12:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-12-01 19:12:53 +0000
commit6effcd25d3fe3907d2d623b682ebead0ac9d2aee (patch)
tree1b72df2b905a8cbbcef4fe5be35dc995c40860a9 /sim-scripts
parenta72f95b2df33c342a98f0263fe91c2324a4bedfb (diff)
2011-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* jmr3904.in: Add Data Bus Error to detected faults to exit simulator on.
Diffstat (limited to 'sim-scripts')
-rw-r--r--sim-scripts/ChangeLog5
-rw-r--r--sim-scripts/jmr3904.in5
2 files changed, 9 insertions, 1 deletions
diff --git a/sim-scripts/ChangeLog b/sim-scripts/ChangeLog
index aad9d58..4a5fe64 100644
--- a/sim-scripts/ChangeLog
+++ b/sim-scripts/ChangeLog
@@ -1,3 +1,8 @@
+2011-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * jmr3904.in: Add Data Bus Error to detected faults to exit simulator
+ on.
+
2011-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* uC5282.in: Use grep -E rather rather than egrep as Open Group has
diff --git a/sim-scripts/jmr3904.in b/sim-scripts/jmr3904.in
index fe95ac6..7471075 100644
--- a/sim-scripts/jmr3904.in
+++ b/sim-scripts/jmr3904.in
@@ -16,7 +16,10 @@ checkBSPFaults()
exceptionExit=$?
grep "^mips-core: " ${logfile}
badAccessExit=$?
- if [ $badAccessExit -eq 0 -o $exceptionExit -eq 0 ] ; then
+ grep "Data Bus Error" ${logfile}
+ dataBusError=$?
+ if [ $badAccessExit -eq 0 -o $exceptionExit -eq 0 -o \
+ $dataBusError -eq 0 ] ; then
return 1
fi
return 0