URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
82 |
jeremybenn |
# except-test.exp. Exception test using DejaGNU under automake
|
2 |
|
|
|
3 |
|
|
# Copyright (C) 2010 Embecosm Limited
|
4 |
|
|
|
5 |
|
|
# Contributor Jeremy Bennett
|
6 |
|
|
|
7 |
|
|
# This file is part of OpenRISC 1000 Architectural Simulator.
|
8 |
|
|
|
9 |
|
|
# This program is free software; you can redistribute it and/or modify it
|
10 |
|
|
# under the terms of the GNU General Public License as published by the Free
|
11 |
|
|
# Software Foundation; either version 3 of the License, or (at your option)
|
12 |
|
|
# any later version.
|
13 |
|
|
|
14 |
|
|
# This program is distributed in the hope that it will be useful, but WITHOUT
|
15 |
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
16 |
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
17 |
|
|
# more details.
|
18 |
|
|
|
19 |
|
|
# You should have received a copy of the GNU General Public License along
|
20 |
|
|
# with this program. If not, see . */
|
21 |
|
|
|
22 |
|
|
# -----------------------------------------------------------------------------
|
23 |
|
|
# This code is commented throughout for use with Doxygen.
|
24 |
|
|
# -----------------------------------------------------------------------------
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
# Run the Exception test
|
28 |
|
|
run_or1ksim "except-test" \
|
29 |
|
|
[list "except_test" \
|
30 |
|
|
"dtlb_test" \
|
31 |
|
|
"buserr_test" \
|
32 |
104 |
jeremybenn |
"!EXCEPTION: read out of memory (32-bit access to 0400e000)" \
|
33 |
|
|
"!EXCEPTION: read out of memory (32-bit access to 04000000)" \
|
34 |
|
|
"!EXCEPTION: read out of memory (32-bit access to 04006000)" \
|
35 |
|
|
"!EXCEPTION: read out of memory (32-bit access to 04004000)" \
|
36 |
82 |
jeremybenn |
"illegal_insn_test" \
|
37 |
|
|
"align_test" \
|
38 |
|
|
"trap_test" \
|
39 |
|
|
"except_priority_test" \
|
40 |
104 |
jeremybenn |
"!EXCEPTION: read out of memory (32-bit access to 0400c000)" \
|
41 |
|
|
"!EXCEPTION: read out of memory (32-bit access to 04004000)" \
|
42 |
|
|
"!report(0xdeaddead);" \
|
43 |
|
|
"!exit(0)"] \
|
44 |
82 |
jeremybenn |
"" "except-test/except-test"
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.