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,499 tests compile, run and pass. That
|
At the time of writing a total of 2,539 tests compile, run and pass. That
|
figure is broken down into 2,235 tests of the standalone simulator and 264
|
figure is broken down into 2,275 tests of the standalone simulator and 264
|
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,235 tests of standalone Or1ksim:
|
A total of 2,275 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: 5 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
|
Line 82... |
Line 82... |
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)
|
mem-test: 16 tests of simple memory access.
|
mem-test: 16 tests of simple memory access.
|
mmu: 110 tests of the MMU.
|
mmu: 110 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
|
tick: 19 tests of the OR1K tick timer.
|
tick: 19 tests of the OR1K tick timer.
|
|
|
A total of 264 tests of the libsim library:
|
A total of 264 tests of the libsim library:
|
|
|
int-edge: 6 tests of edge triggered interrupts.
|
int-edge: 6 tests of edge triggered interrupts.
|