CENG2010 Lab 4: Finite State Machine solved

$30.00

Original Work ?
Category: Tags: , , , , , , You will Instantly receive a download link for .ZIP solution file upon Payment

Description

5/5 - (2 votes)

1. Implement the following Mealy Finite State Machine using VHDL. In the transitions below, for instance, 01/0 denoted that input
RESET=0, input INPUT=1, and output=0. [60 marks]

a. Use switch sw0 as system INPUT
b. Use btnC button as the CLOCK signal to synchronize the whole machine by its rising edges. Since we are not using the
real CLOCK signal on the board, please avoid naming this CLOCK as “CLK” or “CLOCK” in the VHDL codes.

c. Use btnD button to RESET the machine to S0 when pressed.
d. Use led0 to show the system output

e. Turn led5, led6, or led7 on when the system at State S0, S1, or S2 respectively

f. Name the processes similar to the examples in the lecture notes, i.e. SYNC_PROC, OUTPUT_DECODE, and
NEXT_STATE_DECODE
THE END