Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!