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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [or1ksim.tests/] [mem-test.exp] - Blame information for rev 178

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

Line No. Rev Author Line
1 82 jeremybenn
# mem-test.exp. Simple memory 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 simple memory test.
28
run_or1ksim "mem-test"          \
29
    [list "report(0x12345678);" \
30
          "report(0x00001234);" \
31
          "report(0x00005678);" \
32
          "report(0x00000012);" \
33
          "report(0x00000034);" \
34
          "report(0x00000056);" \
35
          "report(0x00000078);" \
36
          "report(0xdeaddead);" \
37
          "report(0x5678dead);" \
38
          "report(0x56781234);" \
39
          "report(0xdd781234);" \
40
          "report(0xddcc1234);" \
41
          "report(0xddccbb34);" \
42
          "report(0xddccbbaa);" \
43
          "report(0xda25e544);" \
44
          "report(0xdeaddead);" \
45 104 jeremybenn
          "!exit(0)"]            \
46 82 jeremybenn
    "" "mem-test/mem-test"

powered by: WebSVN 2.1.0

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