WOLFRAM SYSTEM MODELER

Adder

8-bit adder component.

Diagram

Wolfram Language

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

Information

 

Adder

 

Model Principles

The 8-bit adder model consists of eight 1-bit adders connected together in a series. The least significant bit of input a will be added together with the least significant bit of input b in the full adder located furthest to the right. Depending on the input, the adder will produce a 1-bit sum value that is the least significant bit of the result, as well as a 1-bit carry, which is sent to the next adder in the series. This is repeated in eight steps until 8 bits of output have been produced, as well as a possible carry-out signal.

 

Connectors (4)

y

Type: IntegerOutput

b

Type: IntegerInput

a

Type: IntegerInput

y1

Type: DigitalOutput

Components (15)

bit5

Type: FullAdderCE

bit4

Type: FullAdderCE

bit3

Type: FullAdderCE

bit2

Type: FullAdderCE

bit6

Type: FullAdderCE

bit1

Type: FullAdderCE

bit0

Type: FullAdderCE

bit7

Type: FullAdderCE

integer_a_to_binary

Type: IntegerToBinaryConverter

integer_b_to_binary

Type: IntegerToBinaryConverter

set

Type: Set

binaryToIntegerConverter

Type: BinaryToIntegerConverter

integerToReal

Type: IntegerToReal

realToInteger

Type: RealToInteger

sampler

Type: Sampler

Used in Examples (1)

EightBitAdderExample

EducationExamples.ElectricalEngineering.EightBitAdder

Example setup of an 8-bit Adder component with integer input varying over time.