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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [or1ksim.tests/] [cbasic.exp] - Blame information for rev 530

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

Line No. Rev Author Line
1 82 jeremybenn
# cbasic.exp. Test of C program functionality 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 basic C functionality test.
28
run_or1ksim "cbasic"              \
29
    [list "report(0xffffffda);" \
30
          "report(0xffffffc5);" \
31
          "report(0x00006805);" \
32
          "report(0xffff97f9);" \
33
          "report(0xffff97f9);" \
34
          "report(0x7a55957c);" \
35
          "report(0x81e5e000);" \
36
          "report(0x00000074);" \
37
          "report(0x00000074);" \
38
          "report(0x00000074);" \
39
          "report(0x00000001);" \
40
          "report(0x00000d7c);" \
41
          "report(0x00000074);" \
42
          "report(0x00000074);" \
43
          "report(0x00000074);" \
44
          "report(0xffffffff);" \
45
          "report(0x00000d7a);" \
46
          "report(0x00000d7a);" \
47 93 jeremybenn
          "RESULT: 0xdeaddead"  \
48 104 jeremybenn
          "!report(0xdeaddead);" \
49
          "!exit(0)"]            \
50 82 jeremybenn
    "" "cbasic/cbasic"

powered by: WebSVN 2.1.0

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