
Configuring the PCD8 PCD8 8-bit DMA Interface User’s Guide
5 EDT, Inc. May 2007
simple_write
Performs DMA output without using ring buffers. Data is therefore subject to
interruptions, depending on system performance.
simple_getdata Serves as an example of a variety of DMA-related operations, including reading the
data from the connector interface and writing it to a file, as well as measuring input
rate.
simple_putdata Serves as an example of a variety of DMA-related operations, including reading
data from a file and writing it out to the connector interface.
test_timeout Under normal operation, timeouts cancel DMA transfers. This application
exemplifies giving notification when a timeout occurs, without canceling DMA
set_ss_vco A utility for programming the output clock or clocks on the PCD8 to specific
frequencies used by the UI FPGA for input and output.
Utility Files
initpcd A utility for initializing and configuring the PCD8.
pdb Utility application that enables interactive reading and writing of the PCI SS/GS UI
FPGA registers.
Testing Files
A variety of files — C source, executables, and FPGA configuration files — are available to test the
boards. Their uses are described in the documents listed under the heading Testing Procedures. They
include at least:
sslooptest Tests most PCI SS- and PCI GS-based boards. Determines the board model and
selects the loopback test to run, then runs it.
xtest Tests the PCI CD and CDa boards, and the single-channel DMA interface for the
PCI SS and PCI GS main boards.
Building Applications
Executable and PCD source files are at the top level of the EDT PCD driver distribution directory. If
you need to rebuild an application, therefore, run
make in this directory.
Windows and Solaris users must install a C compiler. For Windows, we recommend the Microsoft
Visual C compiler; for Solaris, the Sun WorkShop C compiler. Linux users can use the
gcc compiler
typically included with your Linux installation. If Solaris or Windows users wish to use
gcc, contact
After you’ve built an application, use the
--help command line option for a list of usage options and
descriptions.
Configuring the PCD8
For the PCD8 to operate as you require, it must be loaded with the appropriate FPGA configuration
files for both FPGAs. The PCI FPGA is loaded from flash ROM, which is shipped from the factory
already loaded with the appropriate FPGA configuration file; however, you must load the UI FPGA
yourself.
Komentarze do niniejszej Instrukcji