WOLFRAM SYSTEM MODELER
HalfAdderHalf adder |
SystemModel["Modelica.Electrical.Digital.Examples.Utilities.HalfAdder"]
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.
delayTime |
Value: 0 Type: Real Description: Delay time |
---|
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 |
Modelica.Electrical.Digital.Examples Adding circuit for binary numbers without input carry bit |
Modelica.Electrical.Digital.Examples.Utilities Adding circuit for binary numbers with input carry bit |