Generation modes
FIFO Single replay mode
(c) Spectrum GmbH
77
FIFO Single replay mode
The FIFO single mode does a continuous data replay using the on-board memory as a FIFO buffer and transferring data continuously from
PC memory. One can generate the data on-line or load data continuously from disk.
Card mode
The card mode has to be set to the correct mode SPC_REP_FIFO_SINGLE.
Length of FIFO mode
In general FIFO mode can run forever until it is stopped by an explicit user command or one can program the total length of the transfer by
two counters Loop and Segment size
The total amount of samples per channel that is replayed can be calculated by [SPC_LOOPS * SPC_SEGMENTSIZE]. Please stick to the below
mentioned limitations of these registers.
Difference to standard single mode
The standard modes and the FIFO modes do not differ very much from the programming point of view. In fact one can even use the FIFO
mode to get the same behaviour as the standard mode. The buffer handling that is shown in the next chapter is the same for both modes.
Length of replay.
In standard mode the replay (memory size) length is defined before the start and is limited to the installed on-board memory whilst in FIFO
mode the replay length can either be defined or it can run continuously until user stops it.
Register
Value
Direction
Description
SPC_CARDMODE
9500
read/write
Defines the used operating mode, a read command will return the currently used mode.
SPC_REP_FIFO_SINGLE
800h
Continuous data replay from PC memory. Complete on-board memory is used as FIFO buffer.
Register
Value
Direction
Description
SPC_SEGMENTSIZE
10010
read/write
Length of segments to replay.
SPC_LOOPS
10020
read/write
Number of segments to replay in total. If set to zero the FIFO mode will run continuously until it is
stopped by the user.