Figure 4.

Example of naive summation based on a ripple carry adder. The A variables are used for storing the accumulation of the sum. The A1, t variables, with 1 ≤ t ≤ 3, are constrained to zero. Additionally, the Cl,1 and the B variables, except the Bl,1 variables, with 1 ≤ l ≤ 4, are also constrained to zero. The S variables are set to the binary representation of the required sum, e.g. if S = (1, 0, 0), the only satisfying assignment of Boolean values to the Bl,1 variables is (1, 1, 1, 1). If S = (0, 1, 0), there are six satisfying assignments to the Bl,1 variables, namely (1, 1, 0, 0), (1, 0, 1, 0), (1, 0, 0, 1), (0, 1, 0, 1), (0, 0, 1, 1) and (0, 1, 1, 0).

Neigenfind et al. BMC Genomics 2008 9:356   doi:10.1186/1471-2164-9-356
Download authors' original image