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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [or1ksim.tests/] [tick.exp] - Blame information for rev 598

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

Line No. Rev Author Line
1 82 jeremybenn
# tick.exp. Tick timer 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 tick timer test
28
run_or1ksim "tick"                                                            \
29
    [list "Test succeeded Tick timer not counting while disabled"           \
30
          "Test succeeded Tick timer kept counting during continuous mode"  \
31
          "Test succeeded Tick timer continued counting after restart"      \
32
          "Test succeeded Tick timer counter stops when disabled"           \
33
          "Test succeeded Timer stopped after match"                        \
34
          "Test succeeded Timer still indicating one-shot mode after match" \
35
          "Test succeeded One-shot timer stopped"                           \
36
          "Test succeeded No more interrupts after one-shot timer"          \
37
          "Test succeeded IP flag not set after one-shot timer"             \
38
          "Test succeeded Perptual timer kept counting"                     \
39
          "Test succeeded No more interrupts during perpetual timer count"  \
40
          "Test succeeded IP flag not set during perpetual timer count"     \
41
          "Test succeeded No interrupt when tick timer disabled"            \
42
          "Test succeeded TTCR reset while counting"                        \
43
          "Test succeeded Timer started counting from high value"           \
44
          "Test succeeded Auto-restart wrapped round"                       \
45
          "Test succeeded Continuous mode wrapped round"                    \
46 104 jeremybenn
          "!report(0xdeaddead);"                                             \
47
          "!exit(0)"]                                                        \
48 82 jeremybenn
    "" "tick/tick"

powered by: WebSVN 2.1.0

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