URL
https://opencores.org/ocsvn/fpu/fpu/trunk
[/] [fpu/] [trunk/] [test_vectors/] [README] - Blame information for rev 11
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
2 |
rudi |
|
2 |
|
|
Test Vectors
|
3 |
|
|
============
|
4 |
|
|
|
5 |
|
|
To make all the test vectors you need a program called 'pg'.
|
6 |
|
|
The included 'pg' is a Windows executable, build on a NT
|
7 |
|
|
system. If you need to compile your own 'pg' see the README
|
8 |
|
|
file in pg-src directory.
|
9 |
|
|
|
10 |
|
|
The script 'mkall' builds all test vectors and places them
|
11 |
|
|
in to the proper directories.
|
12 |
|
|
|
13 |
8 |
rudi |
The script 'mkall_cfmp' builds all test vectors for FP compare
|
14 |
|
|
and places them in to the proper directories.
|
15 |
|
|
|
16 |
2 |
rudi |
There are currently two types of tests:
|
17 |
|
|
|
18 |
|
|
1) Directed Test. This test, test a specific funstional unit
|
19 |
|
|
and a specific rounding mode. They are located in the
|
20 |
|
|
directories rtne, rtzero, rup and rdown (Which represent
|
21 |
|
|
the different rounding modes).
|
22 |
|
|
|
23 |
|
|
2) Completely Random Tests. Here the operation type and rounding
|
24 |
|
|
mode are randomly selected and may change every cycle. This
|
25 |
|
|
tests are located in the combo directory.
|
26 |
|
|
|
27 |
8 |
rudi |
There are currently 14,808,684 FPU test vectors and 600,188 FP
|
28 |
|
|
compare test vectors!
|
29 |
2 |
rudi |
|
30 |
8 |
rudi |
WARNING: You need about 480Mb of disk space to build all test
|
31 |
2 |
rudi |
vectors !!!
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.