Class: HalfAdder

HalfAdder()

A half adder for two tri objects

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

HalfAdder

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: