Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We have been learning about State - Machines. For this demonstration problem you will go through the complete design process from design specification to writing

We have been learning about State-Machines. For this demonstration problem you will go through the complete design process from design specification to writing Verilog code. It is possible to test this module using our FPGA. The easiest way to test the FPGA is to use the pushbutton_clk module and use the pushbutton as a clk and sw[0] as X. This will give you time to think about what you want to test.
Task
Design a State Machine that has two inputs (X and RESET), and one output (EDGE). EDGE is asserted if a transition is detected on X. This means EDGE=1 if X is different than it was the last clock tick. RESET is an asynchronous reset signal.
It is possible to test this module on your FPGA. You will need a really slow clock, so I recommend using the pushbutton_clk module that is in the Verilog Sample Files on Moodle.
You are expected to show all pieces of the design process. Design this state machine using a state table, state diagram, or ASM chart. Demonstrate and discuss all the design steps. Provide details about your process.
Use the parameter statement to assign your state variables in your Verilog code.

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

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions