WOLFRAM SYSTEM MODELER
Block that converts a binary array to an integer number.
This block takes an array of size n consisting of 1-bit numbers and converts the array into an integer number. The parameter n, the total number of bits, can be specified so that the block can be used for conversions of arbitrary size. The maximum size of the integer that the block can take follows 2n-1 if the integer is unsigned or 2n-1-1 if the integer is signed.
This domain example is an informational resource made freely available by Wolfram Research.
A summary of the licensing terms can be found at:
The full legal code can be found at:
Description: Number of bits.
Demonstration model with a counter, clocks and a binary to integer converter.