[Solved] EEC180 Lab3- Finite State Machine (FSM) Design and Implementation

$25

File Name: EEC180_Lab3-_Finite_State_Machine_(FSM)_Design_and_Implementation.zip
File Size: 612.3 KB

SKU: [Solved] EEC180 Lab3- Finite State Machine (FSM) Design and Implementation Category: Tag:
5/5 - (1 vote)

Objective: In this lab you will design a Mealy FSM for the given sequence detector task and use Verilog to implement the sequence detector.

Prelab

Read the lab carefully and draw the state diagram of the FSM.

I. Mealy FSM

Design and implement the following FSM in Verilog :

A Mealy finite state machine has one input X and one output Z. The output Z = 1 occurs when the sequence 101 is observed on the input X, provided that the sequences 000 and 111 did not yet appear on X.

Once the sequence 000 is observed on X, the output Z becomes 0 and remains 0 indefinitely. Also, once the sequence 111 is observed on X, the output Z becomes 1 and remains 1 indefinitely.

II. Testing

  • Write a Verilog testbench for the following two cases, verify the functionality of your design, and demonstrate it to your TA.

III. Lab report

For your lab report, include the following:

  • Mealy machine state diagram.
  • Complete Verilog source code.
  • Simulation waveforms/screenshot of the transcript window from your functional simulation.
  • Statement of contribution of each team member.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] EEC180 Lab3- Finite State Machine (FSM) Design and Implementation
$25