WOLFRAM SYSTEMMODELER

HalfAdder

Half adder

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.Digital.Examples.Utilities.HalfAdder"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

HalfAdder is a two bit adder which is composed by Gates components.

Its logic behavior is like this:

HalfAdder behavior

input a

input b

sum s

carry c

0

0

0

0

1

0

1

0

0

1

1

0

1

1

0

1

The parameter delayTime is the delay time (tLH=tHL) of both the components.

Parameters (1)

delayTime

Value: 0

Type: Real

Description: Delay time

Connectors (4)

b

Type: DigitalInput

s

Type: DigitalOutput

a

Type: DigitalInput

c

Type: DigitalOutput

Components (2)

AND

Type: AndGate

XOR

Type: XorGate

Used in Examples (1)

HalfAdder

Modelica.Electrical.Digital.Examples

Adding circuit for binary numbers without input carry bit

Used in Components (1)

FullAdder

Modelica.Electrical.Digital.Examples.Utilities

Adding circuit for binary numbers with input carry bit