To Fixed Size - 2021.1 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2021-06-16
Version
2021.1 English
This block takes a variable size vector as an input and produces a fixed size vector as output.

Library

AI Engine/Tools

Description

The To Fixed Size block takes a variable sized vector input and produces a fixed sized vector output. The output vector size is specified by the OutputSize parameter. The block copies samples from the input to the output. Excess samples are discarded. In cases where the input does not have enough samples, a value of 0 is used. The optional status output shows the difference between the number of samples in the input and output.

Parameters

Output Size
The size of the output port. The output port is a fixed sized signal whose size is specified by the 'Output Size' parameter. Default value is '1'
Status Output
Optional. This port shows the difference between the number of samples in the input and the output. By default the check box is enabled.