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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [or1ksim.tests/] [kbdtest.exp] - Blame information for rev 584

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

Line No. Rev Author Line
1 82 jeremybenn
# kbdtest.exp. Keyboard 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 keyboard test. Note the need for double quoting of "backslash"
28
# characters.
29 93 jeremybenn
run_or1ksim "kbdtest"              \
30 104 jeremybenn
    [list "!Reading from keyboard." \
31 93 jeremybenn
          "Enabling interrupts."   \
32
          "Received 'T'"           \
33
          "Received 'e'"           \
34
          "Received '3'"           \
35
          "Received '+'"           \
36
          "Received '='"           \
37
          "Received '-'"           \
38
          "Received '<'"           \
39
          "Received '/'"           \
40
          "Received '.'"           \
41 104 jeremybenn
          "Received '\\'"          \
42 93 jeremybenn
          "Received '|'"           \
43
          "Received '\"'"          \
44 104 jeremybenn
          "Received '\''"          \
45 93 jeremybenn
          "Received '`'"           \
46
          "Received '}'"           \
47
          "Received ']'"           \
48
          "Received: TAB"          \
49
          "Received: SPACE"        \
50
          "Received '!'"           \
51
          "Received '%'"           \
52
          "Received '^'"           \
53
          "Received '&'"           \
54
          "Received ')'"           \
55
          "Received '*'"           \
56
          "Received: ENTER"        \
57 104 jeremybenn
          "!report(0xdeaddead);"    \
58
          "!exit(0)"]               \
59 82 jeremybenn
    "kbdtest.cfg" "kbdtest/kbdtest"

powered by: WebSVN 2.1.0

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