Returning Compile Time Resolvable Arrays from Array Functions
- Updated2025-03-06
- 2 minute(s) read
Returning Compile Time Resolvable Arrays from Array Functions
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.
The following Array functions can return arrays that resolve to a single size at compile time.
Function | Required Constants |
---|---|
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. |