OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [or1ksim.tests/] [eth.exp] - Blame information for rev 509

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

Line No. Rev Author Line
1 82 jeremybenn
# eth.exp. Ethernet 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 Ethernet test
28
run_or1ksim "eth"                  \
29 104 jeremybenn
    [list "!Starting Ethernet test" \
30 82 jeremybenn
          "enable ints"            \
31
          "set mask flags TX"      \
32
          "Init"                   \
33
          "Set BD"                 \
34
          "Set Flags"              \
35
          "Int"                    \
36
          "Transmit Frame."        \
37
          "seting mask flag RX"    \
38
          "Set BD"                 \
39
          "SetFlags"               \
40
          "Int"                    \
41
          "Receive Frame"          \
42 104 jeremybenn
          "!Ending Ethernet test"   \
43
          "!report(0xdeaddead);"    \
44
          "!exit(0)"]               \
45 82 jeremybenn
    "eth.cfg" "eth/eth"

powered by: WebSVN 2.1.0

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