ADM-XRC SDK 2.3.0 User Guide (Linux)
© Copyright 2001-2003 Alpha Data


Memtest sample application

Supports models:

The Memtest sample application uses the ZBT sample FPGA design (Verilog, VHDL) to test the SSRAM on an ADM-XRC series card.

Depending on whether or not the -usedma or +usedma command-line options are given, it uses either programmed I/O or DMA to transfer data to and from the SSRAM. In general, DMA is efficient for bulk data transfers while programmed I/O is efficient for random access to registers within the FPGA.

Syntax:

memtest [options ...]

Options:

Option Type Meaning
-banks hexadecimal integer Bitmask of banks to test (default 0xFFFFFFFF)
-card base 10 integer ID of card to open
-index base 10 integer Index of card to open
-lclk real number Local bus clock frequency to use, in MHz (default 33.0)
-repeat base 10 integer Number of times to perform tests (default 1)
-speed   Do not test SSRAM access speed
+speed   Test SSRAM access speed (default)
-usedma   Use programmed I/O for tests
+usedma   Use DMA for tests (default)