Describe a finite state machine that will detect three
consecutive coin tosses (of one coin) that results in heads.
Answer Posted / amar
State machine to detect 3 consecutive heads appearing in
multiple tosses;
state 1 : initial state
As long as the toss results in TAIL , in this state
If the toss results in HEAD go to state 2
state 2 : HEAD1 resulted
in the next toss , If TAIL is resulted go to
the initial state1 . If HEAD is resulted go to
state3.
state3 : HEAD2 is resulted
in the next toss , If TAIL is resulted go to
the initial state1 . If HEAD is resulted go to
state4.
state4 : HEAD3 is resulted and this is the final state
As long as the HEAD results in each next toss
be in state 4. If any toss results in TAIL go to
initial state1
| Is This Answer Correct ? | 77 Yes | 3 No |
Post New Answer View All Answers
In Verilog code what does “timescale 1 ns/ 1 ps” signifies?
what is the use of defpararm?
why is the number of gate inputs to CMOS gates usually limited to four?
What's the price in 1K quantity?
Explain how logical gates are controlled by Boolean logic?
What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?
What are the different ways in which antenna violation can be prevented?
What types of I/O have you designed? What were their size? Speed? Configuration? Voltage requirements?
Design an 8 is to 3 encoder using 4 is to encoder?
what is Slack?
What is the function of tie-high and tie-low cells?
For f = AB+CD if B is S-a-1, what are the test vectors needed to detect the fault?
What are the different design techniques required to create a layout for digital circuits?
How does Vbe and Ic change with temperature?
Draw the Layout of an Inverter?