Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
How do I solve this on paper? For logisim assignment? I ' m getting it wrong each time. For our first lab assignment, you will
How do I solve this on paper? For logisim assignment? Im getting it wrong each time. For our first lab assignment, you will apply what we have learned so far about finite state machines and sequential logic design using state diagrams and state tables. In this assignment, you will derive the nextstate and output logic of a pattern detector which can detect the pattern in an input bit stream. This input stream is similar to the serial input stream depicted on Page of the "Finite State Machines, Part One" lecture notes; as shown there, the input arrives one bit at a time serially, as opposed to multiple bits in parallel. The input value X represents the most recent bit from the input stream; the resulting output Z should be a if the last digit of a new occurrence of the pattern was found in the stream, and a otherwise. Your design should allow for bit overlaps. For example, if the input stream is then the corresponding output stream should be Hint: For convenience, use the same QQ state coding values seen in previous assignments and in the lecture notes: QQ means S; QQ means S; QQ means S; and QQ means S Note that four states are needed to respectively represent zero, one, two, or three matching digits of the pattern. Arrival in state S then, indicates that a complete occurrence of the pattern was found. Completing This Assignment Begin by deriving a state diagram for this pattern detector logic; next, from this diagram, derive a state table. Your table should include the QQ values for the present state, the input value X the new QQ values for the next statehere called Q and Qand the output value Z Once you have a complete state table, the next step is to design logic circuits for the nextstate values Q and Q as well as the output Z Implement this logic within the corresponding subcircuits in the attached Logisim circuit file. Finally, complete the "test harness" shown in the main circuit by adding your Q Q and Z subcircuits. Note that several components are already provided for you, including a ROM containing example input stream data, a counter in the upperleft to generate the ROM addresses which will produce the input stream data, and a register in the centerleft to hold the current state of the machine. You will also find a stack of output terminals on the right side of the circuit, as well as two splitters, one from the register to provide the currentstate inputs, and another to connect the nextstate values to the output terminals. Note that the nextstate outputs are also connected to the register input so that the new state is saved to the register. Remember that bit of the splitters correspond to the Q and Q signals, and that bit of the splitters correspond to the Q and Q signals. Add your subcircuits into the empty area near the center of the main circuit, and provide the necessary interconnections by adding wires.
How do I solve this on paper? For logisim assignment? Im getting it wrong each time.
For our first lab assignment, you will apply what we have learned so far about finite state machines and sequential logic design using state diagrams and state tables. In this assignment, you will derive the nextstate and output logic of a pattern detector which can detect the pattern in an input bit stream. This input stream is similar to the serial input stream depicted on Page of the "Finite State Machines, Part One" lecture notes; as shown there, the input arrives one bit at a time serially, as opposed to multiple bits in parallel. The input value X represents the most recent bit from the input stream; the resulting output Z should be a if the last digit of a new occurrence of the pattern was found in the stream, and a otherwise. Your design should allow for bit overlaps.
For example, if the input stream is
then the corresponding output stream should be
Hint: For convenience, use the same QQ state coding values seen in previous assignments and in the lecture notes: QQ means S; QQ means S; QQ means S; and QQ means S Note that four states are needed to respectively represent zero, one, two, or three matching digits of the pattern. Arrival in state S then, indicates that a complete occurrence of the pattern was found.
Completing This Assignment
Begin by deriving a state diagram for this pattern detector logic; next, from this diagram, derive a state table. Your table should include the QQ values for the present state, the input value X the new QQ values for the next statehere called Q and Qand the output value Z
Once you have a complete state table, the next step is to design logic circuits for the nextstate values Q and Q as well as the output Z Implement this logic within the corresponding subcircuits in the attached Logisim circuit file.
Finally, complete the "test harness" shown in the main circuit by adding your Q Q and Z subcircuits. Note that several components are already provided for you, including a ROM containing example input stream data, a counter in the upperleft to generate the ROM addresses which will produce the input stream data, and a register in the centerleft to hold the current state of the machine. You will also find a stack of output terminals on the right side of the circuit, as well as two splitters, one from the register to provide the currentstate inputs, and another to connect the nextstate values to the output terminals. Note that the nextstate outputs are also connected to the register input so that the new state is saved to the register. Remember that bit of the splitters correspond to the Q and Q signals, and that bit of the splitters correspond to the Q and Q signals. Add your subcircuits into the empty area near the center of the main circuit, and provide the necessary interconnections by adding wires.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started