### CMPE 263 Computer Architecture and Organization

Added on - 09 Oct 2019

• 12

pages

• 1578

words

• 101

views

• 0

Showing pages 1 to 4 of 12 pages
Student ID:Name:Computer Architecture andOrganization ICMPE 263Spring 2018March 2018Dept. of Computer Science andEngineeringCollege of EngineeringQatar UniversityHomework #1 – Spring 2018Digital Logic Circuit and Data RepresentationQuestion #1(4 marks):Given the Boolean function:F(A,B,C,D)=m(0,2,3,5,7,8,10,11,13,15)1)[2 marks]Drive the simplified Boolean function in sum-of-products form bymeans of a four-variable Karnaugh map.2)Draw the logic diagram witha.[1 mark]AND-OR gates;b.[1 mark]NAND gates.Solution:Page1of1250
Student ID:Name:Question #2(2 marks):Given a JK flip flop, show how can you convert it into a D flip-flop.Page2of12
Student ID:Name:Question #3(6 mark):Design a priority encoder with three inputs X, Y, Z and three outputs A, B, C. Thetruth table for the circuit is shown below.a)[3 marks]Drive the minimized logic equations for A, B, and C (use Karnaughmaps).b)[3 marks]Draw the logic circuit diagram for A, B, and C.X Y ZA B C0 0 00 0 10 1 00 1 11 0 01 0 11 1 01 1 10 0 00 0 10 1 10 1 11 0 11 0 11 0 11 0 1Page3of12
Student ID:Name:Question #4(6 mark):Given a sequential circuit (shown in the figure below) that has two D flip-flopsAandB, two inputsXandY, and one outputZ.a)[2 marks]Write the logic function for the flip-flops inputsDAandDB, as afunction ofX,Y,AandB.b)[1 mark]Write the logic function for the outputZ.c)[3 marks]If thepresent stateofAandBareA = 1andB = 0, and the circuitinputs areX = 0andY = 0.Then, what will be thenext statevalues for the flip-flopsAandB?What will be the value of outputZ, in this case?Page4of12  