Xpmon[0]> t99

Running all tests:

Performing SPRAG tests …

.

.

testing many functions

.

.

All tests should run without any errors. If any errors occur please contact Texas Memory Systems.

3.3.2 Programming Example Confidence Test

The XP-15 confidence test is located on the XP-15 software CDROM in the examples/cfft directory, and a listing of the source code can be found in Appendix A. This simple application creates a signal containing a single impulse, transfers the signal from host memory to XP-15 local memory, performs a one million point complex FFT on the signal in the XP-15, reads the results back to host memory, and checks the results.

Copy the contents of the examples/cfft/ directory from the CDROM to a suitable local directory. For instructions on reading the CDROM, please refer to the Installing the XP-15 Software section for the relevant computer and operating system earlier in this document.

% cp $CDROM/sources/examples/cfft/* .

This will copy two files from the CDROM: cfft.c and Makefile. The make utility can be used to build the program. The make file assumes that the XP-15 software has been installed in the $TMS directory as described in the software installation section above. If this is not so, then the make file will have to be modified to reflect the new software location.

% make

gcc -I$TMS/include -o cfft cfft.c -L$TMS/lib –lvp -lsam

XP-15 User Guide

Texas Memory Systems, Inc. (8/6/01)

3-3

Page 7
Image 7
Texas Memory Systems XP-15 manual Make Gcc -I$TMS/include -o cfft cfft.c -L$TMS/lib -lvp -lsam