Sum Addressed Decoder - Gate Level Implementation

Gate Level Implementation

R13 ... R6 R5 R4 R3 O13 ... O6 O5 O4 O3 L13 ... L6 L5 L4 L3 -------------------------- S13 ... S6 S5 S4 S3 C14 C13 ... C6 C5 C4

Before we begin collapsing redundancy between rows, let's review: Each row of each decoder for each of two banks implements a set of full adders which reduce the three numbers to be added (R, O, and L) to two numbers (S and C). The LSB (==S) is discarded. Carry out (==C) is also discarded. The row matches if S == ~C, which is &( xor(S, C)).

We can partially specialize the full adders to 2-input and, or, xor, and xnor because the L input is constant. The resulting expressions are common to all lines of the decoder and can be collected at the bottom.

S0;i = S(Ri, Oi, 0) = Ri xor Oi S1;i = S(Ri, Oi, 1) = Ri xnor Oi C0;i+1 = C(Ri, Oi, 0) = Ri and Oi C1;i+1 = C(Ri, Oi, 1) = Ri or Oi.

At each digit position, there are only two possible Si, two possible Ci, and four possible xors between them:

Li=0 and Li-1=0: X0;0;i = S0;i xor C0;i = Ri xor Oi xor (Ri-1 and Oi-1) Li=0 and Li-1=1: X0;1;i = S0;i xor C1;i = Ri xor Oi xor (Ri-1 or Oi-1) Li=1 and Li-1=0: X1;0;i = S1;i xor C0;i = Ri xnor Oi xor (Ri-1 and Oi-1) = !X0;0;i Li=1 and Li-1=1: X1;1;i = S1;i xor C1;i = Ri xnor Oi xor (Ri-1 or Oi-1) = !X0;1;i

One possible decoder for our example might calculate these four expressions for each of the bits 4..13, and drive all 40 wires up the decoder. Each line of the decoder would select one of the four wires for each bit, and consist of an 10-input AND.

Read more about this topic:  Sum Addressed Decoder

Famous quotes containing the words gate and/or level:

    What was dancing to you then?
    We went from the high gate away
    To a black hill the other side of men
    Where one wild stag stared
    At the going day.
    Allen Tate (1899–1979)

    The man who loves other countries as much as his own stands on a level with the man who loves other women as much as he loves his own wife.
    Theodore Roosevelt (1858–1919)