Q1. Create two n-bit codes C1 and C2 (where n is the minimum number of bits) sufficient to uniquely encode each letter (in upper and lower case) of your full name (exclude spaces between first/second/third names). Each letter, even if it repeats in the name (as S repeats in COMSATS), should get only one unique code. No two codes in C1 and C2 should be the same. For example, to encode upper and lower case letters of COMSATS, the binary codes C1 and C2 are given in the Table 1. Calculate odd and even parity bits of code C2 as shown in the table 1.
Q1. Create two n-bit codes C1 and C2 (where n is the minimum number of bits) sufficient to
uniquely encode each letter (in upper and lower case) of your full name (exclude spaces
between first/second/third names). Each letter, even if it repeats in the name (as S repeats in
COMSATS), should get only one unique code. No two codes in C1 and C2 should be the
same. For example, to encode upper and lower case letters of COMSATS, the binary codes
C1 and C2 are given in the Table 1. Calculate odd and even parity bits of code C2 as shown
in the table 1.
Q2. Using combinational logic with MSI and LSI, implement the function OP and EP (in
Table 1, but for your own full name) with multiplexers.
Use variables ...W, X, Y, Z for the inputs and OP (odd parity) and EP (even parity) for the
outputs. The dimensions (sizes) of the multiplexers are dependent on your name. You must
show the implementation table for each multiplexer.
FULL NAME : ABCDEFGHI
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images