Table Of Contents

Scale by Power of 2 (G Dataflow)

Last Modified: January 23, 2017

Multiplies the input by 2 raised to the specified power.

connector_pane_image
datatype_icon

n

The power to raise the input by. This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers. Any value larger than 32 bits wraps to a 32-bit signed or unsigned integer.

datatype_icon

x

The value to multiply by 2 raised to the specified power. This input supports scalar numbers, arrays or clusters of numbers, and arrays of clusters of numbers.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

datatype_icon

x * 2^n

The result of multiplying the input by 2 raised to the specified power.

Data Type Changes on FPGA

When you add this node to a document targeted to an FPGA, this output has a default data type that uses fewer hardware resources at compile time.

Where This Node Can Run:

Desktop OS: Windows

FPGA: All devices (only within an Optimized FPGA VI)


Recently Viewed Topics