Class: WordAdder

WordAdder(busIn1, busIn2, cIn)

Takes in two arrays of Tri objects and a carry in VALUE and computes the result and carry out value.

Constructor

new WordAdder(busIn1, busIn2, cIn)

Create a new WordAdder device with the specified input busses and carry in locations.
Parameters:
Name Type Description
busIn1 IOBus
busIn2 IOBus
cIn Tri
Properties:
Name Type Description
cIn Tri the carry in VALUE
TriAdders Array.<Adder> the array of adders for each tri in a bus
cOut Tri the carry out VALUE
Source:

Extends

Classes

WordAdder

Methods

compute()

Compute the result of the addition of the two input busses with carries
Source: