1 |
82 |
jeremybenn |
# MMU 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 Ethernet test
|
28 |
|
|
run_or1ksim "mmu" \
|
29 |
|
|
[list "ea = 0017bffc set = 61 way = 0" \
|
30 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
31 |
|
|
"ea = 0017e000 set = 63 way = 0" \
|
32 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
33 |
|
|
"ea = 0027bffc set = 61 way = 0" \
|
34 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
35 |
|
|
"ea = 0027e000 set = 63 way = 0" \
|
36 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
37 |
|
|
"ea = 0047bffc set = 61 way = 0" \
|
38 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
39 |
|
|
"ea = 0047e000 set = 63 way = 0" \
|
40 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
41 |
|
|
"ea = 0087bffc set = 61 way = 0" \
|
42 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
43 |
|
|
"ea = 0087e000 set = 63 way = 0" \
|
44 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
45 |
|
|
"ea = 0107bffc set = 61 way = 0" \
|
46 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
47 |
|
|
"ea = 0107e000 set = 63 way = 0" \
|
48 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
49 |
|
|
"ea = 0207bffc set = 61 way = 0" \
|
50 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
51 |
|
|
"ea = 0207e000 set = 63 way = 0" \
|
52 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
53 |
|
|
"ea = 0407bffc set = 61 way = 0" \
|
54 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
55 |
|
|
"ea = 0407e000 set = 63 way = 0" \
|
56 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
57 |
|
|
"ea = 0807bffc set = 61 way = 0" \
|
58 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
59 |
|
|
"ea = 0807e000 set = 63 way = 0" \
|
60 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
61 |
|
|
"ea = 1007bffc set = 61 way = 0" \
|
62 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
63 |
|
|
"ea = 1007e000 set = 63 way = 0" \
|
64 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
65 |
|
|
"ea = 2007bffc set = 61 way = 0" \
|
66 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
67 |
|
|
"ea = 2007e000 set = 63 way = 0" \
|
68 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
69 |
|
|
"ea = 4007bffc set = 61 way = 0" \
|
70 |
|
|
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
71 |
|
|
"ea = 4007e000 set = 63 way = 0" \
|
72 |
|
|
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
73 |
93 |
jeremybenn |
"ea = 8007bffc set = 61 way = 0" \
|
74 |
82 |
jeremybenn |
"tlbtr = 0017b3c0 dtlb_val = 000003c0" \
|
75 |
93 |
jeremybenn |
"ea = 8007e000 set = 63 way = 0" \
|
76 |
82 |
jeremybenn |
"tlbtr = 0017e3c0 dtlb_val = 000003c0" \
|
77 |
|
|
"ea = 0027c000 set = 62 way = 0" \
|
78 |
|
|
"tlbtr = 0017c3c0 dtlb_val = 000003c0" \
|
79 |
|
|
"ea = 0027c000 set = 62 way = 0" \
|
80 |
|
|
"tlbtr = 0017c3c0 dtlb_val = 000003c0" \
|
81 |
|
|
"ea = 0017c000 set = 62 way = 0" \
|
82 |
|
|
"ea = 0017c000 set = 62 way = 0" \
|
83 |
|
|
"ea = 0017c000 set = 62 way = 0" \
|
84 |
|
|
"ea = 0017c000 set = 62 way = 0" \
|
85 |
|
|
"ea = 0017bff8 set = 61 way = 0" \
|
86 |
|
|
"ta = 0017bff8" \
|
87 |
|
|
"ea = 0017e000 set = 63 way = 0" \
|
88 |
|
|
"ta = 0017e000" \
|
89 |
|
|
"ea = 0027bff8 set = 61 way = 0" \
|
90 |
|
|
"ta = 0017bff8" \
|
91 |
|
|
"ea = 0027e000 set = 63 way = 0" \
|
92 |
|
|
"ta = 0017e000" \
|
93 |
|
|
"ea = 0047bff8 set = 61 way = 0" \
|
94 |
|
|
"ta = 0017bff8" \
|
95 |
|
|
"ea = 0047e000 set = 63 way = 0" \
|
96 |
|
|
"ta = 0017e000" \
|
97 |
|
|
"ea = 0087bff8 set = 61 way = 0" \
|
98 |
|
|
"ta = 0017bff8" \
|
99 |
|
|
"ea = 0087e000 set = 63 way = 0" \
|
100 |
|
|
"ta = 0017e000" \
|
101 |
|
|
"ea = 0107bff8 set = 61 way = 0" \
|
102 |
|
|
"ta = 0017bff8" \
|
103 |
|
|
"ea = 0107e000 set = 63 way = 0" \
|
104 |
|
|
"ta = 0017e000" \
|
105 |
|
|
"ea = 0207bff8 set = 61 way = 0" \
|
106 |
|
|
"ta = 0017bff8" \
|
107 |
|
|
"ea = 0207e000 set = 63 way = 0" \
|
108 |
|
|
"ta = 0017e000" \
|
109 |
|
|
"ea = 0407bff8 set = 61 way = 0" \
|
110 |
|
|
"ta = 0017bff8" \
|
111 |
|
|
"ea = 0407e000 set = 63 way = 0" \
|
112 |
|
|
"ta = 0017e000" \
|
113 |
|
|
"ea = 0807bff8 set = 61 way = 0" \
|
114 |
|
|
"ta = 0017bff8" \
|
115 |
|
|
"ea = 0807e000 set = 63 way = 0" \
|
116 |
|
|
"ta = 0017e000" \
|
117 |
|
|
"ea = 1007bff8 set = 61 way = 0" \
|
118 |
|
|
"ta = 0017bff8" \
|
119 |
|
|
"ea = 1007e000 set = 63 way = 0" \
|
120 |
|
|
"ta = 0017e000" \
|
121 |
|
|
"ea = 2007bff8 set = 61 way = 0" \
|
122 |
|
|
"ta = 0017bff8" \
|
123 |
|
|
"ea = 2007e000 set = 63 way = 0" \
|
124 |
|
|
"ta = 0017e000" \
|
125 |
|
|
"ea = 4007bff8 set = 61 way = 0" \
|
126 |
|
|
"ta = 0017bff8" \
|
127 |
|
|
"ea = 4007e000 set = 63 way = 0" \
|
128 |
|
|
"ta = 0017e000" \
|
129 |
93 |
jeremybenn |
"ea = 8007bff8 set = 61 way = 0" \
|
130 |
82 |
jeremybenn |
"ta = 0017bff8" \
|
131 |
93 |
jeremybenn |
"ea = 8007e000 set = 63 way = 0" \
|
132 |
82 |
jeremybenn |
"ta = 0017e000" \
|
133 |
|
|
"ea = 0027e000 set = 63 way = 0" \
|
134 |
|
|
"ta = 0017e000" \
|
135 |
|
|
"ea = 0027e000 set = 63 way = 0" \
|
136 |
|
|
"ta = 0017e000" \
|
137 |
|
|
"ea = 0017c000 set = 62 way = 0" \
|
138 |
|
|
"ea = 0017c000 set = 62 way = 0" \
|
139 |
|
|
"report(0xdeaddead);" \
|
140 |
|
|
"exit(0)"] \
|
141 |
|
|
"mmu.cfg" "mmu/mmu"
|