III. Statistical impact of the proposed technique

In order to test whether the second round of processing gives any benefits or not, a simulation program was written in MATLAB, generating input test vectors with different wordlength, covering all possible combinations for the specific wordlength. After performing the two stages of encoding, the results from both encodings were converted and compared for the purpose of checking whether the new encoding scheme gives correct results. The next evaluation step, which the algorithm is performing is to count and compare wheter there are less adjacent ones with the new encoding. The occurrence of adjacent ones is also counted. The last parameter is practically giving most information regarding the new encoding scheme. Table [*] contains information from simulations for three different wordlengths 6bit, 8bit and 16bit.


Table: Simulation results for three different wordlengths
  6 BIT 8 BIT 16 BIT
Max. Nr of adjacent ones (Booth) 1 2 4
Max. Nr of adjacent ones (proposed encoding) 1 2 3
Occurrence of adjacent ones (Booth) 16 92 43248
Occurrence of adjacent ones (proposed encoding) 4 54 28256


From the results in Table [*] it could be seen and concluded that a second round of processing reduces the occurrence of adjacent non-zeros at almost 50%, albeit the fact that the encoding is not optimal in terms of coverage of all cases. An interesting observation is that the expected reduction varies with the wordlength. Table [*] compares the traditional multiplier, radix-4 Booth recording and the new technique in terms of total partial products and non-zero partial products.


Table: Comparison between the traditional multiplier, radix-4 Booth encoding and the new technique in terms of total partial products and non-zero partial products.
  TOTAL PART.PROD-S NON-ZERO PART.PROD-S
Traditional Multiplier 100 % 50 %
Radix-4 Booth encoding 50 % 37.5 %
Proposed encoding 50 % 34.375 %


It could be seen that it might be beneficial to have a second round of processing of the multiplier, however this statement must not be taken explicitly. It might be that the overhead in encoding is larger than the actual multiplication itself. It should be noted that for certain applications where a very low number dynamic range is used, it could be that there is no benefit from the second round of encoding, since as it is implemented to this state it would only lead to non-zeros reduction only in two very narrow number ranges. The place of these ranges is also very dependent on the wordlength used.

Deyan Levski 2013-06-22