HW-6 Due Feb. 21, 2004 ECE2030a Name____________________________p. 1Bring this homework to class on Monday Feb. 19 for discussion. Turn it in on Friday Feb. 23.1. Combinatorial Logic - Name the building block that will do the following.a. A 4-bit number (0-15) input selects one of 16 other inputs to appear at the single output.b. A 4-bit number (0-15) input causes only one of 16 outputs to be true or "1"c. A 4-bit number (0-15) input causes only one of 16 outputs to be equal to another input.d. Sixteen inputs are labeled 0 to 15. The two-bit output is the binary number of the lowest-numbered input that in true (two words).e. The input data bits to a 4-bit shifter are 1011. The control inputs are "E" Enable (0 -> straightthrough, 1 -> shift), "D" Direction (0 -> left, 1 -> right), "R" Rotate (1 -> be a Rotator). Fill inthe following table. Q3 - Q0 are the four output bits.EnableDirectionRotateQ3Q2Q1Q001010111101011112. Sequential LogicThe following is an negative edge triggered latch Shown are the Input "D" and Clock "C"signals as functions of time "t". Draw in the output Q(t) signal.D QC1Data01Clock01Q0HW-6 Due Feb. 21, 2004 ECE2030a Name____________________________p. 2 3. State Machine Draw a state diagram for a circuit that counts from 0 to 3 in binary andthen repeats (input always "-", output Q0 Q1: 00, 01, 10, 11, 00, 01, 10, 11, 00, …)Fill in the truth table for the logic that is needed: Present State Values [ P0(t), P1(t) ] Next State Values Ni(t)TimeP0P1N0N1000101210311For additional practice, see the problems on the ECE2030 Web Site,
View Full Document