Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 10

Bahria University, Islamabad Campus

Department of Computer Science


Assignment-3
Class: BSIT
(Spring 2020 Semester)

Course: Digital Design Due Date : 10-05-2021


CEN 122
Course Code:

Faculty’s Name: Maria Mahmood Max Marks: 10

Student’s Name: _____________________________Enroll No: ______________________


(USE CAPITAL LETTERS)

1. Consider the combinational circuit:

(a) Derive the Boolean expressions for T1 through T4. Evaluate the outputs F1 and F2
as a function of the four inputs.
(b) List the truth table with 16 binary combinations of the four input variables. Then
list the binary values for T1 through T4 and outputs F1 and F2 in the table.

(c) Plot the output Boolean functions obtained in part (b) on k-maps and show that the
simplified Boolean expressions are equivalent to the ones obtained in part (a).
2. Design a combinational circuit with three inputs and one output.
(a) The output is 1 when the binary value of the inputs is less than 3. The output is 0
otherwise.
(b) The output is 1 when the binary value of the inputs is an even number.
3. Design a combinational circuit with three inputs, x , y , and z , and three outputs, A, B ,
and C .
When the binary input is 0, 1, 2, or 3, the binary output is one greater than the input.
When the binary input is 4, 5, 6, or 7, the binary output is two less than the input.
4. Design a code converter that converts a decimal digit from
(a) The 8, 4, –2, –1 code to BCD

5. An ABCD-to-seven-segment decoder is a combinational circuit that converts a decimal


digit in BCD to an appropriate code for the selection of segments in an indicator used to
display the decimal digit in a familiar form. The seven outputs of the decoder (a, b, c, d, e, f,
g) select the corresponding segments in the display, as shown in Fig. P4.9(a) . The numeric
display chosen to represent the decimal digit is shown in Fig. P4.9(b) . Using a truth table
and Karnaugh maps, design the BCD-to-seven-segment decoder using a minimum number
of gates. The six invalid combinations should result in a blank display.

6. A majority circuit is a combinational circuit whose output is equal to 1 if the input


variables have more 1’s than 0’s. The output is 0 otherwise.
(a) Design a 3-input majority circuit by finding the circuit’s truth table, Boolean equation,
and a logic diagram.

7. The adder–subtractor circuit of Fig. 4.13 has the following values for mode input M and
data inputs A and B .
M A B
(a) 0 0111 0110
(b) 0 1000 1001
(c) 1 1100 1000
(d) 1 0101 1010
(e) 1 0000 0001
In each case, determine the values of the four SUM outputs, the carry C , and overflow V .

8. A combinational circuit is specified by the following three Boolean functions:

Implement the circuit with a decoder constructed with NAND gates .Use a block diagram
for the decoder.

9. Construct a 16 x 1 multiplexer with two 8 x 1 and one 2 x 1 multiplexers. Use block


diagrams.
10. Implement the following Boolean function with a multiplexer

You might also like