WOLFRAM SYSTEM MODELER
IntegerToBinaryConverterBlock that converts an integer number to a binary array. |
SystemModel["EducationExamples.ElectricalEngineering.EightBitAdder.Components.IntegerToBinaryConverter"]
This block takes an integer number and converts it into an array of size n consisting of 1-bit numbers. 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. |
---|
u |
Type: IntegerInput Description: 'input Integer' as connector |
|
---|---|---|
y |
Type: DigitalOutput[n] Description: Output DigitalSignal as connector |
EducationExamples.ElectricalEngineering.EightBitAdder.Components 8-bit adder component. |