14.6    DATA FORMAT CONVERSION

In this section, conversion from nonredundant to redundant and vice-versa are presented for both radix-2 and radix-4 representations.

image

Fig. 14.17    Nonredundant to redundant radix-2 conversion for wordlength 4.

image

Fig. 14.18    Nonredundant to maximally redundant radix-4 conversion for wordlength 4.

14.6.1    Nonredundant to Redundant Conversion

This conversion process is relatively easy as the nonredundant input digit set is a subset of the redundant input digit set.

14.6.1.1    Radix-2 Representation

Let the nonredundant number X be denoted by X = x3 . x2 x1 x0, and the corresponding redundant representation be denoted by Y = y3 . y2 y1 y0 where each digit yi is encoded as imageimage and each digit xi represents a 1 or 0. Note that the bit x3 has a weight –1 in two’s complement number system. This conversion is shown in Fig. 14.17.

14.6.1.2    Radix-4 Representation

Consider the conversion of a radix-4 complement number, X , to a maximally redundant number, Y. The digits of X, xi, are encoded using 2 wires according to and the digit yi is encoded using Equating ...

Get VLSI Digital Signal Processing Systems: Design and Implementation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.