Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design Specifications: Design a FSM that has one input bit stream x and one output z , with the following functionality: On startup we look

Design Specifications: Design a FSM that has one input bit stream x and one output z, with the following functionality:
On startup we look at detecting the sequence 000 first and then 000 again (no overlap allowed).
After the leading sequence (000) is detected twice (not necessarily consecutively), without overlap, we ignore subsequent instances of 000's and look to detect the sequence 111 once.
After a sequence 111 is detected once, we ignore subsequent instances of 111's and look again to detect the sequence 000 twice. The process continues alternating between the detection of the 000 sequence twice and then the 111 sequence once.
The timing trace shown below depicts a possible example, using Moore depicting some detections events in order to clarify the prescribed functionality for this FSM.
If possible, provide alternative design solutions stating any trade-offs among them.
Use LogiSim to verify, and demonstrate to the instructor, that your design works as intended.
Design Constraints:
(Note: Every time you connot meet one of the constraints you may lose a few points.)
Try not to use more than 4 Flip-Flops of any type.
Try to minimize the discrete gate count. State what you did in order to minimize the gate count.
The system can be a single FSM or use any number of subsystems (for example one subsystem for each sequence to be detected).
You may use more Flip Flops, if needed, when providing alternative desizn solutions, in such case discuss pros and cons.
Recall that no overlap is allowed when detecting 000 twice.
You can use Moore or Mealy FSMs.
nus Work (6pts over final grade): VHDL Implementation of your design
a) Provide working VHDL code that is thoroughly commented and solve your design problem. Your code should follow the state diagram/diagrams that you originally develop to implement the sequence detector.
b) Use Logisim to test/validate your VHDL design.
c) To get credit provided detailed documentation of your code, demonstrate your work to the instructor and answer any questions regarding your code.
d) Recall that your code should follow the state diagram/diagrams that you originally develop to implement the sequence detector. After this part you may try any other code that produces a working design.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Graph Database Modeling With Neo4j

Authors: Ajit Singh

2nd Edition

B0BDWT2XLR, 979-8351798783

More Books

Students also viewed these Databases questions

Question

Briefly describe the steps involved in the estate planning process.

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago