DSP Builder for Intel® FPGAs (Advanced Blockset): Handbook

ID 683337
Date 12/12/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

15.2.2. Reorder (ReorderBlock)

The DFT block produces a pos signal to indicate where each output appears in a natural order sequence but doesn’t actually reorder the outputs. The ReorderBlock block performs the necessary physical reordering.
Figure 105. ReorderBlock Block Diagram
Table 96.   ReorderBlock Block Signals
Port Name Direction Description
v Input

Indicates if the input data is valid. Assert this Boolean signal when input data is valid.

Connect v output of the preceding DFT to this input.

cmd Input

An encoding of the size of the current DFT. In DFT/IDFT dynamic mode, an extra MSB indicates whether to calculate a DFT (0) or an IDFT (1).

When all 53 sizes are supported, in DFT-only mode, a 6-bit integer encodes the size of the DFT currently input. In dynamic DFT/IDFT-mode, it is is a 7-bit integer. The bottom 6 bits encode the size of the current DFT/IDFT, the MSB signifies whether to calculate a DFT or an IDFT.

Specify the size of the DFT by specifying the zero-based index of the required size in the FFT Size Table parameter. For example, where FFT Size Table is [12 24 36], 0 specifies size 12 and 1 specifies size 24.

Connect the cmd output of the preceding DFT to this input.

sop Input

A start-of-packet Boolean signal that pulses high on the first (and only the first) valid input of an DFT/IDFT.

The generated RTL requires at least one cycle gap between the reset deasserting and the first sop signal.

Connect the sop output of the preceding DFT to this input.

pos Input

Indicates the natural order position of the current input. Writing each sample to memory at location pos, gives the memory containing the samples in natural order.

Connect the pos output of the preceding DFT to this input.

data Input

A complex input data signal.

Connect data output of the preceding DFT to this input.

v Output Indicates if the output data is valid. This Boolean signal is asserted for valid output data.
cmd Output

An encoding of the size of the current DFT. In DFT/IDFT dynamic mode, an extra MSB indicates whether the current output is a DFT (0) or an IDFT (1).

When all 53 sizes are supported, cmd is a 6-bit signal with the size of the current DFT. In dynamic DFT/IDFT mode cmd is a 7-bit signal with the current DFT/iDFT size and status of the DFT/IDFT.

The DFT specifies the size of the DFT by specifying the zero-based index of the required size in the Size Table parameter. For example, where Size Table is [12 24 36], 0 specifies size 12 and 1 specifies size 24.

sop Output A start-of-packet Boolean signal that pulses high on the first (and only the first) valid output of a reordered DFT/IDFT.
data Output A complex output data signal, which is the reordered data.
Table 97.  ReorderBlock Block Parameters
Parameter Description
Size Table

Specify the of DFT sizes to support, in the form of a MATLAB vector. For example, [12 24 36].

Allowed sizes are specified in the DFT Block Supported Sizes table.

This vector must match the FFT Size Table specification of the preceding DFT.