WOLFRAM SYSTEM MODELER

IntegerToBinaryConverter

Block that converts an integer number to a binary array.

Wolfram Language

In[1]:=
SystemModel["EducationExamples.ElectricalEngineering.EightBitAdder.Components.IntegerToBinaryConverter"]
Out[1]:=

Information

Model Principles

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.

Parameters (1)

n

Value: 8

Type: Integer

Description: Number of bits.

Connectors (2)

u

Type: IntegerInput

Description: 'input Integer' as connector

y

Type: DigitalOutput[n]

Description: Output DigitalSignal as connector

Used in Components (1)

Adder

EducationExamples.ElectricalEngineering.EightBitAdder.Components

8-bit adder component.