Returning Compile Time Resolvable Arrays from Array Functions (FPGA Module)

FlexRIO Help

Edition Date: November 2015

Part Number: 372614J-01

»View Product Info

»Download the Help in ZIP Format

In FPGA VIs, you can only use array functions that return arrays that resolve to a single size at compile time. This might mean that certain properties of the array, such as its length or the indexes of the elements you read/write, must be constant values. You can either wire constant values directly to array functions, or rely on value propagation through constant folding.

Note  Use constant inputs when you can because they are more efficient in FPGA VIs.

The following Array functions can return arrays that resolve to a single size at compile time.

Function Required Constants Add/Find
Array Subset The index and length inputs must be constant. You also can make all inputs constant.
Build Array You can use constant or non-constant inputs.
Cluster To Array You can use constant or non-constant inputs.
Decimate 1D Array You can use constant or non-constant inputs.
Delete From Array The length and index inputs must be constant. You also can make all inputs constant.
Initialize Array The element input can be non-constant. The dimension size input must be constant. You also can make all inputs constant.
Insert Into Array The index input must be constant. You also can make all inputs constant.
Interleave 1D Arrays You can use constant or non-constant inputs.
Replace Array Subset You can use constant or non-constant inputs.
Reshape Array The dimension size input must be constant.
Reverse 1D Array You can use constant or non-constant inputs.
Rotate 1D Array You can use constant or non-constant inputs.
Split 1D Array The index input must be constant. You also can make all inputs constant.

WAS THIS ARTICLE HELPFUL?

Not Helpful