Design specifications for the finite state machine.

Assignment Help Other Engineering
Reference no: EM131433566

Lab Assignment

The objective of this lab is to practice your Verilog coding and the design of a Finite State Machine.

Lab Goal:

For this lab, you will code a Verilog module to implement the FSM described in this document. This lab will also require that you use the Seven-Segment Display on the DE0-CV FPGA board.

Design Specifications for the FSM

Implement the following simple state machine on the DE0-CV FPGA board. This FSM will have 5 states. The clock to this FSM will be provided by yourself using KEY0 (one of the push buttons on the board). It is highly recommended that you use a debounce module (to be covered in class) to ensure that spurious clocks do not occur when using a push-button to emulate a clock.

The transitions from any one state to another are determined by switches 0 through 4 of the board (SW0, SW1, SW2, SW3, and SW4) as shown in the state diagram below. This will be easier than using pushbuttons for the inputs to switch to states. That means you set the switch and then clock using KEY0. It really only matters what the switches are doing when the clocking occurs.

NOTE reiterating this use Switches instead of pushbuttons for input. Use KEY0 for clock.

Any input transition not explicitly referenced in the diagram keeps the machine in the same state. Moreover, if two or more switches are asserted simultaneously, no transition should occur. In other words, the switches are to be treated as one-hot and your design should enforce this provision. The only exception to this is SW0 which acts as the reset and should reset the FSM to S_00 regardless of all other switches or the pushbutton. (note you could use KEY1 pushbutton instead but it isn't clear that would be better).

923_Finite State Machine.jpg

Required use of the 4-digit, 7-segment display

The 7-segment display should be used to indicate which state the FSM is in. For S_01, S_02, S_03, and S_04 the 4-digit display should display exactly that: S_01, S_02, S_03, or S_04. The one exception is that whenever the machine is in S_00, the 4-digit, 7-segment display should display the first four digits of your last name using the table below.

There is an onboard oscillator (50 MHz). Do not use the clock to clock the FSM, use KEY0, the FSM cannot work from the internal clock because you have to change input between clocks. Pin configurations can be found in section 3.4 of the DE0-CV manual. For information on how to use 7-segment display, refer to the section 3.3 in the manual.

141_7-Segment Display.jpg

Required use of LEDs

Whenever any of the switches (SW0, SW1, SW2, SW3, and SW4) are in the ON position, the corresponding LED (LEDR0, LEDR1, LEDR2, LEDR3, and LEDR4) should be ON.

Submission of Completed Lab:

Please upload the following files to the Lab3 Submission link on Blackboard:

• All Verilog source files (including testbech, and submodules)
• Board programming file (lab3.sof file which can be found in output files directory)
• A lab report in PDF format, include following in the report:

o Waveform simulations covering all transitions and proving the full functionality.
o Brief explanations of the design and organization of your code (Code snippets can be helpful in your explanations)
o Brief explanation of the tests you performed in your testbench

• You can use the following test sequence: SW0 - 10000000000000000

SW1 - 00111010010101000
SW2 - 00000000001000010
SW3 - 00000001100000100
SW4 - 00000100000010001.

Verified Expert

This is an assignment about finite state machine. According to given conditions first drawn a state diagram, then generate relation of input and output. then perform program in Verilog language. Here Xilinx 9.2 software is used to perform and also for run the code. Here according to input switch status output is shown by LEDs and also in 7 segment displays. which switch is pressed for input are displays that number in 7 segment display unit.

Reference no: EM131433566

Questions Cloud

Which of his books are considered to be best : Patrick Lencioni is a founder of which company? Which of his books are considered to be best?
What is meant by a frame structure : What is meant by a frame structure and state the two classifications of frames
Effective project risk management factors and techniques : For your risk management assignment, do some of your own research into effective project risk management factors and techniques. Develop a working excel model that puts weights on your selected factors and produces a score that can show what the degr..
English-only rule create lower morale : 1. In a workplace with a diverse workforce, how could an English-only rule create lower morale, poorer communication, and lower productivity. Explain and provide example(s).
Design specifications for the finite state machine. : Design Specifications for the Finite State Machine. You will code a Verilog module to implement the FSM described in this document. This lab will also require that you use the Seven-Segment Display on the DE0-CV FPGA board.
Explain part of the vba program : PAris timezone and the format should be a access database like the one I have sent you. I need the writer to explain part of the VBA program. Tell me if you can do it
Compute the probability of the top event : a. What equation should you use to compute the probability of the top event? b. Using the equation, what numerical value do you get for the top event probability? c. For the top event, what is the probability of the complimentary event (i.e., success..
Competitive forces in porters model for industry analysis : Which of the following is one of the primary competitive forces in Porter's model for industry analysis? The strategic-management process requires. The lower the barriers to entry in an industry, the more attractive that industry is.
What is change management : Select the Write New Message icon to answer the following questions. Make sure you integrate concepts from the course materials, including , with your answer.Include all of your answers in a single post of 150-300 words. Your answers should contai..

Reviews

inf1433566

1/15/2018 4:41:28 AM

Hello, after compiling I get two errors, see attachment please. Thanks. 25499553_1Doc4.docx having error now at a different place! 25499527_1Doc7.docx enum logic [left=00: right=11] (state) do this or assign input logic [left=00: right=11] (state) I am using a software "modelsim intel FPGA STARTER EDITION 10.5b" which can be downloaded free. If the expert on his end can download that and check the code, so if I need a future service that will make me come back. Stunning Expert truly addressed each viewpoint that I requested. Answered to questions and alters in a matter of moments. Will utilize once more.

inf1433566

12/8/2017 4:29:49 AM

I need help with this Lab3, I have attached all the information pertaining to this lab. Karim. 25499539_1Lecture-9 FSM1.pdf 25499539_2Lecture-9 FSM1.pdf 25499521_3LAB3 FSM 2.v Here are the files, the first one is in notepad and should be the template to use, the second is just a Pdf of a lecture guidance and the third is a PDF of the Lab itself. Let me know if it is clear now, thank you. 25499529_1LAB3 FSM 2first.txt 25499529_2Lecture-9 FSM1.pdf 25499544_3EEE 333 lab3 V6.pdf This is just a lecture on the Lab I don't know if you need it or not, thanks. 25499577_1Lecture-Lab3-FSM3.pdf Last four digit of the last name is "MAHA". For the video it is a youtube video that I can do on my end if I get the code imported from models to Quartus and working, thank you. I am guessing if the code is a Verilog code it should work both in xiling and models! enum logic [left=00: right=11] (state) do this or assign input logic [left=00: right=11] (state) I am using a software "models intel FPGA STARTER EDITION 10.5b" which can be downloaded free. If the expert on his end can download that and check the code, so if I need a future service that will make me come back.

Write a Review

Other Engineering Questions & Answers

  Characterization technology for nanomaterials

Calculate the reciprocal lattice of the body-centred cubic and Show that the reciprocal of the face-centred cubic (fcc) structure is itself a bcc structure.

  Calculate the gasoline savings

How much gasoline do vehicles with the following fuel efficiencies consume in one year? Calculate the gasoline savings, in gallons per year, created by the following two options. Show all your work, and draw boxes around your answers.

  Design and modelling of adsorption chromatography

Design and modelling of adsorption chromatography based on isotherm data

  Application of mechatronics engineering

Write an essay on Application of Mechatronics Engineering

  Growth chracteristics of the organism

To examine the relationship between fermenter design and operating conditions, oxygen transfer capability and microbial growth.

  Block diagram, system performance and responses

Questions based on Block Diagram, System Performance and Responses.

  Explain the difference in a technical performance measure

good understanding of Mil-Std-499 and Mil-Std-499A

  Electrode impedances

How did this procedure affect the signal observed from the electrode and the electrode impedances?

  Write a report on environmental companies

Write a report on environmental companies

  Scanning electron microscopy

Prepare a schematic diagram below of the major parts of the SEM

  Design a pumping and piping system

creating the pumping and piping system to supply cool water to the condenser

  A repulsive potential energy should be a positive one

Using the data provided on the webvista site in the file marked vdw.txt, try to develop a mathematical equation for the vdW potential we discussed in class, U(x), that best fits the data

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd