Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE 320 Homework #4 1. Using 8 data input selector logic (MUX), implement the following two functions: a) F(A,B,C)=S 0 S 2 S 3 S 5 b) F(A,B,C,D)=P 0 +P.

Similar presentations


Presentation on theme: "ECE 320 Homework #4 1. Using 8 data input selector logic (MUX), implement the following two functions: a) F(A,B,C)=S 0 S 2 S 3 S 5 b) F(A,B,C,D)=P 0 +P."— Presentation transcript:

1 ECE 320 Homework #4 1. Using 8 data input selector logic (MUX), implement the following two functions: a) F(A,B,C)=S 0 S 2 S 3 S 5 b) F(A,B,C,D)=P 0 +P 1 +P 5 +P 7 +P 8 +P 10 +P 14 +P 15 2. Using 3/8 binary decoder, implement the following function: F(A,B,C)=P 0 +P 2 +P 3 +P 5 3. Using 4x1 MUX’s implement the following functions: a) F(A,B,C)=P 0 +P 5 +P 6 +P 7 b) F(A,B,C)=S 1 S 3 S 4 S 6 c) F(A,B,C,D)=P 0 +P 3 +P 5 +P … +P 13 +P 15 4. Design an encoder that will encode ten decimal digits into their excess-3 code.

2 ECE 320 Homework #4 5. Design the full adder/subtractor shown in Figure below. There are four inputs (A i, B i, CB i and F) and two outputs (SD and CB 0 ). The input F is a control signal such that when F=0 the circuit works as a full adder: A i and B i represent the two bits to be added. Cb i represents the input carry. SD represents the output sum. CB 0 represents the output carry and when F=1 the circuit works as a full subtractor and: A i and B i represent the two binary bits to be subtracted. CB i represents the input borrow. SD represents the output difference. CB 0 represents the output borrow. Implement the circuit using the minimum number of gates.

3 ECE 320 Homework #4 AiAi BiBi F SD CB i CB 0 Adder/Subtractor


Download ppt "ECE 320 Homework #4 1. Using 8 data input selector logic (MUX), implement the following two functions: a) F(A,B,C)=S 0 S 2 S 3 S 5 b) F(A,B,C,D)=P 0 +P."

Similar presentations


Ads by Google