The To Fixed Size block takes a variable size vector as an input and produces a fixed size vector as output. The block copies samples from the input to the output.
The input to the block will be buffered until the number of samples reaches the Output Size. The buffered samples will then be transferred to the out port, and the valid signal is set to true. When there are not enough samples buffered, the output port will be a vector of zeros, and the valid port is set to false.
- Output Size
- This specifies the size of the output port:
- Inherit: Same as Input
- If this option is enabled, the block output size will be the same as input.
- Specify Output Size
- When this option is selected, you can specify the value of the required output size.