Block Preview

Introduction

This block performs one-fill bit extension on standard (non-TM) data streams. It extends the input word to a wider output format by appending ones (1s).

Pin Description

IN Input Variable bit BIT VECTOR
Input binary data (non-TM).
Default: Must be connected
OUT Output Variable bit BIT VECTOR
One-extended output (non-TM), combinational.

Properties

Property window

Input Size InputWordSize

Set the input word size in bits

Default: 16

Range: 2 – 16384

Output Size OutputSize

Set the output word size in bits

Number of bits per output sample. Range: 0 – 128. Must be ≥ Input Width.

Default: 32

Range: 0 – 16384

Vector Align Align

Select if output should be alligned on right (Zeros fill the MSBs) or LEFT

  • RIGHT: Input in LSBs, ones in MSBs
  • LEFT: Input in MSBs, ones in LSBs

Default: RIGHT

Options: RIGHT LEFT

InputWidth InputWidth
Number of bits per input sample. Range: 2 – 128. Must be ≤ Output Size.

Functional description

Extends input word by padding with ones.

Alignment modes

  • RIGHT alignment: Input in LSBs, ones in MSBs
  • LEFT alignment: Input in MSBs, ones in LSBs

Timing

Purely combinational with zero latency.