Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

Overview

Zero padding

Discussion

The zero_padding_module extends the length of a block of adding zeros at the end. The module works with real or complex data and any number of channels. At instantiation time, you specify the output block size (OUTLEN). If OUTLEN is less than the input block size then the input data is truncated to OUTLEN.

Type Definition

Code Block
typedef struct _ModuleZeroPadding
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleZeroPaddingClass;

Pins

Input Pins

Name: in

Description: input

...

Complex support: Real and Complex

Output Pins

Name: out

Description: zero padded output

Data type: {float, int, fract32}

MATLAB Usage

File Name: zero_padding_module.m

...