0% found this document useful (0 votes)
35 views

EEE241fİNAL2022 1

This document contains a final exam for a digital design course consisting of 6 multiple choice questions. The questions cover a range of digital design topics including: 1. Designing a circuit with 4 inputs and 1 output to implement specific logical functions. 2. Designing a circuit to verify the operation of a NOR gate. 3. Completing the truth table for an encoder circuit. 4. Implementing a Boolean function using a multiplexer, decoder, and additional logic gates. 5. Designing an arithmetic unit to perform addition, subtraction, and other operations on 4-bit numbers. 6. Writing HDL code for an 8-bit arithmetic logic unit to perform addition, subtraction,

Uploaded by

mfp.plt453
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views

EEE241fİNAL2022 1

This document contains a final exam for a digital design course consisting of 6 multiple choice questions. The questions cover a range of digital design topics including: 1. Designing a circuit with 4 inputs and 1 output to implement specific logical functions. 2. Designing a circuit to verify the operation of a NOR gate. 3. Completing the truth table for an encoder circuit. 4. Implementing a Boolean function using a multiplexer, decoder, and additional logic gates. 5. Designing an arithmetic unit to perform addition, subtraction, and other operations on 4-bit numbers. 6. Writing HDL code for an 8-bit arithmetic logic unit to perform addition, subtraction,

Uploaded by

mfp.plt453
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

SURNAME, NAME: FIRST ED. / SECOND ED.

QUESTIONS Q1 Q2 Q3 Q4 Q5 Q6

PROGRAM
OUTCOME
SCORE

EEE241 DIGITAL DESIGN I


FINAL EXAM
January 14th,2022
Duration: 110 minutes
Calculator is not allowed in this exam.For full credit, you must show all your work.

1(15pts.) Design a circuit with four inputs x1, x2, x3, x4 and a single output F. The output should be F = 1 in
either of the following cases:
• x1 = 0 and we have an odd function of x2, x3, x4;
• x2 = 1 and we have an even function of x1, x3, x4.
The only logic gates available are AND , OR and XOR gates. They may have three or more inputs. Inverters
are not available.

2(15pts.) Design a circuit that verifies the logical operation of a NOR gate. f = '1' (LED ON) if the NOR gate
works improperly. Assumption: when the NOR gate is not working, it generates 1's instead of 0's and vice
versa.
3(20pts.) Complete the given table for the circuit shown below:
(Priority of encoder P3>P2>P1>P0 )

w1 w0 E p3 p2 p1 p0 y3 y2 y1 y0 k x1 x0 z f
1 0 1 0 0 0 0
1 1 1 1 0 1 X
0 1 0 0 0 0 1
0 1 1 0 0 1 X
1 1 1 0 0 0 1
0 1 1 1 1 X X
0 0 1 0 0 0 0
1 0 1 0 1 x 1

4 (15pts.) Implement the following Boolean function with a 41 multiplexer, a 2-to-4-line decoder, and
some additional logic gates.
Connect input A to s1, D to s0 the selection lines of the multiplexer.
F(A,B,C,D) = ∑m(1,2,7,9,10,11,12,13,14)
5(20pts.)Design a 4-bit arithmetic unit that functions as shown in the following truth table. The circuit has
8 data inputs A3, A2, A1, A0 and B3, B2, B1, B0. (A3 and B3 are the most significant bits of the 4-bit number A
and B.) There are two control inputs that determine the function of the arithmetic circuit, C 1 and C0. There
is a 4-bit output Z3, Z2, Z1, and Z0 and an output for carry-out. All operations are performed using 2’s
complement numbers. Use binary adder, multiplexers and logic gates.

C1 C0 Description
0 0 Z=A+B
0 1 Z=A-B
1 0 Z=B-A
1 1 Z= -A

6.( 15pts.) Using a case statement write an HDL behavioral description 8-bit arithmetic logic unit
(ALU). The circuit has 2-bit Select inputs (s), 8-bit inputs (A and B), and 8-bit output (Y). Perform
arithmetic and logic operations listed below.

s Description
00 A+B
01 A-B
10 Complement A
11 Bitwise AND(A and B)

You might also like