WOLFRAM SYSTEM MODELER
FullAdderAdding circuit for binary numbers with input carry bit |
SystemModel["Modelica.Electrical.Digital.Examples.Utilities.FullAdder"]
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 |
a |
Type: DigitalInput Description: Input DigitalSignal as connector |
|
---|---|---|
b |
Type: DigitalInput Description: Input DigitalSignal as connector |
|
c_in |
Type: DigitalInput Description: Input DigitalSignal as connector |
|
s |
Type: DigitalOutput Description: Output DigitalSignal as connector |
|
c_out |
Type: DigitalOutput Description: Output DigitalSignal as connector |
Modelica.Electrical.Digital.Examples.Utilities Generic N Bit Adder |