Constructor
new HalfAdder()
Properties:
Name | Type | Description |
---|---|---|
line1 |
Tri | the first input line |
line2 |
Tri | the second input line |
result |
Tri | the output line |
carry |
Tri | the carry out line |
- Source:
Classes
Methods
compute()
Computes the sum and carry of the two input lines. The result is stored
in the output line and the carry is stored in the carry out line.
- Source: