The elevator in a six storey building in Vancouver needs acounter to keep track of its position. As is common in Vancouverthere are neither floors ‘0’ nor ‘4’. Design an up/down counterusing ‘D’ flip-flops to count the floor position. Two signals areprovided: the clock ‘CLK’ and the direction ‘X’. The counter shouldbe sensitive to the clock’s rising edge. When X=’1’ the elevator isgoing up. When X=’0’ the elevator is going down. Obtain the statediagram, the transition table, and the Boolean equations. (20marks)
Expert Answer
An answer will be send to you shortly. . . . .