Answered step by step
Verified Expert Solution
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 StateMachines. 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 pushbuttonclk module and use the pushbutton as a clk and sw 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 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 pushbuttonclk 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started