Question: Let a digital microcontroller, driven by a clock and three inputs A , B and C , produce three outputs X , Y and Z
Let a digital microcontroller, driven by a clock and three inputs A B and C produce three outputs X Y and Z The microcontroller continuously runs through the following sequence of events: At the start of the first clock cycle, the X line is set to
At the start of the second clock cycle, line Y or line Z is set to depending on whether line A is or respectively, in the previous clock cycle. The microcontroller then waits until the B line becomes At the next positive clock edge, the microcontroller examines the C input and if it is sets the Z output to and resets the Z output for two clock cycles, differently sets the Z output signal to and resets the X and Y outputs for one clock cycle. It then resets all output signals to zero for one clock cycle. This sequence is repeated, starting at the next positive clock edge.
Draw a state diagram and give the next state logic functions and output signals for the above microcontroller.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
