II. Proposed endoding scheme

Even though that at first it looked like the task would be rather simple, some difficulties were faced during the encoding scheme development. A table and hardware scheme covering all cases was trickier to implement than expected. The modified Booth encoding scheme follows an overlapping algorithm examing adjacent bit pairs, as it also starts with an implicit bit $ a_{-1} = 0$ . The proposed in this project scheme examines the multiplier with a non-overlapping step of 3 and encodes the digit in accordance to the rule mentioned in Equation 1. A truth-table of the new encoding scheme is shown on Table [*].


Table: Truth table of the implemented encoding scheme
$ a_{i+2}$ $ a_{i+1}$ $ a_{i}$ $ b_{i+2}$ $ b_{i+1}$ $ b_{i}$
0 1 1 1 0 $ \overline{1}$
0 1 $ \overline{1}$ 0 0 1
0 $ \overline{1}$ 1 0 0 $ \overline{1}$
0 $ \overline{1}$ $ \overline{1}$ $ \overline{1}$ 0 1
1 $ \overline{1}$ 0 0 1 0
$ \overline{1}$ 1 0 0 $ \overline{1}$ 0
1 1 0 1 1 0
$ \overline{1}$ $ \overline{1}$ 0 $ \overline{1}$ $ \overline{1}$ 0
OTHERS =>     --- --- ---


It is important to note that the index $ i$ used in the table above has to be incremented in steps of 3 in order to cover the encoding scheme correctly. A graphical overview of this encoding in comparison with modified Booth encoding is shown on Figure [*].

Figure: Overview between modified radix-4 Booth encoding and the proposed technique for second processing.
\includegraphics[width=1\columnwidth]{enccomp-crop-rotated90-rotated90-rotated90.pdf.ps}

By looking at Table [*] we can spot a disadvantage in the new encoding methodology, since it does not overlappingly scan through the binary vectors. In this case there might be missed processed adjacent ones by the algorithm. As an example we can consider the following case below:

$\displaystyle (\underbrace{1 0 1} \overbrace{1 0 1})_{Be} \Longrightarrow (1 0 1 1 0 1)_{Ne}$ (2)

As noted before, this fact is due to the non-scanning nature of the new technique, however for a large part of the cases it will lead to a reduction of non-zero partial products. Let us consider as an example the case:

$\displaystyle (\underbrace{0 1 0} \overbrace{0 \overline{1} 1} \underbrace{0 0 \overline{1}})_{Be} \Longrightarrow (0 1 0 0 0 \overline{1} 0 0 \overline{1})_{Ne}$ (3)

In addition it should be also mentioned that for cases ($ 1 1 0$ and $ \overline{1} \overline{1} 0$ ) (also separated in the bottom of Table [*]), encoding can not be performed unless we do not know the value of the adjacent bits of the scanned pattern. This is another drawback which could be added to the list due to the static scanning nature of the technique.

Figure: A possible block-level realization of the encoding system.
\includegraphics[angle=0, width=1\columnwidth]{booththick.pdf.ps}

A property in favour of the non-scanning encoding is that it could be implemented using very little combinatorial logic gates. For a better overview of how the new encoding could be implemented, the block-diagram on Figure [*] shows a possible way of implementation with a block-level schematic.

Deyan Levski 2013-06-22