Table Of Contents

Boolean Array to Number (Clock-Driven Logic)

Last Modified: September 10, 2016

Converts a Boolean array to an integer by interpreting the array as the binary representation of the number. If the number is signed, this node interprets the array as the two's complement representation of the number. The first element of the array corresponds to the least significant bit in the number.

connector_pane_image
datatype_icon

Boolean array

A 1D array of Boolean values.

This node truncates the Boolean array if it is too long and pads it with Boolean FALSE bits if the Boolean array is too short.

datatype_icon

number

An integer that represents Boolean array.

Boolean array number
{FALSE, FALSE} 0
{TRUE, FALSE} 1
{FALSE, TRUE} 2
{TRUE, TRUE} 3

Where This Node Can Run:

Desktop OS: none

FPGA: All devices


Recently Viewed Topics