Design a system whose output goes high only after 8 consecutive 1's appear on the input; once the output goes high, it takes four consecutive 0's on the input to make the output go low again. You will use one switch as the input, and one button as the clock.

Assign a binary state code to each state of your FSM.
On a piece of paper, develop a truth table for the next state and output logic.
Given that the system output should go high only after 8 consecutive 1's appear at the input
And once the output goes high, it should take 4 consecutive 0's on the input to make the output go low again.
8 consecutive 1's indicates 8 states
4 consecutive 1's indicates 4 states.
So total number of states requred are 8 + 4 = 12 states
We need to assign these 12 states with a binary state code for each state.
| A | 0000 |
| B | 0001 |
| C | 0010 |
| D | 0011 |
| E | 0100 |
| F | 0101 |
| G | 0110 |
| H | 0111 |
| I | 1000 |
| J | 1001 |
| K | 1010 |
| L | 1011 |
As per the given condition the state diagram is as shown in the below image.

Let us draw the output table and for each of the input and also mention the state .
The truth table for the next state and output logic for the Above FSM diagram is as shown below
| Present State | X (INPUT) | Next State | Y(OUTPUT) |
|
A (0000) A (0000) |
0 1 |
A B |
0 0 |
|
B (0001) B (0001) |
0 1 |
A C |
0 0 |
|
C (0010) C (0010) |
0 1 |
A D |
0 0 |
|
D (0011) D (0011) |
0 1 |
A E |
0 0 |
|
E (0100) E (0100) |
0 1 |
A F |
0 0 |
|
F (0101) F (0101) |
0 1 |
A G |
0 0 |
|
G (0110) G (0110) |
0 1 |
A H |
0 0 |
|
H (0111) H (0111) |
0 1 |
A I |
0 1 |
|
I (1000) I (1000) |
0 1 |
J I |
1 1 |
|
J (1001) J (1001) |
0 1 |
K I |
1 1 |
|
K (1010) K (1010) |
0 1 |
L I |
1 1 |
|
L (1011) L (1011) |
0 1 |
A I |
0 1 |
In order to explain the above truth table let us do it by taking an example.
For example: if we take an input 01011111111010000
| Present state | INPUT | NEXT STATE | OUTPUT |
| A | 0 | A | 0 |
| A | 1 | B | 0 |
| B | 0 | A | 0 |
| A | 1 | B | 0 |
| B | 1 | C | 0 |
| C | 1 | D | 0 |
| D | 1 | E | 0 |
| E | 1 | F | 0 |
| F | 1 | G | 0 |
| G | 1 | H | 0 |
| H | 1 | I | 1 |
| I | 1 | I | 1 |
| I | 0 | J | 1 |
| J | 0 | K | 1 |
| K | 0 | L | 1 |
| L | 0 | A | 0 |
Here the output has shifted from 0 to1 after 8 consecutive 1's and reached state I.
Also the output has shifted from 1 to 0 after 4 consecutive 0's. and reached state A .
I hope the from the above example it is easy to understand the Problem.
If you are satisfied with the solution please give it a THUMBS UP!!!
Design a system whose output goes high only after 8 consecutive 1's appear on the input;...
Design a system whose output goes high only after 8 consecutive
1's appear on the input; once the output goes high, it takes four
consecutive 0's on the input to make the output go low again. You
will use one switch as the input, and one button as the clock.
On a piece of paper, sketch an FSM diagram that solves the design problem. Make sure your FSM diagram meets the following requirements: - All states are properly specified. Each...
Design a Moore FSM to detect an input sequence of X: 010, the output will be 1. input: 0001010100101.. output: 0000101010010.. a. Draw the state diagram of your design [5 marks] b. Using the binary number as the state assignment, deduce the next state equation of your design. [10 marks] c. Deduce the logic equations of the next state decoder and output decoder with T flop flip as storage elements. [10 marks]
Name: (4) (10 pts) Design a Moore FSM that has one input A and one output Y, and the output Y should be 1 if A has been 101 during the most recent three consecutive clock cycles or A has been 1 during the two most recent consecutive clock cycles. You only need to write down your state transition diagram. (5) (6 pts) Consider the following sequential circuit. Each two-input OR gate has a propagation delay of 130ps and a...
Hi Please show steps with clean handwriting. 2) (10 points) A moore FSM has a single infinitely long binary string r as input and a single output. The output is a logic 1 if there are two consecutive 1s or two consecutive 0s received. For example, input = 0 1 1 0 0 0 1 output = 0 0 1 0 1 1 0 Design the FSM. Use full encoding. Construct a timing diagram for the input sequence shown above....
ANSWER ONLY QUESTION #3!!!!!
2) (10 points) A moore FSM has a single infinitely long binary string r as input and a single output. The output is a logic 1 if the input changes from 0 to 1 or 1 to 0 For example, output is r-00101110 001110001 Design the FSM. Use full encoding. Construct a timing diagram for the input sequence shown above. Be sure and do an implication table check 3) (5 points) Show the schematic of a...
Finite state machine (FSM) counter design: Gray
codes have a useful property in that consecutive numbers differ in
only a single bit position. Table 1 lists a 3-bit modulo 8 Gray
code representing the numbers 0 to 7. Design a 3-bit modulo 8 Gray
code counter FSM.
a) First design and sketch a 3-bit modulo 8 Gray code counter
FSM with no inputs and three outputs, the 3-bit signal
Q2:0. (A modulo N counter counts from 0 to N −...
Write the state input and output equations, the state table, and the state diagram for the following circuit. Include at least one complete solution to each equation used to develop the truth table. K is connected to a logic high (1). Consider both CLK's to be connected to a proper external clock Also consider the PRE and CLR of each flip-flop to be connected to a logic high (1). 1. PRE PRE J Q K Q CLR dlo- CLR
Write...
please answer this question in details
Q3 Design a Moore state machine that operates from its reset state as follows: Output A is low until it receives the sequence 1101 at which time it goes high for 1 clock cycle Output B is low until it receives the sequence 1110 at which time it goes high for 1 clock cycle. The sequences may overlap. . This is to be a single state machine You are only required to provide a...
Q2 (20pts) Design a combinational ct that accepts an input 3-bit binary number (XYZ) and generates an output 4-bit binary number (ABCD) where output equal to the double of the input number. (a) Construct the truth table (b) State each output-bit as a function in sum of minterms (SOM) form: (c) State each output-bit as a function in product of maxterms (POM) form: ΠΜ(.) (d) Optimize the circuit using K-maps and find the simplified functions Show your work full-credit. Q3...
Introduction Sequential logie circuits are circuits whose outputs depend not only on the present value of their input signals but also on the sequence of past inputs, the input history. Most sequential circuits we design are synchronous, or clocked. They use a rising or falling edge of a clock, or a level of an enable signal, to control their state or storage of data. For this project, you are required to design, implement, and test a PWM Generator, as well...