WOLFRAM SYSTEM MODELER

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

Description: Input DigitalSignal as connector

s

Type: DigitalOutput

Description: Output DigitalSignal as connector

a

Type: DigitalInput

Description: Input DigitalSignal as connector

c

Type: DigitalOutput

Description: Output DigitalSignal as connector

Components (2)

AND

Type: AndGate

Description: AndGate with multiple input

XOR

Type: XorGate

Description: XorGate with multiple input

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