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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [or1ksim.tests/] [pcu.exp] - Blame information for rev 639

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 556 julius
# pcu.exp - performance counters unit
2
 
3
# Contributor Julius Baxter 
4
 
5
# This file is part of OpenRISC 1000 Architectural Simulator.
6
 
7
# This program is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by the Free
9
# Software Foundation; either version 3 of the License, or (at your option)
10
# any later version.
11
 
12
# This program is distributed in the hope that it will be useful, but WITHOUT
13
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
15
# more details.
16
 
17
# You should have received a copy of the GNU General Public License along
18
# with this program.  If not, see .  */
19
 
20
# -----------------------------------------------------------------------------
21
# This code is commented throughout for use with Doxygen.
22
# -----------------------------------------------------------------------------
23
 
24
 
25
# Run the l.ext test
26
run_or1ksim "pcu"               \
27
    [list "report(0x00000046);" \
28
          "report(0x00000000);" \
29
          "report(0x00000001);" \
30
          "report(0x00000002);" \
31
          "report(0x00000003);" \
32
          "report(0x00000004);" \
33
          "report(0x00000005);" \
34
          "report(0x00000006);" \
35
          "report(0x00000007);" \
36
          "report(0x0000004a);" \
37
          "report(0x00000000);" \
38
          "report(0x00000001);" \
39
          "report(0x00000002);" \
40
          "report(0x00000003);" \
41
          "report(0x00000004);" \
42
          "report(0x00000005);" \
43
          "report(0x00000006);" \
44
          "report(0x00000007);" \
45
          "report(0x00002006);" \
46
          "report(0x00000000);" \
47
          "report(0x00000001);" \
48
          "report(0x00000002);" \
49
          "report(0x00000003);" \
50
          "report(0x00000004);" \
51
          "report(0x00000005);" \
52
          "report(0x00000006);" \
53
          "report(0x00000007);" \
54
          "report(0x00001006);" \
55
          "report(0x00000000);" \
56
          "report(0x00000001);" \
57
          "report(0x00000002);" \
58
          "report(0x00000003);" \
59
          "report(0x00000004);" \
60
          "report(0x00000005);" \
61
          "report(0x00000006);" \
62
          "report(0x00000007);" \
63
          "report(0x00000106);" \
64
          "report(0x00000000);" \
65
          "report(0x00000001);" \
66
          "report(0x00000002);" \
67
          "report(0x00000003);" \
68
          "report(0x00000004);" \
69
          "report(0x00000005);" \
70
          "report(0x00000006);" \
71
          "report(0x00000007);" \
72
          "report(0x00000086);" \
73
          "report(0x00000000);" \
74
          "report(0x00000001);" \
75
          "report(0x00000002);" \
76
          "report(0x00000003);" \
77
          "report(0x00000004);" \
78
          "report(0x00000005);" \
79
          "report(0x00000006);" \
80
          "report(0x00000007);" \
81
          "!report(0xdeaddead);" \
82
         "!exit(0)"]             \
83
    "pcu.cfg" "pcu/pcu"

powered by: WebSVN 2.1.0

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