HW 6 Due Feb 21 2004 ECE2030a Name Bring 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 lowestnumbered 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 straight through 1 shift D Direction 0 left 1 right R Rotate 1 be a Rotator Fill in the following table Q3 Q0 are the four output bits Enable 0 1 1 1 Direction 1 1 0 1 Rotate 0 0 1 1 Q3 1 Q2 0 Q1 1 Q0 1 2 Sequential Logic The 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 Q C 1 Data 0 1 Clock 0 1 Q 0 p 1 HW 6 Due Feb 21 2004 ECE2030a Name 3 State Machine Draw a state diagram for a circuit that counts from 0 to 3 in binary and then 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 Time P0 P1 0 0 0 1 0 1 2 1 0 3 1 1 N0 N1 For additional practice see the problems on the ECE2030 Web Site http www ece gatech edu academic courses ece2030 p 2
View Full Document