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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [README] - Diff between revs 116 and 118

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

Rev 116 Rev 118
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 1,450 tests compile, run and pass. That
At the time of writing a total of 1,766 tests compile, run and pass. That
figure is broken down into 1,186 tests of the standalone simulator and 264
figure is broken down into 1,502 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 1,186 tests of standalone Or1ksim:
A total of 1,502 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 64... Line 64...
flag:              1 test of Supervision Register (SR) flag bits.
flag:              1 test of Supervision Register (SR) flag bits.
int-test:         86 tests of the programmable interrupt controller.
int-test:         86 tests of the programmable interrupt controller.
kbdtest:          26 tests of the PS2 keyboard interface.
kbdtest:          26 tests of the PS2 keyboard interface.
local-global:      1 test of C local and global variables.
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    180 tests of the l.add* instructions (Bugs 1771, 1776)
  is-add-test    213 tests of the l.add* instructions (Bugs 1771, 1776)
  is-div-test:     4 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).
  is-lws-test:    13 tests of the l.lws instruction (Bug 1767).
  is-lws-test:    13 tests of the l.lws instruction (Bug 1767).
  is-mac-test:   189 tests of the MAC instructions (Bug 1773).
  is-mac-test:   189 tests of the MAC instructions (Bugs 1773, 1777).
 
  is-mul-test:   186 tests of the l.mul* instructions (Bug 1774).
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.
tick:             19 tests of the OR1K tick timer.
tick:             19 tests of the OR1K tick timer.
Line 121... Line 122...
 
 
inst-set-test:  a comprehensive test of the instruction set using C.
inst-set-test:  a comprehensive test of the instruction set using C.
 
 
 
 
Updated by Jeremy Bennett (jeremy@jeremybennett.com)
Updated by Jeremy Bennett (jeremy@jeremybennett.com)
3 June 2010
13 June 2010
13 June 2010
13 June 2010

powered by: WebSVN 2.1.0

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