1 Given an encoder with 32 inputs how many output will it ha
1. Given an encoder with 32 inputs, how many output will it have?
2. A decoder with 8 inputs will have how many outputs?
3. How many different types of tri-state buffers are there? Sketch them.
4. Design a ROM that has to store the following data:
1010
0011
1110
0101
5. Given F(a, b, c, d) = m(3, 5, 7, 9, 14) + d(0, 6, 12, 15)
Use K-Map, find essentials and additionals (if any) and then find the minimum SOP.
6. The output table of a ROM of size 8 words x 4 bits is given as below:
1 0 0 1
0 1 1 0
0 0 0 1
1 0 1 0
1 1 1 1
0 1 1 1
1 0 1 1
0 1 0 1
7. Draw the Internal Circuit Diagram of the ROM showing all the details, which including deciding on number of inputs, different logical components and the connections.
8. a) What is the difference between a decoder and an encoder?
b) Complete the table below for a encoder.
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
a
b
c
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
| Y0 | Y1 | Y2 | Y3 | Y4 | Y5 | Y6 | Y7 | a | b | c |
| 0 | 0 | 1 | 0 | 0 | 0 | 0 | ||||
| 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | |||
| 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |||
| 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |||
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Solution
Answer :
1. Given an encoder with 32 inputs, how many output will it have?
Answer :
5
Explanation :
A n-bit encoder has 2^n input lines and n-bit output lines.
so,32 input lines
32=2^5
n=5
An encoder with 32 inputs, 5 outputs
....................
2. A decoder with 8 inputs will have how many outputs?
Answer :
256
Explanation :
n-input decoder have 2^n output lines
so,8 inputs decoder have 2^8=256
Answer is 256
....................
8. a) What is the difference between a decoder and an encoder?
Answer :
| S.no | Encoder | Decoder |
| 1. | .Encoder converts the information from one form to another. | Decoder performs the reverse process retrival of the original information. |
| 2. | An encoder is a entity it will encode information in a particular way. | A Decoder is a entity it will remove the prevoius information encoded state and return original format. |
| 3. | It has 2^n inputs and n no.of outputs. | It has n no.of input lines and 2^n outputlines. |
| 4. | Encoder is a module changes the stream of inputs bytes into output stream of bytes. | Decoder module utilizes redundant information to recover the original information. |



