Question: Using Vivado, write VHDL code for the implementation of a sequence detector in VHDL using push buttons. Four push buttons should be used for entering

Using Vivado, write VHDL code for the implementation of a sequence detector in VHDL using push
buttons. Four push buttons should be used for entering symbols (1,2,3,4). Further, the push
button in the middle should be used for initialisation.
Up to 10 symbols could be entered after pressing the initialisation push button. When the
sequence 43123 is entered, then the LEDs should start flashing. Please note that the right
sequence of symbols need not necessarily be entered immediately after the initialisation push
button is pressed. For example, the sequence 2412343123 should be able to activate the
flashing of the LEDs.
If 10 symbols have been entered but the right sequence of symbols has not appeared yet, then
the system should lock and the LEDs should show the following predefined pattern: on, off, on,
off, on, off, on, off, on, off, on, off.
If the system is locked, the user will need to press the initialisation button in order to be allowed
to start entering new symbols.

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 Programming Questions!