
PCI CD/CDa Configurable DMA Interface User’s Guide Testing
EDT, Inc. May 2007 9
Testing
When you run this test, the PCI CD/CDa is configured with the FPGA configuration file xtest.bit. For
normal operation, reconfigure the board with
initpcd after completing the test, as described in
Loading the UI FPGA Firmware and Configuring the PCI CD/CDa on page 8, to reconfigure the board
with the correct UI Xilinx configuration file.
To verify that installation was successful and that the PCI CD/CDa is operating correctly, run
xtest.
At a command prompt, enter:
xtest -i 4096
The number following
-i specifies the number of bytes to test. The PCI CD returns test status
information. The following is an example of proper behavior, although details will vary:
reading 4096 words
buf at 820000
testing dirreg at 4 4
testing dirout at 8 8
testing dirin at 8 c
testing ctlout at a a
testing ctlin at a e
Calling DMA read 8192 at 820000
return to do read:
read returned length 8192
Done.
checking data
4096 words 0 errors
buf 0 820000
buf 1 920000
reading 100 buffers of 1048576 bytes from unit 0 with 2 bufs
return to start: starting read at 820000
starting read at 920000
hit return to continue:
counter0 4628 2362958141 counter1 4628 3122437420 freq 0 266230000
dtime 759479279.000000 ticktime 266230000.000000
time is 2.852719 sec
36757077.671371 bytes/sec
Problems are indicated by the string
ERROR - followed by an error message. If you do not see such a
string in the output, then the test completed satisfactorily.
Comentarios a estos manuales