Emin T.

asked • 01/05/23

sequence recognizer

A1) Design a sequence recognizer (Mealy machine) for a sequence of ‘00101’. Look at the following

example.

Input X: 0010 0101 1010 1110 1011 0010 1100 0101 1011 ...

Output Z: 0000 0001 0000 0000 0000 0000 1000 0001 0000 ...

- Draw a state diagram.

- Draw a state table.

- Find input equations and output equations.

- Design a circuit by using D flip-flops.

- Implement the circuit on a Basys3 board.

- The sequence (data) input X should be given by one of the push buttons on the FPGA board.

- Generate a 0.5 Hz clock using a clock divider. Use one LED to show this clock so that you can

synchronize the input to this clock.

- Use two LEDs additionally, one for the data input (X) and the other for the output (Z).

DEBOUNCER

Push buttons have tricky signal behavior that causes inconsistencies in the design. When the push button

is activated, it generates glitches before reaching stable state as shown in Figure 1. Therefore, there is a

need of stabilizer circuit design, in other words ‘debouncer’. A debouncer circuit absorbs glitches and

produces stable signal behavior.

In this lab, you will need to create a debouncer design as given in Figure 1 as an IP block, and insert it

between the push button and the circuit input X.

1 Expert Answer

By:

Arwin A. answered • 01/17/23

Tutor
New to Wyzant

Masters in Electrical and Eltronics Engineering

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.