PCIe8g3 S5 Family
Installation and the EDT Installation Package
EDT, Inc.
2017 January 04
10
Applications and Utilities
In addition to the above resources, the EDT installation package includes application and utility files that you can use
to initialize and configure the board, access the registers, and perform basic testing. In many cases, C or C++ source
is provided so that you can use the files as starting points to write your own applications. The most commonly useful
files are described below.
NOTE
For a link to the latest installation packages, see
. For new installations, use the latest
package. For existing applications, to avoid version problems, upgrade only if you have a specific reason to do so.
These S5-specific files are included in the
libs5
or
libocx
directory of your EDT installation package...
fourp
Utility to set up and initialize the S5.
fourp.cpp
Source file for the
fourp
utility.
EdtS5Xcvr.cpp
C++ object describing EDT Stratix 5 FPGA’s transceiver.
EdtS5Xcvr.h
Include file for the above C++ object.
EdtS5Mem.cpp
C++ object describing EDT Stratix 5 DDR3 memory and data flow.
EdtS5Mem.h
Include file for the above C++ object.
EdtS5.cpp
C++ object describing any EDT board based on Stratix 5 FPGA.
EdtS5.h
Include file for the above C++ object.
Edt4P.cpp
C++ object describing EDT S5 board.
Edt4P.h
Include file for the above C++ object.
edt_fourp.h
Include file.
In the future, the S5 is scheduled to be supported by such additional applications as...
OCXSnap
Example application that captures data from the S5 board and transfers it to disk
for testing or verification.
OCXSnap.cpp
C source for
OCXSnap.
OCXPlay
Example application that outputs the data captured by
OCXSnap
from the disk for
testing or verification.
OCXPlay.cpp
C source for
OCXPlay.
ReadXFPSFP
Example application that queries the state of the transceiver modules. For details,
see
ReadXFPSFP.cpp
C source for
ReadXFPSFP.
EdtSFP.cpp
C library routines used by
ReadXFPSFP
or available for you to use in your own
application.
EdtSFPPlus.cpp
C library routines used by
ReadXFPSFP
or available for you to use in your own
application.
Sample Applications
rd16
For DMA channels – performs simple multichannel ring buffer input.
wr16
For DMA channels – performs simple multichannel ring buffer output.
simple_read
Performs DMA input without using ring buffers. Data is therefore subject to
interruptions, depending on system performance.
simple_write
Performs DMA output without using ring buffers. Data is therefore subject to
interruptions, depending on system performance.