WOLFRAM SYSTEM MODELER
BinaryToIntegerConverterBlock that converts a binary array to an integer number. |
SystemModel["EducationExamples.ElectricalEngineering.EightBitAdder.Components.BinaryToIntegerConverter"]
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.
n |
Value: 8 Type: Integer Description: Number of bits. |
---|
x |
Type: DigitalInput[n] Description: Input DigitalSignal as connector |
|
---|---|---|
y |
Type: IntegerOutput Description: 'output Integer' as connector |
EducationExamples.ElectricalEngineering.EightBitAdder.Components 8-bit adder component. |