FullAdder

Adding circuit for binary numbers with input carry bit

Diagram

Information

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

FullAdder is a two bit adder with additional carry in bit which is composed by Gates components.

Its logic behavior is like this:

FullAdder behavior

input a

input b

input carry c_in

sum s

output carry c_out

0

0

0

0

0

1

0

0

1

0

0

1

0

1

0

1

1

0

0

1

0

0

1

0

1

1

0

1

0

1

0

1

1

0

1

1

1

1

1

1

Connectors (5)

a

Type: DigitalInput

b

Type: DigitalInput

c_in

Type: DigitalInput

s

Type: DigitalOutput

c_out

Type: DigitalOutput

Components (3)

Adder2

Type: HalfAdder

Adder1

Type: HalfAdder

OR

Type: Or

Used in Examples (2)

FullAdder

Modelica.Electrical.Digital.Examples

Full 1 Bit Adder Example

Adder4

Modelica.Electrical.Digital.Examples

4 Bit Adder Example

Used in Components (1)

Adder

Modelica.Electrical.Digital.Examples.Utilities

Generic N Bit Adder