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/] [README] - Diff between revs 432 and 460

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 432 Rev 460
Line 10... Line 10...
chain. This can be found in the "test-code-or1k" directory.
chain. This can be found in the "test-code-or1k" directory.
 
 
Tests are provided for the standalone simulator (or1ksim) and for the library
Tests are provided for the standalone simulator (or1ksim) and for the library
(libsim.a).
(libsim.a).
 
 
At the time of writing a total of 2,537 tests compile, run and pass. That
At the time of writing a total of 2,447 tests compile, run and pass. That
figure is broken down into 2,275 tests of the standalone simulator and 262
figure is broken down into 2,185 tests of the standalone simulator and 262
tests of the library
tests of the library
 
 
Configuration and make files are provided for further test programs. These
Configuration and make files are provided for further test programs. These
come in three categories.
come in three categories.
- Tests which compile correctly, but will not run to completion.
- Tests which compile correctly, but will not run to completion.
Line 44... Line 44...
mc-common:  A library to support the memory controller tests.
mc-common:  A library to support the memory controller tests.
 
 
Working tests
Working tests
=============
=============
 
 
A total of 2,275 tests of standalone Or1ksim:
Tests of standalone Or1ksim:
 
 
basic:             8 tests of a wide range of instructions and registers.
basic:             8 tests of a wide range of instructions and registers.
cache:             5 tests of the Or1ksim cache modeling
cache:            11 tests of the Or1ksim cache modeling
cbasic:           19 tests of minimal C functionality
cbasic:           19 tests of minimal C functionality
cfg:              12 tests of the OR1K configuration register
cfg:              12 tests of the OR1K configuration register
dhry:              1 Dhrystone 2.1 benchmark using Or1ksim's timing facility.
dhry:              1 Dhrystone 2.1 benchmark using Or1ksim's timing facility.
dmatest:           3 tests of DMA.
dmatest:           3 tests of DMA.
eth:              12 tests of the Ethernet interface.
eth:              12 tests of the Ethernet interface.
except-test:       7 tests of OR1K exception handling
except-test:       7 tests of OR1K exception handling
exit:              1 test that C program exits correctly
exit:              1 test that C program exits correctly
ext:             104 tests of the sign extension (l.ext) instructions.
ext:             104 tests of the sign extension (l.ext) instructions.
fbtest:            1 test of the frame buffer.
fbtest:            1 test of the frame buffer.
 
flag:              1 test of Supervision Register (SR) flag bits.
fp               337 tests of floating point functionality (Feature 413).
fp               337 tests of floating point functionality (Feature 413).
functest:         11 tests of the C function calling interface.
functest:         11 tests of the C function calling interface.
flag:              1 test of Supervision Register (SR) flag bits.
 
int-test:         86 tests of the programmable interrupt controller.
 
kbdtest:          26 tests of the PS2 keyboard interface.
 
local-global:      1 test of C local and global variables.
 
inst-set-test:       A collection of tests of individual instructions
inst-set-test:       A collection of tests of individual instructions
  is-add-test    213 tests of the l.add* instructions (Bugs 1771, 1776)
  is-add-test    213 tests of the l.add* instructions (Bugs 1771, 1776)
  is-and-test     80 tests of the l.and* instructions (Bugs 1782-1784)
  is-and-test     80 tests of the l.and* instructions (Bugs 1782-1784)
  is-div-test:   101 tests of the l.div and l.divu instructions (Bug 1770).
  is-div-test:   101 tests of the l.div and l.divu instructions (Bug 1770).
  is-find-test:   14 tests of the l.ff1 and l.fl1 instructions (Bug 1772).
  is-find-test:   14 tests of the l.ff1 and l.fl1 instructions (Bug 1772).
Line 78... Line 75...
  is-ror-test:    36 tests of the l.ror and l.rori instructions (Bug 1778).
  is-ror-test:    36 tests of the l.ror and l.rori instructions (Bug 1778).
  is-shift-test: 344 tests of the shift instructions (Bug 1782-1784).
  is-shift-test: 344 tests of the shift instructions (Bug 1782-1784).
  is-spr-test:    28 tests of the l.mfspr and l.mtspr instructions (Bug 1779).
  is-spr-test:    28 tests of the l.mfspr and l.mtspr instructions (Bug 1779).
  is-sub-test     58 tests of the l.sub instruction (Bugs 1782-1784)
  is-sub-test     58 tests of the l.sub instruction (Bugs 1782-1784)
  is-xor-test     80 tests of the l.xor* instructions (Bugs 1782-1784)
  is-xor-test     80 tests of the l.xor* instructions (Bugs 1782-1784)
 
int-test:         88 tests of the programmable interrupt controller.
 
kbdtest:          26 tests of the PS2 keyboard interface.
 
local-global:      1 test of C local and global variables.
mem-test:         16 tests of simple memory access.
mem-test:         16 tests of simple memory access.
mmu:             110 tests of the MMU.
mmu:              12 tests of the MMU.
mul:               5 tests of the multiply functionality.
mul:               5 tests of the multiply functionality.
mycompress:        1 test using a compression program.
mycompress:        1 test using a compression program.
testfloat         40 tests of detailed floating point behavior
testfloat         40 tests of detailed floating point behavior
tick:             19 tests of the OR1K tick timer.
tick:             19 tests of the OR1K tick timer.
 
 
A total of 262 tests of the libsim library:
Tests of the libsim library:
 
 
int-edge:               6 tests of edge triggered interrupts.
int-edge:               6 tests of edge triggered interrupts.
int-level:              3 tests of level triggered interrupts.
int-level:              3 tests of level triggered interrupts.
lib-iftest:             1 test  of the basic library interface functions.
lib-iftest:             1 test  of the basic library interface functions.
jtag-basic:            17 tests of JTAG reset and instruction selection
jtag-basic:            17 tests of JTAG reset and instruction selection

powered by: WebSVN 2.1.0

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